- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 358 for sekondi (0.04 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java
assertTrue("First access should not delay", elapsed1 < 50); // Second access to same host - should delay q.setUrl("http://example.com/page2"); final long start2 = System.nanoTime(); controller.delayBeforeProcessing(); final long elapsed2 = (System.nanoTime() - start2) / 1000000; assertTrue("Second access should delay at least 100ms", elapsed2 >= 90); } /**
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
.Builder() .body(body) .throttleBody(1024, 1, TimeUnit.SECONDS) .build(), ) // Slow connection 1KiB/second. server.enqueue( MockResponse(body = body), ) client = client .newBuilder() .readTimeout(Duration.ofMillis(500)) // Half a second to read something. .build()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 67.4K bytes - Viewed (0) -
docs/recipes.md
.connectTimeout(5, TimeUnit.SECONDS) .writeTimeout(5, TimeUnit.SECONDS) .readTimeout(5, TimeUnit.SECONDS) .callTimeout(10, TimeUnit.SECONDS) .build() fun run() { val request = Request.Builder() .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay. .build()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
// SequentialExecutor by the time the barrier is satisfied barrier.await(1, SECONDS); executor.execute(barrierTask); // timeout means the second task wasn't even tried barrier.await(1, SECONDS); } finally { service.shutdown(); } } public void testRejectedExecutionThrownWithMultipleCalls() throws Exception {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
// SequentialExecutor by the time the barrier is satisfied barrier.await(1, SECONDS); executor.execute(barrierTask); // timeout means the second task wasn't even tried barrier.await(1, SECONDS); } finally { service.shutdown(); } } public void testRejectedExecutionThrownWithMultipleCalls() throws Exception {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 11.4K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
private void schedulePeriodicTasks() { // Heartbeat monitoring scheduler.scheduleAtFixedRate(this::checkHeartbeats, 30, 30, TimeUnit.SECONDS); // Registration monitoring scheduler.scheduleAtFixedRate(this::monitorRegistrations, 10, 10, TimeUnit.SECONDS); } public CompletableFuture<WitnessRegistration> registerForNotifications( String shareName,
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
Map<String, Object> stats = resourceManager.getStatistics(); assertNotNull(stats); } @Test @DisplayName("Test force cleanup") @Timeout(value = 5, unit = TimeUnit.SECONDS) void testForceCleanup() { TestResource resource1 = new TestResource("cleanup1"); TestResource resource2 = new TestResource("cleanup2"); resourceManager.registerResource(resource1);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
barrier.await(1, SECONDS); // WAIT #2 barrier.await(1, SECONDS); assertTrue(executor.isShutdown()); assertFalse(executor.isTerminated()); // WAIT #3 barrier.await(1, SECONDS); return null; });
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
*/ private long determinePollInterval(ChangeNotificationHandle handle) { int failures = getFailureCount(handle); // Base interval starts at 1 second, increases with failures // Max interval is 30 seconds for inactive directories return Math.min(MAX_POLL_INTERVAL, BASE_POLL_INTERVAL + (failures * 2000)); } /** * Get failure count for a handle *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
@Keep public static final WithPublicConstants SECOND = new WithPublicConstants(); } private static class FirstConstantIsNull { // To test that null constant is ignored @Keep public static final @Nullable FirstConstantIsNull FIRST = null; @Keep public static final FirstConstantIsNull SECOND = new FirstConstantIsNull(); } public static class NonFinalFieldIgnored {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 22.6K bytes - Viewed (0)