- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 201 for delay (1.32 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java
crawlerContext.setStatus(CrawlerStatus.RUNNING); crawlerContext.maxThreadCheckCount = 1; // Will exit after 1 check crawlerThread.run(); verify(intervalController, times(1)).delay(IntervalController.NO_URL_IN_QUEUE); } /** * Test isContinue with active threads still running. */ public void test_isContinue_withActiveThreads() throws Exception {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 18.3K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
Thread.sleep(200); long laterAge = keyManager.getKeyAge(sessionId); assertTrue(laterAge >= 200, "Age should increase after delay"); } @Test public void testKeyAgeNonExistent() { assertEquals(-1, keyManager.getKeyAge("non-existent"), "Non-existent key should return -1 for age"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
localFailures = 0; // Reset on success } Thread.sleep(5); // Small delay to spread out requests } successfulThreads.incrementAndGet(); } catch (Exception e) { exceptionCount.incrementAndGet();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
// First read NbtAddress result = lmhosts.getByName("TESTHOST", mockContext); assertNotNull(result); // Modify file with a delay to ensure different lastModified time Thread.sleep(100); try (FileWriter writer = new FileWriter(lmhostsFile)) { writer.write("192.168.1.200 NEWHOST\n"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DataIndexHelper.java
logger.debug("Interrupted.", e); } } } } /** * Sets the crawling execution interval. * This interval controls the delay between starting new crawler threads * and the frequency of status checks during crawling operations. * * @param crawlingExecutionInterval interval in milliseconds */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 19K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
} else if (behavior == 1) { // return null computeNullCount.incrementAndGet(); return null; } else if (behavior == 2) { // slight delay before returning Thread.sleep(5); computeCount.incrementAndGet(); return key; } else { computeCount.incrementAndGet(); return key;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 25.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
} /** * Test implementation of IntervalController for testing */ private static class TestIntervalController implements IntervalController { @Override public void delay(int type) { } public void delayBeforeProcessing() { } public void delayAfterProcessing() { } public void delayAtNoUrlInQueue() { }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 25.6K bytes - Viewed (0) -
lib/wasm/wasm_exec.js
sp >>>= 0; const msec = (new Date).getTime(); setInt64(sp + 8, msec / 1000); this.mem.setInt32(sp + 16, (msec % 1000) * 1000000, true); }, // func scheduleTimeoutEvent(delay int64) int32 "runtime.scheduleTimeoutEvent": (sp) => { sp >>>= 0; const id = this._nextCallbackTimeoutID; this._nextCallbackTimeoutID++; this._scheduledTimeouts.set(id, setTimeout(
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Sun Dec 08 15:34:47 UTC 2024 - 16.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
private void assertEvents(String... events) { assertEquals(Arrays.toString(events), stopwatch.readEventsAndClear()); } /** * The stopwatch gathers events and presents them as strings. R0.6 means a delay of 0.6 seconds * caused by the (R)ateLimiter U1.0 means the (U)ser caused the stopwatch to sleep for a second. */ static class FakeStopwatch extends SleepingStopwatch { long instant = 0L;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 21.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
private void assertEvents(String... events) { assertEquals(Arrays.toString(events), stopwatch.readEventsAndClear()); } /** * The stopwatch gathers events and presents them as strings. R0.6 means a delay of 0.6 seconds * caused by the (R)ateLimiter U1.0 means the (U)ser caused the stopwatch to sleep for a second. */ static class FakeStopwatch extends SleepingStopwatch { long instant = 0L;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 21.9K bytes - Viewed (0)