- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 893 for lose (0.02 sec)
-
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
} @Test @DisplayName("Should handle close operation") void testClose() throws IOException { // When: Closing handle handle.close(); // Then: Should complete without errors assertDoesNotThrow(() -> handle.close()); } @Test @DisplayName("Should return string representation")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocketListener.kt
code: Int, reason: String, ) { } /** * Invoked when a web socket has been closed due to an error reading from or writing to the * network. Both outgoing and incoming messages may have been lost. No further calls to this * listener will be made. */ open fun onFailure( webSocket: WebSocket, t: Throwable, response: Response?, ) { }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2K bytes - Viewed (0) -
misc/go_android_exec/main.go
args += "; echo -n " + exitStr + "$?" cmd := adbCmd("exec-out", args) cmd.Stdout = filter // If the adb subprocess somehow hangs, go test will kill this wrapper // and wait for our os.Stderr (and os.Stdout) to close as a result. // However, if the os.Stderr (or os.Stdout) file descriptors are // passed on, the hanging adb subprocess will hold them open and // go test will hang forever. //
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
* with it. * * @throws IOException * if a network error occurs */ @Override public void close() throws IOException { try { if (this.handle.isValid()) { this.handle.close(); } } finally { this.file.clearAttributeCache(); this.tmp = null; } } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
src/archive/zip/fuzz_test.go
t.Fatalf("unable to write previously parsed header: %s", err) } if _, err := ww.Write(f.content); err != nil { t.Fatalf("unable to write previously parsed content: %s", err) } } if err := w.Close(); err != nil { t.Fatalf("Unable to write archive: %s", err) } // TODO: We may want to check if the archive roundtrips. })
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportTest.java
assertThrows(RuntimeCIFSException.class, transport::release); } @Test @DisplayName("close should call release") void shouldCallReleaseOnClose() { long initialUsage = transport.getUsageCount(); transport.close(); assertEquals(initialUsage - 1, transport.getUsageCount()); } } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/Traverser.java
* </p> * * @param handler the handler to process resources */ void forEach(ResourceHandler handler); /** * Performs post-processing of resources. */ void close();
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.1K bytes - Viewed (0) -
android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt
println("failed: $e") } override fun onResponse( call: Call, response: Response, ) { println("response: ${response.code}") response.close() } }, ) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Aug 19 08:10:39 UTC 2025 - 1.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/UnreadableResponseBody.kt
| * WebSocketListener |(It is safe to call contentType() and contentLength() on these response bodies.) """.trimMargin(), ) override fun timeout() = Timeout.NONE override fun close() { } } fun Response.stripBody(): Response = newBuilder() .body(UnreadableResponseBody(body.contentType(), body.contentLength()))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 15:19:53 UTC 2025 - 1.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt
.assertSuccessful() .assertCode(200) println("server1.requestCount ${server1.requestCount}") assertThat(server1.requestCount).isEqualTo(1) // Close the proxy server if (cleanClose) { server1.close() } // Now redirect with DNS to proxyServer2 // Then redirect socket connection to server2 dns["myproxy"] = listOf(proxyServer2)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 11.7K bytes - Viewed (0)