- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 188 for closing (0.2 sec)
-
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java
throw new IOException("TCP RDMA write failed", e); } } @Override public void close() throws IOException { state = RdmaConnectionState.CLOSING; try { if (socketChannel != null) { socketChannel.close(); } } finally { state = RdmaConnectionState.CLOSED; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
assertTrue(s.contains(",flags=0x00"), "toString should include flags in hex"); assertTrue(s.endsWith("]"), "toString should end with closing bracket"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
MsrpcSamrCloseHandle capturedRpc = closeHandleCaptor.getValue(); assertNotNull(capturedRpc); assertEquals(handle, capturedRpc.handle); // Ensure the handle itself is passed for closing } @Test void close_shouldDoNothingIfAlreadyClosed() throws IOException { // Arrange int access = 0x01; // Simulate successful open doAnswer(invocation -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 31.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
assertFalse(auth.isClosed()); // Close the authenticator auth.close(); // Verify it's closed assertTrue(auth.isClosed()); // Cannot check password after closing as it now throws IllegalStateException // This is actually good security practice - closed authenticators cannot be accessed // Verify multiple closes don't cause issues
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
final SmbTreeHandleImpl t = this.tree; try { if (t != null && isValid()) { if (log.isDebugEnabled()) { log.debug("Closing file handle " + this); } if (t.isSMB2()) { final Smb2CloseRequest req = new Smb2CloseRequest(this.cfg, this.fileId);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.4K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java
/** Connection is fully established and ready for RDMA operations */ ESTABLISHED, /** Connection encountered an error */ ERROR, /** Connection is being closed */ CLOSING, /** Connection is closed */ CLOSED } /** Remote endpoint address */ protected final InetSocketAddress remoteAddress; /** Local endpoint address */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
} @Test @DisplayName("read after close throws 'Bad file descriptor'") void readAfterCloseThrows() throws Exception { SmbFileInputStream in = newStream(); // closing should null tmp; subsequent readDirect should fail in.close(); IOException ex = assertThrows(IOException.class, () -> in.readDirect(new byte[8], 0, 4));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt
* * Note that [nextPart] will skip any unprocessed data from the preceding part. If the preceding * 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)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
// Consume the only element assertTrue(it.hasNext()); assertSame(fe1, it.next()); // After exception path, iterator should be exhausted assertFalse(it.hasNext()); // Closing should send a single Smb2CloseRequest it.close(); verify(tree).send(argThat((Request<?> r) -> r instanceof Smb2CloseRequest)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0)