- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for Channel (0.04 sec)
-
src/main/java/org/codelibs/core/nio/ChannelUtil.java
assertArgumentNotNull("channel", channel); try { return channel.size(); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Reads the contents of the file channel into a byte buffer. * * @param channel * The file channel. Must not be {@literal null}. * @param buffer
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt
listOf(Channel, Standard).flatMap { socketMode -> listOf(DISABLED, STANDARD).map { tlsExtensionMode -> TlsInstance(provider, protocol, tlsVersion, socketMode, tlsExtensionMode) } } } } } + Channel + Standard } } sealed class SocketMode object Channel : SocketMode() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 8K bytes - Viewed (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java
private final File path; private InetSocketAddress inetSocketAddress; TunnelingUnixSocket(File path, UnixSocketChannel channel) { super(channel); this.path = path; } TunnelingUnixSocket(File path, UnixSocketChannel channel, InetSocketAddress address) { this(path, channel); this.inetSocketAddress = address; } @Override public void connect(SocketAddress endpoint) throws IOException {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Feb 12 16:33:52 UTC 2019 - 1.9K bytes - Viewed (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainSocketFactory.java
public UnixDomainSocketFactory(File path) { this.path = path; } @Override public Socket createSocket() throws IOException { UnixSocketChannel channel = UnixSocketChannel.open(); return new TunnelingUnixSocket(path, channel); } @Override public Socket createSocket(String host, int port) throws IOException { Socket result = createSocket(); try {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Dec 03 21:33:52 UTC 2023 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 8.8K bytes - Viewed (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java
return endpoint; } @Override public Socket accept() throws IOException { try { UnixSocketChannel channel = serverSocketChannel.accept(); return new TunnelingUnixSocket(path, channel, endpoint); } catch (ClosedChannelException e) { SocketException exception = new SocketException(); exception.initCause(e); throw exception; }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Feb 12 16:33:52 UTC 2019 - 3.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/FileOperator.kt
import java.io.IOException import java.nio.channels.FileChannel import okio.Buffer /** * Read and write a target file. Unlike Okio's built-in `Okio.source(java.io.File file)` and `Okio.sink(java.io.File file)` * this class offers: * * * **Read/write:** read and write using the same operator. * * **Random access:** access any position within the file. * * **Shared channels:** read and write a file channel that's shared between
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSink.java
* typically implemented by opening a stream using one of the methods in the first category, * doing something and finally closing the stream or channel that was opened. * </ul> * * @since 14.0 * @author Colin Decker */ @J2ktIncompatible @GwtIncompatible public abstract class ByteSink { /** Constructor for use by subclasses. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 4.9K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteSink.java
* typically implemented by opening a stream using one of the methods in the first category, * doing something and finally closing the stream or channel that was opened. * </ul> * * @since 14.0 * @author Colin Decker */ @J2ktIncompatible @GwtIncompatible public abstract class ByteSink { /** Constructor for use by subclasses. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 4.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt
@Throws(IOException::class) override fun sendUrgentData(value: Int) { delegate!!.sendUrgentData(value) } override fun getChannel(): SocketChannel = delegate!!.channel override fun getHandshakeSession(): SSLSession = delegate!!.handshakeSession override fun getApplicationProtocol(): String = delegate!!.applicationProtocol
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.4K bytes - Viewed (0)