- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 161 for Sleeps (0.04 seconds)
-
ci/official/utilities/setup_docker.sh
if [[ "$TFCI_DOCKER_PULL_ENABLE" == 1 ]]; then # Simple retry logic for docker-pull errors. Sleeps if a pull fails. # Pulling an already-pulled container image will finish instantly, so # repeating the command costs nothing. docker pull "$TFCI_DOCKER_IMAGE" || sleep 15 docker pull "$TFCI_DOCKER_IMAGE" || sleep 30 docker pull "$TFCI_DOCKER_IMAGE" || sleep 60 docker pull "$TFCI_DOCKER_IMAGE" fi
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Nov 20 17:33:55 GMT 2025 - 2.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
} } currentProcess = null; } } /** * Monitor thread that handles process timeout and termination. * This thread sleeps for the specified timeout duration and terminates the process if it hasn't finished. */ protected static class MonitorThread extends Thread { /** The process to monitor. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 14.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt
val request = Request(server.url("/")) val response1 = client.newCall(request).execute() assertThat(response1.body.string()).isEqualTo("a") // Give the thread pool a chance to evict. Thread.sleep(500) val response2 = client.newCall(request).execute() assertThat(response2.body.string()).isEqualTo("b") 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 - 12.3K bytes - Click Count (1) -
guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java
() -> { MILLISECONDS.sleep(DELAY_MS); return GOOD_CALLABLE_RESULT; }; private static final Callable<String> BAD_CALLABLE = () -> { MILLISECONDS.sleep(DELAY_MS); throw new SampleException(); }; private static final Runnable GOOD_RUNNABLE = () -> { try { MILLISECONDS.sleep(DELAY_MS); } catch (InterruptedException e) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 9.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java
@Test public void test_startProcess_replaceExistingProcess() { String sessionId = "test_replace"; // Use sleep commands that run longer so we can verify they're running List<String> cmdList1 = Arrays.asList("sleep", "10"); List<String> cmdList2 = Arrays.asList("sleep", "10"); Consumer<ProcessBuilder> pbCall = pb -> { pb.redirectErrorStream(true); }; try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 16K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/CrawlTestBase.java
while (count < 1500 && !isRunning) { ThreadUtil.sleep(sleepTime); count++; final Map<String, Object> scheduler = getSchedulerItem(namePrefix); assertTrue(scheduler.containsKey("running")); isRunning = (Boolean) scheduler.get("running"); // Exponential backoff: gradually increase sleep time up to 300ms if (count % 5 == 0 && sleepTime < 300) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java
() -> { MILLISECONDS.sleep(DELAY_MS); return GOOD_CALLABLE_RESULT; }; private static final Callable<String> BAD_CALLABLE = () -> { MILLISECONDS.sleep(DELAY_MS); throw new SampleException(); }; private static final Runnable GOOD_RUNNABLE = () -> { try { MILLISECONDS.sleep(DELAY_MS); } catch (InterruptedException e) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 9.4K bytes - Click Count (0) -
.github/workflows/smokeshow.yml
if uv run smokeshow upload htmlcov; then echo "Smokeshow upload success!" break fi echo "Smokeshow upload error, sleep 1 sec and try again." sleep 1 done env: SMOKESHOW_GITHUB_STATUS_DESCRIPTION: Coverage {coverage-percentage} SMOKESHOW_GITHUB_COVERAGE_THRESHOLD: 100 SMOKESHOW_GITHUB_CONTEXT: coverageCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Mar 03 00:12:02 GMT 2026 - 1.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
} private fun sleep(delayMillis: Int) { try { Thread.sleep(delayMillis.toLong()) } catch (e: InterruptedException) { Thread.currentThread().interrupt() } } private fun interruptLater(delayMillis: Int) { val toInterrupt = Thread.currentThread() val interruptingCow = Thread { sleep(delayMillis) toInterrupt.interrupt()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 18:33:48 GMT 2025 - 6.4K bytes - Click Count (0) -
doc/next/6-stdlib/99-minor/testing/synctest/77169.md
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Feb 02 22:43:36 GMT 2026 - 83 bytes - Click Count (0)