- Sort Score
- Result 10 results
- Languages All
Results 621 - 630 of 1,063 for closed (0.04 sec)
-
docs/auditlog/auditlog-echo.go
) var port int func init() { flag.IntVar(&port, "port", 8080, "Port to listen on") } func mainHandler(w http.ResponseWriter, r *http.Request) { body, err := io.ReadAll(r.Body) defer r.Body.Close() if err != nil { log.Printf("Error reading request body: %v", err) w.WriteHeader(http.StatusBadRequest) return } log.Printf(">>> %s %s\n", r.Method, r.URL.Path) var out bytes.Buffer
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed May 01 21:31:13 UTC 2024 - 1.5K 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) -
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/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) -
src/test/java/org/codelibs/fess/suggest/normalizer/DefaultNormalizerTest.java
runner.ensureYellow(); suggester = Suggester.builder().build(runner.client(), "SuggesterTest"); } @AfterClass public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Test public void test_normalize() throws Exception { Normalizer normalizer = SuggestUtil.createDefaultNormalizer(runner.client(), suggester.settings());
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 2.4K 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) -
interfaces.go
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sat Aug 19 13:33:31 UTC 2023 - 2.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt
dns = fakeDns } @BeforeEach fun setup() { Authenticator.setDefault(recordingAuthenticator) } @AfterEach fun tearDown() { Authenticator.setDefault(null) factory.close() } @Test fun testBasicAuth() { fakeDns["server"] = listOf(InetAddress.getLocalHost()) val route = factory.newRoute() val request = Request .Builder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
assertThrows(IOException.class, () -> sis.read()); } @Test @DisplayName("Close delegates to underlying stream") void closeDelegatesToUnderlyingStream(@Mock InputStream mockIn) throws IOException { SocketInputStream sis = new SocketInputStream(mockIn); sis.close(); verify(mockIn).close(); } @Test @DisplayName("Read array delegates to read with offset and length")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0)