- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 556 for Timeout (0.05 seconds)
-
src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java
try { final boolean isTimeout = !latch.await(time, unit); if (isTimeout) { throw new SuggesterException("Request timeout. time:" + time + " unit:" + unit.name()); } if (error != null) { throw new SuggesterException("An error occurred during the deferred computation.", error); }Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java
// Test throwing with cause and catching int expectedStatusCode = 500; String expectedMessage = "Database error"; Exception expectedCause = new RuntimeException("Connection timeout"); try { throw new WebApiException(expectedStatusCode, expectedMessage, expectedCause); } catch (WebApiException e) { assertEquals(expectedStatusCode, e.getStatusCode());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
} // Start all threads simultaneously startLatch.countDown(); // Wait for completion assertTrue(endLatch.await(30, TimeUnit.SECONDS), "All threads should complete within timeout"); executor.shutdown(); // Then - Verify no exceptions occurred if (!exceptions.isEmpty()) { fail("Concurrent operations caused exceptions: " + exceptions.get(0)); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11K bytes - Click Count (0) -
internal/logger/target/http/http.go
defer func() { if err != nil { if xnet.IsNetworkOrHostDown(err, false) { h.status.Store(statusOffline) } h.failedMessages.Add(int64(payloadCount)) } else { h.status.Store(statusOnline) } }() ctx, cancel := context.WithTimeout(ctx, timeout) defer cancel()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
addCreateContext(new jcifs.internal.smb2.persistent.DurableHandleRequest()); } /** * Add a durable handle V2 context to this request * @param timeoutMs the timeout in milliseconds (0 for persistent handles) * @param persistent true if this should be a persistent handle * @return the create GUID for this handle */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 22.9K bytes - Click Count (0) -
internal/config/dns/operator_dns.go
} for _, setter := range setters { setter(args) } args.httpClient = &http.Client{ Transport: &http.Transport{ Proxy: http.ProxyFromEnvironment, DialContext: (&net.Dialer{ Timeout: 3 * time.Second, KeepAlive: 5 * time.Second, }).DialContext, ResponseHeaderTimeout: 3 * time.Second, TLSHandshakeTimeout: 3 * time.Second, ExpectContinueTimeout: 3 * time.Second,Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Nov 11 14:51:43 GMT 2024 - 6.6K bytes - Click Count (0) -
lib/wasm/wasm_exec.js
() => { this._resume(); while (this._scheduledTimeouts.has(id)) { // for some reason Go failed to register the timeout event, log and try again // (temporary workaround for https://github.com/golang/go/issues/28975) console.warn("scheduleTimeoutEvent: missed timeout event"); this._resume(); } }, getInt64(sp + 8), ));Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Sun Dec 08 15:34:47 GMT 2024 - 16.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
import okio.buffer import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Assertions.assertArrayEquals import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test import org.junit.jupiter.api.Timeout @Timeout(5) @Tag("Slow") class Http2ConnectionTest { private val peer = MockHttp2Peer() private val taskFaker = TaskFaker() @AfterEach fun tearDown() { peer.close() taskFaker.close() }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 75.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java
// partial results final StringBuilder buf = new StringBuilder(1000); buf.append("[SEARCH TIMEOUT] {\"exec_time\":") .append(execTime)// .append(",\"request\":")Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 09:24:04 GMT 2025 - 12.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
throw new RuntimeException(); } @Override public String get(long timeout, TimeUnit unit) throws ExecutionException, InterruptedException, TimeoutException { delegateForDelayedRuntimeException.get(timeout, unit); throw new RuntimeException(); } };
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0)