- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 365 for Milliseconds (0.19 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
} @Test @Throws(Exception::class) fun callTimeoutAppliesToSetup() { webServer.enqueue( MockResponse .Builder() .headersDelay(500, TimeUnit.MILLISECONDS) .build(), ) client = client .newBuilder() .readTimeout(Duration.ZERO) .writeTimeout(Duration.ZERO) .callTimeout(Duration.ofMillis(100))
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 35.5K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/TermsReduceBenchmark.java
import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; @Warmup(iterations = 5) @Measurement(iterations = 7) @BenchmarkMode(Mode.AverageTime) @OutputTimeUnit(TimeUnit.MILLISECONDS) @State(Scope.Thread) @Fork(value = 1) public class TermsReduceBenchmark { private final SearchPhaseController controller = new SearchPhaseController(req -> new InternalAggregation.ReduceContextBuilder() {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Aug 20 15:45:38 GMT 2021 - 8.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt
server.enqueue(MockResponse(body = "a")) server.enqueue(MockResponse(body = "b")) client = client .newBuilder() .connectionPool(ConnectionPool(5, 250, TimeUnit.MILLISECONDS)) .build() val request = Request(server.url("/")) val response1 = client.newCall(request).execute() assertThat(response1.body.string()).isEqualTo("a")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.3K bytes - Click Count (1) -
src/test/java/jcifs/SmbWatchHandleTest.java
// Verify timeout occurs assertThrows(TimeoutException.class, () -> { future.get(100, TimeUnit.MILLISECONDS); }); // Cancel the future future.cancel(true); } finally { executor.shutdownNow(); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (1) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
t.setDaemon(true); return t; }); cleanupScheduler.scheduleWithFixedDelay(this::cleanup, cleanupInterval.toMillis(), cleanupInterval.toMillis(), TimeUnit.MILLISECONDS); log.info("Authentication rate limiter initialized: maxAccount={}, maxIp={}, maxGlobal={}/min", maxAttemptsPerAccount, maxAttemptsPerIp, maxGlobalAttemptsPerMinute); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
serverIpv6.enqueue( MockResponse(body = "hello from IPv6"), ) client = client .newBuilder() .fastFallback(false) .callTimeout(1_000, TimeUnit.MILLISECONDS) .build() val call = client.newCall(Request(url)) assertFailsWith<IOException> { call.execute() }.also { expected -> assertThat(expected).hasMessage("timeout") } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.6K bytes - Click Count (0) -
docs/smb3-features/06-witness-protocol-design.md
scheduleAddressChange(newAddress); } } private void scheduleReconnection(long delayMs) { CompletableFuture.delayedExecutor(delayMs, TimeUnit.MILLISECONDS) .execute(() -> { try { transport.disconnect(); transport.connect(); // Reconnect log.info("Successfully reconnected after witness notification");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
final Deferred<SuggestResponse> deferred = new Deferred<>(); // Don't resolve - let it timeout try { deferred.promise().getResponse(100, TimeUnit.MILLISECONDS); fail("Should throw timeout exception"); } catch (SuggesterException e) { assertTrue("Should mention timeout", e.getMessage().contains("timeout")); } } @Test
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 21.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
} } private void startHealthCheckTask() { healthCheckExecutor.scheduleWithFixedDelay(this::performHealthCheck, healthCheckInterval, healthCheckInterval, TimeUnit.MILLISECONDS); } private void performHealthCheck() { log.debug("Performing multi-channel health check"); for (ChannelGroup channelGroup : sessionChannels.values()) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 20.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
val response1 = getResponse(newRequest("/a")) response1.body .source() .timeout() .timeout(100, TimeUnit.MILLISECONDS) assertContent("This connection won't pool properly", response1) assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 133.3K bytes - Click Count (0)