- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 115 for CLOSING (0.07 sec)
-
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/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/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/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
String str = response.toString(); // Should start with the class name assertTrue(str.startsWith("Trans2SetFileInformationResponse[")); // Should end with closing bracket assertTrue(str.endsWith("]")); // Should contain parent toString content // Note: The parent toString might include various fields assertNotNull(str);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Apr 22 22:13:51 UTC 2025 - 12.1K 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) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
val connectionPool = it.connectionPool connectionPool.evictAll() if (connectionPool.connectionCount() > 0) { // Minimise test flakiness due to possible race conditions with connections closing. // Some number of tests will report here, but not fail due to this delay. println("Delaying to avoid flakes") Thread.sleep(500L) println("After delay: " + connectionPool.connectionCount())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java
throw new IOException("DiSNI RDMA write failed", e); } } @Override public void close() throws IOException { state = RdmaConnectionState.CLOSING; try { // In real implementation, this would close the DiSNI endpoint: // if (endpoint != null) { // endpoint.close(); // } } finally {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 10.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) -
docs/contribute/concurrency.md
The connection lock is never held while doing I/O (even closing a socket) to prevent contention.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 7K bytes - Viewed (0)