- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 935 for closer (0.61 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt
@RegisterExtension val clientTestRule = OkHttpClientTestRule() private var client = clientTestRule.newClient() @AfterEach internal fun tearDown() { factory.close() } @Test fun nonRetryableIOException() { val exception = IOException("Non-handshake exception") assertThat(retryTlsHandshake(exception)).isFalse() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/WinError.java
int ERROR_REQ_NOT_ACCEP = 71; /** The pipe state is invalid */ int ERROR_BAD_PIPE = 230; /** All pipe instances are busy */ int ERROR_PIPE_BUSY = 231; /** The pipe is being closed */ int ERROR_NO_DATA = 232; /** No process is on the other end of the pipe */ int ERROR_PIPE_NOT_CONNECTED = 233; /** More data is available */ int ERROR_MORE_DATA = 234;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/WinError.java
int ERROR_REQ_NOT_ACCEP = 71; /** The pipe state is invalid */ int ERROR_BAD_PIPE = 230; /** All pipe instances are busy */ int ERROR_PIPE_BUSY = 231; /** The pipe is being closed */ int ERROR_NO_DATA = 232; /** No process is on the other end of the pipe */ int ERROR_PIPE_NOT_CONNECTED = 233; /** More data is available */ int ERROR_MORE_DATA = 234;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/SmbTreeHandle.java
* @return the active configuration */ Configuration getConfig(); /** * {@inheritDoc} * * @see java.lang.AutoCloseable#close() */ @Override void close() throws CIFSException; /** * Checks whether the tree is currently connected * @return the tree is connected */ boolean isConnected(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestByteSource.java
private final class In extends TestInputStream { In() throws IOException { super(new ByteArrayInputStream(bytes), options); } @Override public void close() throws IOException { inputStreamClosed = true; super.close(); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/TestByteSource.java
private final class In extends TestInputStream { In() throws IOException { super(new ByteArrayInputStream(bytes), options); } @Override public void close() throws IOException { inputStreamClosed = true; super.close(); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
@DisplayName("disconnect throws IOException when underlying close fails") void disconnect_throwsIOException() throws Exception { doThrow(new java.io.IOException("close error")).when(transport).disconnect(true, true); java.io.IOException ex = assertThrows(java.io.IOException.class, () -> transport.disconnect(true, true)); assertTrue(ex.getMessage().contains("close")); verify(transport).disconnect(true, true); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
} } assertEquals(TlsVersion.TLS_1_3, response.handshake?.tlsVersion) } } finally { Security.removeProvider("Conscrypt") client.close() } } @Test fun testConscryptRequestLocalhostInsecure() { try { Security.insertProviderAt(Conscrypt.newProviderBuilder().build(), 1) val clientCertificates =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 14:12:28 UTC 2025 - 29K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt
fun shutdown() { delegate.close() } @Synchronized override fun after() { try { shutdown() } catch (e: IOException) { logger.log(Level.WARNING, "MockWebServer shutdown failed", e) } } override fun toString(): String = delegate.toString() @Throws(IOException::class) override fun close() = delegate.close() companion object {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 00:19:42 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
when(creds.clone()).thenReturn(creds); assertEquals(0, transport.getNumSessions()); // Act: create new session (happy path) SmbSessionImpl s1 = transport.getSmbSession(ctx); assertNotNull(s1); assertEquals(1, transport.getNumSessions()); s1.close(); // Act: request again with same context -> reuse existing
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0)