- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 671 for lose (0.01 sec)
-
src/test/java/jcifs/SmbTransportTest.java
} @Test void testClose() throws Exception { // Act smbTransport.close(); // Assert verify(smbTransport).close(); // Verify that the close method was called } @Test void testGetRemoteAddress() { // Arrange when(smbTransport.getRemoteAddress()).thenReturn(remoteAddress);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java
} public interface Listener { void sessionGranted(OAuthSession session); } @Override public void close() { if (mockWebServer == null) throw new IllegalStateException(); try { mockWebServer.close(); } catch (IOException ignored) { } }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 3.8K bytes - Viewed (1) -
android/guava/src/com/google/common/io/AppendableWriter.java
checkNotClosed(); if (target instanceof Flushable) { ((Flushable) target).flush(); } } @Override public void close() throws IOException { this.closed = true; if (target instanceof Closeable) { ((Closeable) target).close(); } } @Override public Writer append(char c) throws IOException { checkNotClosed(); target.append(c); return this;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
when(pooledSpy.disconnect(false, false)).thenReturn(true); // In use when(nonPooledSpy.disconnect(false, false)).thenReturn(false); // Not in use // When: Close the pool boolean inUse = pool.close(); // Then: Should report in-use and call disconnect on all assertTrue(inUse, "Should report connections in use"); verify(pooledSpy).disconnect(false, false);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
// we find them, regardless of what the address policies need. // // 2. EVICTABLE: Connections not required by any address policy. This matches connections that // don't participate in any policy, plus connections whose policies won't be violated if the // connection is closed. We only close these if the idle connection limit is exceeded. //Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
} finally { super.finalize(); } } /** * {@inheritDoc} * * @see java.lang.AutoCloseable#close() */ @Override public void close() { release(); } /** * */ public void release() { long usage = this.usageCount.decrementAndGet();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt
* part is particularly large or if the underlying source is particularly slow, the [nextPart] call * may be slow! * * Closing a part **does not** close this multipart reader; callers must explicitly close this with * [close]. * * [rfc_2046]: http://www.ietf.org/rfc/rfc2046.txt */ class MultipartReader @Throws(IOException::class) constructor( private val source: BufferedSource,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/sql/StatementUtil.java
} /** * Closes the {@link Statement}. * <p> * If {@link Statement#close()} throws an exception, an error message is logged. The exception is not rethrown. * </p> * * @param statement * {@link Statement} * @see Statement#close() */ public static void close(final Statement statement) { if (statement == null) { return; }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0)