- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 1,087 for Socket (0.05 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt
* imposes both obligations and limits on the client application. * * ### The response body must be closed. * * Each response body is backed by a limited resource like a socket (live network responses) or * an open file (for cached responses). Failing to close the response body will leak resources and * may ultimately cause the application to slow down or crash. *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 14:51:25 GMT 2025 - 11.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
val longString = repeat('a', Http2.INITIAL_MAX_FRAME_SIZE + 1) val socket = peer.openSocket() val connection = Http2Connection .Builder(true, TaskRunner.INSTANCE) .socket(socket.asBufferedSocket(), "peer") .pushObserver(IGNORE) .build() connection.start(sendConnectionPreface = false) socket.shutdownOutput() assertFailsWith<IOException> {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 75.5K bytes - Click Count (0) -
docs/smb3-features/03-multi-channel-design.md
import java.util.List; public class NetworkInterfaceInfo { private int interfaceIndex; private int capability; private int linkSpeed; // In units of 1 Mbps private byte[] sockaddrStorage; // Socket address private InetAddress address; private boolean ipv6; private boolean rssCapable; // Receive Side Scaling private boolean rdmaCapable; // Capability flagsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 39.6K bytes - Click Count (0) -
okhttp/api/android/okhttp.api
public abstract interface class okhttp3/Connection { public abstract fun handshake ()Lokhttp3/Handshake; public abstract fun protocol ()Lokhttp3/Protocol; public abstract fun route ()Lokhttp3/Route; public abstract fun socket ()Ljava/net/Socket; } public final class okhttp3/ConnectionPool { public fun <init> ()V public fun <init> (IJLjava/util/concurrent/TimeUnit;)V public final fun connectionCount ()I public final fun evictAll ()VCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 17 10:02:58 GMT 2021 - 18.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
measureTime { val exception = assertFailsWith<IOException> { response.trailers() } assertThat(exception.message).isIn( "Socket closed", // HTTP/1.1 "stream was reset: CANCEL", // HTTP/2 ) } assertThat(trailersDelay).isGreaterThan(250.milliseconds) assertThat(trailersDelay).isLessThan(750.milliseconds)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 18.8K bytes - Click Count (0) -
src/main/java/jcifs/SmbConstants.java
*/ int DEFAULT_MAX_MPX_COUNT = 10; /** * Default timeout in milliseconds for SMB responses. */ int DEFAULT_RESPONSE_TIMEOUT = 30000; /** * Default socket timeout in milliseconds. */ int DEFAULT_SO_TIMEOUT = 35000; /** * Default receive buffer size for SMB transport. */ int DEFAULT_RCV_BUF_SIZE = 0xFFFF; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 12.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
* exception by calling [HttpUrl.parse]; it returns null for invalid URLs. */ open fun url(url: String): Builder = url(canonicalUrl(url).toHttpUrl()) // Silently replace web socket URLs with HTTP URLs. private fun canonicalUrl(url: String) = when { url.startsWith("ws:", ignoreCase = true) -> "http:${url.substring(3)}"
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 14.7K bytes - Click Count (1) -
src/main/java/jcifs/smb1/Config.java
* the <a href="../overview-summary.html#scp">overview page of the API * documentation</a> for details. */ public class Config { /** * Counter for tracking socket connections. */ public static int socketCount = 0; /** * The static <code>Properties</code>. */ private static Properties prp = new Properties(); private static LogStream log;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt
import okio.BufferedSource import okio.Sink import okio.Socket import okio.Source import okio.Timeout /** A logical bidirectional stream. */ @Suppress("NAME_SHADOWING") class Http2Stream internal constructor( val id: Int, val connection: Http2Connection, outFinished: Boolean, inFinished: Boolean, headers: Headers?, ) : Lockable, Socket {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 07 18:57:05 GMT 2025 - 22.4K bytes - Click Count (0)