- Sort Score
- Num 10 results
- Language All
Results 1291 - 1300 of 2,133 for latch (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt
try { if (!canceled) { listener.onOpen(this, response) while (!canceled && reader.processNextEvent()) { } } } catch (e: Exception) { val exception = when { canceled -> IOException("canceled", e) else -> e } listener.onFailure(this, exception, response) returnCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Oct 03 07:51:20 GMT 2025 - 3.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java
} public void testContains_wrongType() { try { assertFalse( "contains(wrongType) should return false or throw", collection.contains(WrongType.VALUE)); } catch (ClassCastException tolerated) { } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.2K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/AbstractLoadingCache.java
protected AbstractLoadingCache() {} @CanIgnoreReturnValue // TODO(b/27479612): consider removing this? @Override public V getUnchecked(K key) { try { return get(key); } catch (ExecutionException e) { throw new UncheckedExecutionException(e.getCause()); } } @Override public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 2.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ImmediateFuture.java
public void addListener(Runnable listener, Executor executor) { checkNotNull(listener, "Runnable was null."); checkNotNull(executor, "Executor was null."); try { executor.execute(listener); } catch (Exception e) { // sneaky checked exception // ListenableFuture's contract is that it will not throw unchecked exceptions, so log the bad // runnable and/or executor and swallow it. log.get() .log(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/Base64Test.java
void testEncode(byte[] input, String expected) { // Arrange & Act String actual = Base64.encode(input); // Assert assertEquals(expected, actual, "Base64.encode should match expected string"); } /** * Data provider for Base64 strings and expected decoded byte arrays. */ static Stream<Arguments> decodeProvider() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
tests/test_dependency_after_yield_streaming.py
def test_stream_session(): response = client.get("/stream-session") assert response.text == "foobarbaz" def test_broken_session_data(): with pytest.raises(ValueError, match="Session closed"): client.get("/broken-session-data") def test_broken_session_data_no_raise(): client = TestClient(app, raise_server_exceptions=False) response = client.get("/broken-session-data")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 3.2K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java
setEncoding((String) src.get(ENCODING)); final String dataStr = (String) src.get(DATA); if (dataStr != null) { try { setData(Base64Util.decode(dataStr)); } catch (final Exception e) { throw new OpenSearchAccessException("data: " + dataStr, e); } } } /**
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
// Assert: first page assertTrue(it.hasNext(), "Iterator should have first element"); assertSame(fe1, it.next(), "First element must match first page"); assertTrue(it.hasNext(), "Iterator should have second element"); assertSame(fe2, it.next(), "Second element must match first page"); // Next page fetched via fetchMore() assertTrue(it.hasNext(), "Iterator should have third element after fetchMore");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 17:39:57 GMT 2025 - 14.8K bytes - Click Count (0)