- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 139 for Sleeps (0.06 sec)
-
src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java
// Start indexer in separate thread indexUpdater.start(); // Let it run briefly ThreadUtil.sleep(100); // Stop the indexer indexUpdater.setFinishCrawling(true); // Wait for completion with longer timeout indexUpdater.join(3000);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
sb.append(DELIMITER_STRING); } sb.append(comp); } dummy ^= sb.toString().length(); } return dummy; } /** * Similar to the above, but keeps a boolean flag rather than checking for the string accumulated * so far being empty. As a result, it does not have the above-mentioned bug. */ @Benchmark int booleanIfFirst(int reps) { int dummy = 0;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DataIndexHelper.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.9K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/FakeTickerTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java
assertFalse(helper.isCrawlerRunning()); // Start a thread to set crawler running after a delay Thread thread = new Thread(() -> { try { Thread.sleep(100); helper.setCrawlerRunning(true); } catch (InterruptedException e) { Thread.currentThread().interrupt(); } }); thread.start();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java
InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 10, null); thread.start(); Thread.sleep(50); String output1 = thread.getOutput(); boolean contains1 = thread.contains("concurrent1"); thread.join(1000); String output2 = thread.getOutput();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
var readyTask: Task? = null var multipleReadyTasks = false // Decide what to run. This loop's goal wants to: // * Find out what this thread should do (either run a task or sleep) // * Find out if there's enough work to start another thread. eachQueue@ for (queue in readyQueues) { val candidate = queue.futureTasks[0]
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/timer/TimeoutManager.java
while (!isInterrupted() && !stopIfLeisure()) { for (final TimeoutTask task : getExpiredTask()) { processTask(executorService, task); } Thread.sleep(1000L); } } catch (final InterruptedException e) { if (logger.isDebugEnabled()) { logger.debug("Interrupted.", e); } } finally {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/indexer/IndexUpdater.java
final long interval = updateInterval - updateTime; if (interval > 0) { // sleep ThreadUtil.sleep(interval); // 10 sec (default) } systemHelper.calibrateCpuLoad(); systemHelper.waitForNoWaitingThreads();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 32.7K bytes - Viewed (0) -
docs/changelogs/upgrading_to_okhttp_4.md
Upgrading to OkHttp 4 ===================== OkHttp 4.x upgrades our implementation language from Java to Kotlin and keeps everything else the same. We’ve chosen Kotlin because it gives us powerful new capabilities while integrating closely with Java. We spent a lot of time and energy on retaining strict compatibility with OkHttp 3.x. We’re even keeping the package name the same: `okhttp3`! There are three kinds of compatibility we’re tracking:
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0)