- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for doClose (0.07 sec)
-
android/guava-tests/test/com/google/common/io/CloseablesTest.java
setupCloseable(false); doClose(mockCloseable, false, false); setupCloseable(false); doClose(mockCloseable, true, false); } public void testClose_closeableWithEatenException() throws IOException { // make sure that no exception is thrown if 'swallowException' is true // when the mock does throw an exception. setupCloseable(true); doClose(mockCloseable, true); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NetServerEnumIterator.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java
// this simply indicates an empty listing doClose(); return null; } throw e; } this.fileId = createResp.getFileId(); this.response = query.getResponse(); final FileEntry n = advance(false); if (n == null) { doClose(); } return n; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java
doClose(); return null; } throw e; } this.response.setSubCommand(SmbComTransaction.TRANS2_FIND_NEXT2); final FileEntry n = advance(false); if (n == null) { doClose(); } return n; } /** * {@inheritDoc} *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
if (connectionUser.candidateConnection() != null) { check(toClose == null) return ReusePlan(candidate) } // The call's connection was released. toClose?.closeQuietly() connectionUser.connectionReleased(candidate) connectionUser.connectionConnectionReleased(candidate) if (toClose != null) { connectionUser.connectionConnectionClosed(candidate)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 12K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
val noNewExchangesEvent: Boolean val toClose: Socket? = connection.withLock { noNewExchangesEvent = !connection.noNewExchanges connection.noNewExchanges = true connectionUser.releaseConnectionNoEvents() } if (toClose != null) { toClose.closeQuietly() connectionListener.connectionClosed(connection)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jun 03 17:10:08 UTC 2025 - 16.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
val connection = this.connection if (connection != null) { connection.assertLockNotHeld() val toClose: Socket? = connection.withLock { // Sets this.connection to null. releaseConnectionNoEvents() } if (this.connection == null) { toClose?.closeQuietly() eventListener.connectionReleased(this, connection)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
// Cleanup first cleanup(); log.debug("Closing pool"); // Create a snapshot of connections to close List<SmbTransportImpl> toClose = new ArrayList<>(this.connections); toClose.addAll(this.nonPooledConnections); // Clear the collections (thread-safe operations) this.connections.clear(); this.nonPooledConnections.clear();
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/cache/DiskLruCacheTest.kt
private lateinit var cache: DiskLruCache private val toClose = ArrayDeque<DiskLruCache>() private fun createNewCache() { createNewCacheWithSize(Int.MAX_VALUE) } private fun createNewCacheWithSize(maxSize: Int) { cache = DiskLruCache(filesystem, cacheDir, appVersion, 2, maxSize.toLong(), taskRunner).also { toClose.add(it) } synchronized(cache) { cache.initialize() } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 75.7K bytes - Viewed (0)