- Sort Score
- Num 10 results
- Language All
Results 11 - 15 of 15 for closeLocked (0.11 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 Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Aug 02 20:36:00 GMT 2025 - 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 Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jun 21 20:36:35 GMT 2025 - 133.2K 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 Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 147.4K 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 Dec 26 11:42:13 GMT 2025 - 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 Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Click Count (0)