- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 354 for unclosed (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
measureTime { val exception = assertFailsWith<IOException> { response.trailers() } assertThat(exception.message).isIn( "Socket closed", // HTTP/1.1 "stream was reset: CANCEL", // HTTP/2 ) } assertThat(trailersDelay).isGreaterThan(250.milliseconds) assertThat(trailersDelay).isLessThan(750.milliseconds)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 18K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeMap.java
} @Override public ImmutableRangeMap<K, V> subRangeMap(Range<K> range) { if (checkNotNull(range).isEmpty()) { return ImmutableRangeMap.of(); } else if (ranges.isEmpty() || range.encloses(span())) { return this; } int lowerIndex = SortedLists.binarySearch( ranges, Range::upperBound, range.lowerBound,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
// Setup close to call real method doCallRealMethod().when(handle).close(); // The finally block ensures pipe is closed even if handle close fails // Since the real method will propagate the exception from handle.close(), // we need to catch it to verify that pipe.close() was still called try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
manager.storeSessionKey("auto-session", testKey, "AES"); assertTrue(manager.hasSessionKey("auto-session"), "Key should exist"); } // Manager should be closed automatically } @Test public void testSecureWipeUtility() { byte[] data = new byte[16]; new SecureRandom().nextBytes(data); // Verify data is not all zeros initially
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt
clientReaderWithCompression.close() assertFailsWith<Exception> { clientReaderWithCompression.processNextFrame() }.also { expected -> assertThat(expected.message!!).contains("closed") } } private fun binaryData(length: Int): ByteString { val junk = ByteArray(length) random.nextBytes(junk) return junk.toByteString() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 14.4K bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
public abstract fun newWebSocket (Lokhttp3/Request;Lokhttp3/WebSocketListener;)Lokhttp3/WebSocket; } public abstract class okhttp3/WebSocketListener { public fun <init> ()V public fun onClosed (Lokhttp3/WebSocket;ILjava/lang/String;)V public fun onClosing (Lokhttp3/WebSocket;ILjava/lang/String;)V public fun onFailure (Lokhttp3/WebSocket;Ljava/lang/Throwable;Lokhttp3/Response;)V
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
// This test verifies that close() handles errors gracefully CharMappingItem newItem = new CharMappingItem(0, new String[] { "x", "y" }, "z"); // Insert will trigger MappingUpdater which will be closed automatically charMappingFile.insert(newItem); // Verify the operation completed successfully despite any internal errors PagingList<CharMappingItem> result = charMappingFile.selectList(0, 10);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
cmd/metacache-server-pool.go
} } if !truncated { return entries, io.EOF } return entries, nil } // listMerged will list across all sets and return a merged results stream. // The result channel is closed when no more results are expected. func (z *erasureServerPools) listMerged(ctx context.Context, o listPathOptions, results chan<- metaCacheEntry) error { var mu sync.Mutex var wg sync.WaitGroup var errs []error
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon May 26 07:06:43 UTC 2025 - 12.9K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
} // ParameterizedTypeImpl constructor already checks, but we want to throw NPE before IAE checkNotNull(arguments); checkArgument(rawType.getEnclosingClass() != null, "Owner type for unenclosed %s", rawType); return new ParameterizedTypeImpl(ownerType, rawType, arguments); } /** Returns a type where {@code rawType} is parameterized by {@code arguments}. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 23.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
@SuppressWarnings("unchecked") static final ImmutableMap<Object, Object> EMPTY = new RegularImmutableMap<>((Entry<Object, Object>[]) ImmutableMap.EMPTY_ENTRY_ARRAY, null, 0); /** * Closed addressing tends to perform well even with high load factors. Being conservative here * ensures that the table is still likely to be relatively sparse (hence it misses fast) while * saving space. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 15.8K bytes - Viewed (0)