- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 1,027 for Closer (0.05 sec)
-
docs/smb3-features/05-rdma-smb-direct-design.md
RdmaMemoryRegion region; while ((region = availableSendRegions.poll()) != null) { region.close(); totalReleased.incrementAndGet(); } while ((region = availableReceiveRegions.poll()) != null) { region.close(); totalReleased.incrementAndGet(); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
assertNull(result); updater.close(); } public void test_ProtwordsUpdater_fileCreationException() { // This test verifies that ProtwordsUpdater constructor properly handles exceptions // The actual exception handling is tested by ensuring the updater can be created // and properly closed even when errors might occur protwordsFile.reload(null);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
* response body is empty this is invoked immediately before returning that to the application. * * If the application closes the response body before attempting a read, this is invoked at the * time it is closed. * * The connection is implicit, and will generally relate to the last [connectionAcquired] event. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
class ResourceManagementTests { @Test @DisplayName("close operation should work correctly") void testClose() { // When/Then assertDoesNotThrow(() -> mockResource.close(), "Close operation should not throw exception"); verify(mockResource).close(); } @Test @DisplayName("resource should be AutoCloseable")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
} /** * {@inheritDoc} * * @see jcifs.SmbTransportPool#close() */ @Override public boolean close() throws CIFSException { boolean inUse = false; // Cleanup first cleanup(); log.debug("Closing pool"); // Create a snapshot of connections to close List<SmbTransportImpl> toClose = new ArrayList<>(this.connections);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
for (i in 0..9) { sink.writeByte(0) sink.flush() sleep(100) } fail("Expected connection to be closed") } }, ).build(), ) interruptLater(500) assertFailsWith<IOException> { call.execute() } } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java
this.b = b; this.off = off; dataLength = len; digest = null; /* otherwise recycled commands * like writeandx will choke if session * closes in between */ } @Override int getBatchLimit(final byte command) { if (command == SMB_COM_READ_ANDX) { return READ_ANDX_BATCH_LIMIT; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
@Test @DisplayName("Should wipe key on close") void testCloseWipesKey() throws Exception { byte[] sessionKey = new byte[16]; Arrays.fill(sessionKey, (byte) 0xBB); Smb2SigningDigest digest = new Smb2SigningDigest(sessionKey, Smb2Constants.SMB2_DIALECT_0202, null); // Close the digest digest.close(); // Verify operations fail after close
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
docs/features/interceptors.md
critical part of each interceptor’s implementation. This simple-looking method is where all the HTTP work happens, producing a response to satisfy the request. If `chain.proceed(request)` is being called more than once previous response bodies must be closed. Interceptors can be chained. Suppose you have both a compressing interceptor and a checksumming interceptor: you'll need to decide whether data is compressed and then checksummed, or checksummed and then compressed. OkHttp uses lists to...
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
} } /** * Close the tree connection (implements AutoCloseable) * * This method provides a standard way to close resources using try-with-resources. * It delegates to the release() method to properly clean up the connection. */ @Override public void close() { if (log.isDebugEnabled()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1)