- Sort Score
- Num 10 results
- Language All
Results 11 - 15 of 15 for closeLocked (0.07 seconds)
-
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
stream.connection.shutdown(ErrorCode.NO_ERROR) } else { socket.close() } } is CloseSocket -> { if (effect.shutdownInput) socket.shutdownInput() if (effect.shutdownOutput) socket.shutdownOutput() if (effect.closeSocket) socket.close() } Stall -> { // Sleep until the socket is closed.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 40.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
@Test fun serverShutdownInput() { testServerClosesOutput( MockResponse .Builder() .body("This connection won't pool properly") .onResponseEnd( CloseSocket( closeSocket = false, shutdownInput = true, ), ).build(), ) } @Test fun serverShutdownOutput() { testServerClosesOutput( MockResponse
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 133.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
if (peek().onResponseStart is CloseSocket) { requestFinished.await() } return super.dispatch(request) } } dispatcher.enqueue(MockResponse(body = "seed connection pool")) dispatcher.enqueue(MockResponse.Builder().onResponseStart(CloseSocket()).build()) dispatcher.enqueue(MockResponse(body = "retry success"))
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 146.5K bytes - Click Count (0) -
mockwebserver/api/mockwebserver3.api
public final fun getVersion ()Ljava/lang/String; public fun toString ()Ljava/lang/String; } public abstract interface class mockwebserver3/SocketEffect { } public final class mockwebserver3/SocketEffect$CloseSocket : mockwebserver3/SocketEffect { public fun <init> ()V public fun <init> (ZZZ)V public synthetic fun <init> (ZZZILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun getCloseSocket ()Z
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 11.8K bytes - Click Count (0) -
api/go1.txt
pkg syscall (windows-386), func Close(Handle) error pkg syscall (windows-386), func CloseHandle(Handle) error pkg syscall (windows-386), func CloseOnExec(Handle) pkg syscall (windows-386), func Closesocket(Handle) error pkg syscall (windows-386), func CommandLineToArgv(*uint16, *int32) (*[8192]*[8192]uint16, error) pkg syscall (windows-386), func ComputerName() (string, error)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Click Count (0)