Searched refs:channels (Results 101 - 125 of 590) sorted by relevance

1234567891011>>

/openjdk10/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/
H A DCloseTest.java37 import java.nio.channels.SelectionKey;
38 import java.nio.channels.Selector;
39 import java.nio.channels.SocketChannel;
/openjdk10/jdk/src/java.base/unix/classes/sun/nio/ch/
H A DPort.java28 import java.nio.channels.spi.AsynchronousChannelProvider;
29 import java.nio.channels.*;
146 * Close channels in batches of up to 128 channels. This allows close
150 PollableChannel channels[] = new PollableChannel[MAX_BATCH_SIZE];
153 // grab a batch of up to 128 channels
158 channels[count++] = fdToChannel.get(fd);
169 channels[i].close();
/openjdk10/jdk/test/java/nio/channels/Selector/
H A DLotsOfCancels.java26 import java.nio.channels.SelectionKey;
27 import java.nio.channels.Selector;
28 import java.nio.channels.ServerSocketChannel;
29 import java.nio.channels.SocketChannel;
165 List<SocketChannel> channels = new ArrayList<SocketChannel>();
166 while (channels.size() < expected) {
184 channels.add(channel);
187 for (SocketChannel channel : channels) {
190 return channels;
193 static void closeAll(List<SocketChannel> channels) argument
[all...]
H A DRacyDeregister.java30 import java.nio.channels.SelectionKey;
31 import java.nio.channels.Selector;
32 import java.nio.channels.ServerSocketChannel;
33 import java.nio.channels.SocketChannel;
/openjdk10/jdk/test/java/rmi/activation/rmidViaInheritedChannel/
H A DInheritedChannelNotServerSocket.java45 import java.nio.channels.Channel;
46 import java.nio.channels.DatagramChannel;
47 import java.nio.channels.Pipe;
48 import java.nio.channels.ServerSocketChannel;
49 import java.nio.channels.SocketChannel;
50 import java.nio.channels.spi.AbstractSelector;
51 import java.nio.channels.spi.SelectorProvider;
109 "-Djava.nio.channels.spi.SelectorProvider=InheritedChannelNotServerSocket$SP",
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/media/sound/
H A DAudioFloatFormatConverter.java514 int channels = format.getChannels();
522 channels, channels * bits / 8, samplerate, bigendian);
582 int channels = sourceFormat.getChannels();
588 AudioSystem.NOT_SPECIFIED, 8, channels, channels,
592 AudioSystem.NOT_SPECIFIED, 8, channels, channels,
598 AudioSystem.NOT_SPECIFIED, bits, channels, channels
[all...]
H A DWaveFloatFileReader.java57 int channels = 1;
72 channels = chunk.readUnsignedShort();
88 Encoding.PCM_FLOAT, samplerate, bits, channels,
H A DAuFileReader.java67 final int channels = dis.readInt();
68 if (channels <= 0) {
69 throw new UnsupportedAudioFileException("Invalid number of channels");
134 // Even if the sampleSizeInBits and channels are supported we can get an
136 final int frameSize = calculatePCMFrameSize(sampleSizeInBits, channels);
150 sampleSizeInBits, channels,
/openjdk10/jdk/test/java/nio/channels/AsynchronousChannelGroup/
H A DIdentity.java31 import java.nio.channels.*;
79 // create 3-10 channels, each in its own group
82 final AsynchronousSocketChannel[] channels = new AsynchronousSocketChannel[groupCount];
128 channels[i] = ch;
134 channels[0].write(getBuffer(), 0, new CompletionHandler<Integer,Integer>() {
142 channels[id].write(getBuffer(), id, this);
156 for (AsynchronousSocketChannel ch: channels)
/openjdk10/jdk/src/java.base/share/classes/java/nio/channels/
H A DDatagramChannel.java26 package java.nio.channels;
34 import java.nio.channels.spi.AbstractSelectableChannel;
35 import java.nio.channels.spi.SelectorProvider;
109 * <p> Datagram channels are safe for use by multiple concurrent threads. They
137 * java.nio.channels.spi.SelectorProvider#openDatagramChannel()
139 * java.nio.channels.spi.SelectorProvider} object. The channel will not be
146 * datagram channels that are intended for Internet Protocol multicasting.
166 * java.nio.channels.spi.SelectorProvider#openDatagramChannel(ProtocolFamily)
168 * java.nio.channels.spi.SelectorProvider} object. The channel will not be
194 * <p> Datagram channels suppor
[all...]
H A DSocketChannel.java26 package java.nio.channels;
33 import java.nio.channels.spi.AbstractSelectableChannel;
34 import java.nio.channels.spi.SelectorProvider;
49 * <p> Socket channels support <i>non-blocking connection:</i>&nbsp;A socket
56 * <p> Socket channels support <i>asynchronous shutdown,</i> which is similar
67 * setOption} method. Socket channels support the following options:
108 * <p> Socket channels are safe for use by multiple concurrent threads. They
140 * java.nio.channels.spi.SelectorProvider#openSocketChannel
142 * java.nio.channels.spi.SelectorProvider} object. </p>
211 * <p> Socket channels suppor
[all...]
H A DAsynchronousByteChannel.java26 package java.nio.channels;
34 * <p> Some channels may not allow more than one read or write to be outstanding
H A DMulticastChannel.java26 package java.nio.channels;
49 * For channels to an {@link StandardProtocolFamily#INET6 IPv6} socket, the equivalent
H A DNetworkChannel.java26 package java.nio.channels;
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/oracle/webservices/internal/api/message/
H A DMessageContext.java31 import java.nio.channels.WritableByteChannel;
/openjdk10/jdk/src/jdk.httpserver/share/classes/com/sun/net/httpserver/
H A DHttpsConfigurator.java32 import java.nio.channels.*;
H A DHttpsServer.java32 import java.nio.channels.*;
/openjdk10/jdk/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/internal/websocket/
H A DRawChannel.java31 import java.nio.channels.ClosedChannelException;
/openjdk10/jdk/test/java/nio/channels/FileChannel/
H A DReadFull.java30 import java.nio.channels.*;
H A DMapReadOnly.java31 import java.nio.channels.*;
/openjdk10/jdk/test/java/nio/channels/SocketChannel/
H A DStream.java32 import java.nio.channels.*;
H A DExceptionTranslation.java32 import java.nio.channels.*;
/openjdk10/jdk/test/java/nio/channels/DatagramChannel/
H A DSendToUnresolved.java33 import java.nio.channels.*;
/openjdk10/jdk/test/java/nio/channels/Channels/
H A DTinyBuffers.java32 import java.nio.channels.*;
H A DWrite.java31 import java.nio.channels.*;

Completed in 208 milliseconds

1234567891011>>