- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 286 for sleeps (0.04 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 18.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
} } private static void assertAtLeastTimePassed(Stopwatch stopwatch, long expectedMillis) { long elapsedMillis = stopwatch.elapsed(MILLISECONDS); /* * The "+ 5" below is to permit, say, sleep(10) to sleep only 9 milliseconds. We see such * behavior sometimes when running these tests publicly as part of Guava. "+ 5" is probably more * generous than it needs to be. */ assertTrue(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 31.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/RelayTest.kt
val relay = edit(file, pipe.source, metadata, 5) val future1 = executor.submit(sourceReader(relay.newSource())) val future2 = executor.submit(sourceReader(relay.newSource())) Thread.sleep(500) sink.writeUtf8("abcdefghij") Thread.sleep(500) sink.writeUtf8("klmnopqrst") sink.close() assertThat<ByteString>(future1.get()) .isEqualTo("abcdefghijklmnopqrst".encodeUtf8())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/PluginTests.java
.anyMatch(a -> a.getName().equals(target.getName()) && a.getVersion().equals(target.getVersion())); if (!exists) { ThreadUtil.sleep(500); continue; } assertTrue("plugin(" + target + ") is included in " + installed, exists); done = true; break; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 6.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
/* * It's very unlikely that any loaded Futures class will see getChecked called with more * than a handful of exceptions. But it seems prudent to set a cap on how many we'll cache. * This avoids out-of-control memory consumption, and it keeps the cache from growing so * large that doing the lookup is noticeably slower than redoing the work would be. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/resources/before_script.sh
break else error_count=$((error_count + 1)) fi if [[ ${error_count} -ge 60 ]] ; then echo "Fess is not available." cat ${temp_log_file} ./fess-*/logs/*.log exit 1 fi sleep 1 done pushd /tmp >/dev/null git clone https://github.com/codelibs/fess-testdata.git popd >/dev/null cat ${temp_log_file} ./fess-*/logs/*.log curl -s "http://localhost:9201/_cat/indices?v"
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Feb 10 03:25:34 UTC 2024 - 863 bytes - Viewed (0) -
.github/workflows/build.yml
jobs: publish: runs-on: ubuntu-latest if: github.repository == 'square/okhttp' && github.ref == 'refs/heads/master' steps: - name: Checkout uses: actions/checkout@v5 - name: Configure JDK uses: actions/setup-java@v5 with: distribution: 'zulu' java-version: 11
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 07:15:58 UTC 2025 - 18.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt
} } override fun connectTcp(): ConnectResult { check(connectState == ConnectState.READY) events += "plan $id TCP connecting..." taskFaker.sleep(tcpConnectDelayNanos) if (yieldBeforeTcpConnectReturns) { taskFaker.yield() } return when { tcpConnectThrowable != null -> {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt
yieldUntil(ResumePriority.BeforeOtherTasks) { contextSwitchCount > contextSwitchCountBefore } } } /** Sleep until [durationNanos] elapses. For use by the task threads. */ fun sleep(durationNanos: Long) { taskRunner.withLock { val sleepUntil = nanoTime + durationNanos yieldUntil { nanoTime >= sleepUntil } } } /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
} @Test void testActivityTracking() { long initialTime = channelInfo.getLastActivityTime(); // Wait a bit and update activity try { Thread.sleep(10); } catch (InterruptedException e) { Thread.currentThread().interrupt(); } channelInfo.updateActivity(); assertTrue(channelInfo.getLastActivityTime() > initialTime);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.4K bytes - Viewed (0)