- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 63 for millis (0.04 sec)
-
src/main/java/org/codelibs/core/lang/ThreadUtil.java
* * @param millis * the length of time to sleep in milliseconds * @throws InterruptedRuntimeException * if any thread has interrupted the current thread. */ public static void sleep(final long millis) { if (millis < 1L) { return; } try { Thread.sleep(millis); } catch (final InterruptedException e) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
check(duration >= 0L) { "$name < 0" } val millis = unit.toMillis(duration) require(millis <= Integer.MAX_VALUE) { "$name too large" } require(millis != 0L || duration <= 0L) { "$name too small" } return millis.toInt() } internal fun checkDuration( name: String, duration: Duration, ): Int { check(!duration.isNegative()) { "$name < 0" } val millis = duration.inWholeMilliseconds
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java
/** The key of the configuration. e.g. false */ String FRAMEWORK_DEBUG = "framework.debug"; /** The key of the configuration. e.g. 0 */ String TIME_ADJUST_TIME_MILLIS = "time.adjust.time.millis"; /** The key of the configuration. e.g. true */ String MAIL_SEND_MOCK = "mail.send.mock"; /** The key of the configuration. e.g. localhost:25 */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 10K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
} } private static void assertNotInterrupted() { assertFalse(Thread.interrupted()); } private static void requestInterruptIn(long millis) { InterruptionUtil.requestInterruptIn(millis, MILLISECONDS); } @CanIgnoreReturnValue private static Thread acquireFor(Lock lock, long duration, TimeUnit unit) { CountDownLatch latch = new CountDownLatch(1);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 31.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
final List<String> events = new ArrayList<>(); @Override public long readMicros() { return NANOSECONDS.toMicros(instant); } void sleepMillis(int millis) { sleepMicros("U", MILLISECONDS.toMicros(millis)); } void sleepMicros(String caption, long micros) { instant += MICROSECONDS.toNanos(micros);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
final List<String> events = new ArrayList<>(); @Override public long readMicros() { return NANOSECONDS.toMicros(instant); } void sleepMillis(int millis) { sleepMicros("U", MILLISECONDS.toMicros(millis)); } void sleepMicros(String caption, long micros) { instant += MICROSECONDS.toNanos(micros);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
private val SENT_MILLIS = "${Platform.get().getPrefix()}-Sent-Millis" /** Synthetic response header: the local time when the response was received. */ private val RECEIVED_MILLIS = "${Platform.get().getPrefix()}-Received-Millis" } } private class CacheResponseBody( val snapshot: DiskLruCache.Snapshot,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java
builder.allRecordCount(searchHits.getTotalHits().value()); builder.allRecordCountRelation(searchHits.getTotalHits().relation().toString()); builder.queryTime(searchResponse.getTook().millis()); if (searchResponse.getTotalShards() != searchResponse.getSuccessfulShards()) { builder.partialResults(true); } // build highlighting fields
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
return webSocket!!.processNextFrame() } override fun cancel() { canceled = true delegate.cancel() } } companion object { private fun ns(millis: Long): Long = millis * 1000000L }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.7K bytes - Viewed (0)