- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 342 for unclosed (0.06 sec)
-
src/main/java/jcifs/SmbWatchHandle.java
/** * Get the next set of changes * * Will block until the server returns a set of changes that match the given filter. The file will be automatically * opened if it is not and should be closed with {@link #close()} when no longer * needed. * * Closing the context should cancel a pending notify request, but that does not seem to work reliable in all * implementations. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
cache = DiskLruCache(filesystem, cacheDir, appVersion, 2, Int.MAX_VALUE.toLong(), taskRunner).also { toClose.add(it) } assertThat(cache.isClosed()).isFalse() cache.close() assertThat(cache.isClosed()).isTrue() } @ParameterizedTest @ArgumentsSource(FileSystemParamProvider::class) fun journalWriteFailsDuringEdit(parameters: Pair<FileSystem, Boolean>) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 75.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt
fun isHealthy(doExtensiveChecks: Boolean): Boolean { assertLockNotHeld() val nowNs = System.nanoTime() if (rawSocket.isClosed || javaNetSocket.isClosed || javaNetSocket.isInputShutdown || javaNetSocket.isOutputShutdown ) { return false } val http2Connection = this.http2Connection
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
final boolean timeout = ex instanceof SocketTimeoutException || msg != null && msg.equals("Read timed out"); final boolean closed = msg != null && msg.equals("Socket closed"); if (closed) { log.trace("Remote closed connection"); } else if (timeout) { log.debug("socket timeout in non peek state", ex); } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0) -
tests/prepared_stmt_test.go
return err.Error() == "sql: statement is closed" } // TestPreparedStmtConcurrentClose test calling close and executing SQL concurrently // this test making sure that the gorm would not get a Segmentation Fault, and the only error cause by this is using a closed Stmt func TestPreparedStmtConcurrentClose(t *testing.T) { name := "prepared_stmt_concurrent_close"
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
// When outputStream = new SmbFileOutputStream(mockFile); // Then assertNotNull(outputStream); // Verify the AutoCloseable resources were closed verify(autoCloseableMockTreeHandle).close(); verify(autoCloseableMockFileHandle).close(); } @Test void testConstructorWithAppendFlag() throws IOException, CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java
* Named pipe status indicating the connection is established and operational. */ public static final int STATUS_CONNECTION_OK = 3; /** * Named pipe status indicating the server end of the pipe is closed. */ public static final int STATUS_SERVER_END_CLOSED = 4; private int available; /** * Constructs a TransPeekNamedPipeResponse with the specified configuration. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SocketInputStream.java
public synchronized int read(final byte[] b) throws IOException { return read(b, 0, b.length); } /* This method will not return until len bytes have been read * or the stream has been closed. */ @Override public synchronized int read(final byte[] b, int off, int len) throws IOException { if (len == 0) { return 0; } int tot = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
* * ```java * client.connectionPool().evictAll(); * ``` * * If your client has a cache, call [close()][Cache.close]. Note that it is an error to create calls * against a cache that is closed, and doing so will cause the call to crash. * * ```java * client.cache().close(); * ``` * * OkHttp also uses daemon threads for HTTP/2 connections. These will exit automatically if they * remain idle.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 51.7K bytes - Viewed (0)