- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for closures (0.73 sec)
-
android/guava/src/com/google/common/io/Closer.java
* <p>An exception that is suppressed is added to the exception that <i>will</i> be thrown using * {@code Throwable.addSuppressed(Throwable)}. * * @author Colin Decker * @since 14.0 */ // Coffee's for {@link Closer closers} only. @J2ktIncompatible @GwtIncompatible public final class Closer implements Closeable { /** Creates a new {@link Closer}. */ public static Closer create() { return new Closer(SUPPRESSING_SUPPRESSOR); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
// Using a SmbComClose instance triggers early return without DFS/session work SmbComClose closeReq = mock(SmbComClose.class); SmbResourceLocator res = c.ensureDFSResolved(loc, closeReq); assertSame(loc, res); // No connect attempts expected verify(c, never()).connectWrapException(any()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/Graphs.java
} /** * Returns the transitive closure of {@code graph}. The transitive closure of a graph is another * graph with an edge connecting node A to node B if node B is {@link #reachableNodes(Graph, * Object) reachable} from node A. * * <p>This is a "snapshot" based on the current topology of {@code graph}, rather than a live view
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 01 00:26:14 UTC 2025 - 22.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/Graphs.java
} /** * Returns the transitive closure of {@code graph}. The transitive closure of a graph is another * graph with an edge connecting node A to node B if node B is {@link #reachableNodes(Graph, * Object) reachable} from node A. * * <p>This is a "snapshot" based on the current topology of {@code graph}, rather than a live view
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 01 00:26:14 UTC 2025 - 23.3K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
}, "Multiple close operations should not cause issues"); // Verify iterator still works after multiple closes assertFalse(emptyIterator.hasNext(), "Iterator should still work after multiple closes"); assertNull(emptyIterator.next(), "Iterator should still return null after multiple closes"); } @Test @DisplayName("EmptyIterator should handle remove operations multiple times")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
verify(tree, times(1)).acquire(); verify(tree, times(1)).release(); } @Test @DisplayName("Happy path: iterates entries, fetchMore(), then closes with FindClose2") void iteratesAndFetchesMoreThenCloses() throws Exception { // Arrange: program send() to simulate first, next, next(NO_MORE_FILES) List<String[]> batches = new ArrayList<>();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java
*/ public void recordConnectionCreated() { connectionsCreated.incrementAndGet(); connectionsActive.incrementAndGet(); } /** * Record RDMA connection closure */ public void recordConnectionClosed() { connectionsActive.decrementAndGet(); } /** * Record memory region allocation */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 10.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
when { this.isNullOrEmpty() -> emptyList() this.size == 1 -> Collections.singletonList(this[0]) else -> this.clone().asList().unmodifiable() } /** Closes this, ignoring any checked exceptions. */ internal fun Socket.closeQuietly() { try { close() } catch (e: AssertionError) { throw e } catch (rethrown: RuntimeException) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
} @Test fun trailersWithServerTruncatedResponseHttp2() { trailersWithServerTruncatedResponse(Protocol.HTTP_2) } /** * If the server closes the connection while the client is consuming the response body, attempts * to peek or read the trailers should throw. */ private fun trailersWithServerTruncatedResponse(protocol: Protocol) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 18K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
assertEquals(wildcard, it.getWildcard()); assertSame(parent, it.getParent()); verify(tree, times(1)).acquire(); } @Test @DisplayName("Constructor with open() returning null closes immediately and hasNext=false") void constructorOpenNullCloses() throws Exception { // Arrange stubAcquireReturnsSelf(); List<FileEntry[]> pages = List.of(new FileEntry[][] { new FileEntry[] {} });
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0)