- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 220 for millisecond (0.05 sec)
-
guava-tests/test/com/google/common/util/concurrent/TestThread.java
* limitations under the License. */ package com.google.common.util.concurrent; import static com.google.common.base.Preconditions.checkNotNull; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.assertNotNull; import static junit.framework.Assert.assertNull; import static junit.framework.Assert.assertSame;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
fun connectTimeout() { val interceptor1 = Interceptor { chainA: Interceptor.Chain -> assertThat(chainA.connectTimeoutMillis()).isEqualTo(5000) val chainB = chainA.withConnectTimeout(100, TimeUnit.MILLISECONDS) assertThat(chainB.connectTimeoutMillis()).isEqualTo(100) chainB.proceed(chainA.request()) } val interceptor2 = Interceptor { chain: Interceptor.Chain ->
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 28.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
* the License. */ package com.google.common.util.concurrent; import static com.google.common.util.concurrent.MoreExecutors.directExecutor; import static java.util.concurrent.TimeUnit.MILLISECONDS; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.Preconditions; import com.google.errorprone.annotations.concurrent.LazyInit;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
: UNEXPECTED_HANG_DELAY_MILLIS; boolean hung = !awaitUninterruptibly(callCompletedLatch, hangDelayMillis, TimeUnit.MILLISECONDS); if (hung) { assertEquals(expectedOutcome, Outcome.HANG); } else { assertNull(task.get(UNEXPECTED_HANG_DELAY_MILLIS, TimeUnit.MILLISECONDS)); } } @Override protected void tearDown() throws Exception {
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/jcifs/smb1/util/transport/Response.java
public abstract class Response { /** * Default constructor for Response. */ public Response() { // Default constructor } /** * The expiration time for this response in milliseconds. */ public long expiration; /** * Flag indicating whether this response has been received. */ public boolean isReceived;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 557 bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
} return Collections.unmodifiableSet(result); } /** * Configure resource manager * * @param maxAge maximum resource age in milliseconds * @param cleanupInterval cleanup interval in milliseconds * @param enableLeakDetection enable leak detection * @param enableAutoCleanup enable auto cleanup */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* @see #setLastModified * * @param createTime * the create time as milliseconds since Jan 1, 1970 * @param lastModified * the last modified time as milliseconds since Jan 1, 1970 * @param lastAccess * the last access time as milliseconds since Jan 1, 1970 * @throws CIFSException if an error occurs modifying the resource
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java
return documentExpires != null ? new Date(documentExpires) : null; } /** * Calculates the expiration time in milliseconds from the current time. * * @param days the number of days from now when the item should expire * @return the expiration time in milliseconds since epoch */ protected long getExpiredTime(final int days) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 15.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java
package com.google.common.testing; import static com.google.common.testing.ReflectionFreeAssertThrows.assertThrows; import static java.util.concurrent.Executors.newFixedThreadPool; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static java.util.concurrent.TimeUnit.NANOSECONDS; import static java.util.concurrent.TimeUnit.SECONDS; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegistration.java
public int getHeartbeatFailures() { return heartbeatFailures; } /** * Checks if this registration has expired based on the timeout. * * @param timeoutMs the timeout in milliseconds * @return true if the registration is expired */ public boolean isExpired(long timeoutMs) { return System.currentTimeMillis() - lastHeartbeat > timeoutMs; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 6.7K bytes - Viewed (0)