/openjdk10/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/ |
H A D | CloseTest.java | 37 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 D | Port.java | 28 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 D | LotsOfCancels.java | 26 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 D | RacyDeregister.java | 30 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 D | InheritedChannelNotServerSocket.java | 45 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 D | AudioFloatFormatConverter.java | 514 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 D | WaveFloatFileReader.java | 57 int channels = 1; 72 channels = chunk.readUnsignedShort(); 88 Encoding.PCM_FLOAT, samplerate, bits, channels,
|
H A D | AuFileReader.java | 67 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 D | Identity.java | 31 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 D | DatagramChannel.java | 26 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 D | SocketChannel.java | 26 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> 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 D | AsynchronousByteChannel.java | 26 package java.nio.channels; 34 * <p> Some channels may not allow more than one read or write to be outstanding
|
H A D | MulticastChannel.java | 26 package java.nio.channels; 49 * For channels to an {@link StandardProtocolFamily#INET6 IPv6} socket, the equivalent
|
H A D | NetworkChannel.java | 26 package java.nio.channels;
|
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/oracle/webservices/internal/api/message/ |
H A D | MessageContext.java | 31 import java.nio.channels.WritableByteChannel;
|
/openjdk10/jdk/src/jdk.httpserver/share/classes/com/sun/net/httpserver/ |
H A D | HttpsConfigurator.java | 32 import java.nio.channels.*;
|
H A D | HttpsServer.java | 32 import java.nio.channels.*;
|
/openjdk10/jdk/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/internal/websocket/ |
H A D | RawChannel.java | 31 import java.nio.channels.ClosedChannelException;
|
/openjdk10/jdk/test/java/nio/channels/FileChannel/ |
H A D | ReadFull.java | 30 import java.nio.channels.*;
|
H A D | MapReadOnly.java | 31 import java.nio.channels.*;
|
/openjdk10/jdk/test/java/nio/channels/SocketChannel/ |
H A D | Stream.java | 32 import java.nio.channels.*;
|
H A D | ExceptionTranslation.java | 32 import java.nio.channels.*;
|
/openjdk10/jdk/test/java/nio/channels/DatagramChannel/ |
H A D | SendToUnresolved.java | 33 import java.nio.channels.*;
|
/openjdk10/jdk/test/java/nio/channels/Channels/ |
H A D | TinyBuffers.java | 32 import java.nio.channels.*;
|
H A D | Write.java | 31 import java.nio.channels.*;
|