- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 149 for Milliseconds (0.05 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt
.isEqualTo(TimeUnit.MILLISECONDS.toNanos(456)) } @Test fun timeoutWritingRequest() { server.enqueue(MockResponse()) val request = Request .Builder() .url(server.url("/")) .post(sleepingRequestBody(500)) .build() val call = client.newCall(request) call.timeout().timeout(250, TimeUnit.MILLISECONDS) assertFailsWith<IOException> {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 10.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
CacheBuilder.newBuilder().expireAfterAccess(1000, MILLISECONDS).ticker(fakeTicker).build(); cache.put(0, 10); cache.put(2, 30); fakeTicker.advance(999, MILLISECONDS); assertEquals(Integer.valueOf(30), cache.getIfPresent(2)); fakeTicker.advance(1, MILLISECONDS); assertEquals(Integer.valueOf(30), cache.getIfPresent(2)); fakeTicker.advance(1000, MILLISECONDS); assertEquals(null, cache.getIfPresent(0));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 14.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
// 4 expires ticker.advance(1, MILLISECONDS); assertThat(keySet).containsExactly(6, 8, 0, 1, 2, 5, 7, 9); ticker.advance(1, MILLISECONDS); assertThat(keySet).containsExactly(6, 8, 0, 1, 2, 5, 7, 9); // 6 expires ticker.advance(1, MILLISECONDS); assertThat(keySet).containsExactly(8, 0, 1, 2, 5, 7, 9); ticker.advance(1, MILLISECONDS);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 18.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/QueryResponseList.java
/** * Gets the total execution time for the search request in milliseconds. * * @return the execution time in milliseconds */ public long getExecTime() { return execTime; } /** * Sets the total execution time for the search request in milliseconds. * * @param execTime the execution time in milliseconds */ public void setExecTime(final long execTime) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
thread.start(); thread.join(); assertFalse(thread.isAlive()); joinUninterruptibly(thread); joinUninterruptibly(thread, 0, MILLISECONDS); joinUninterruptibly(thread, -42, MILLISECONDS); joinUninterruptibly(thread, LONG_DELAY_MS, MILLISECONDS); assertTimeNotPassed(stopwatch, LONG_DELAY_MS); } public void testJoinNoInterrupt() { TimedThread thread = TimedThread.createWithDelay(20);
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/ServiceManagerTest.java
public void run() { Uninterruptibles.sleepUninterruptibly(delay, MILLISECONDS); notifyStarted(); } }.start(); } @Override protected void doStop() { new Thread() { @Override public void run() { Uninterruptibles.sleepUninterruptibly(delay, MILLISECONDS); notifyStopped(); } }.start(); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 25.5K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
protected boolean smbTcpNoDelay = false; /** Response timeout in milliseconds for SMB operations */ protected int smbResponseTimeout = SmbConstants.DEFAULT_RESPONSE_TIMEOUT; /** Socket timeout in milliseconds for SMB connections */ protected int smbSocketTimeout = SmbConstants.DEFAULT_SO_TIMEOUT; /** Connection timeout in milliseconds for establishing SMB connections */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
/** List of command strings to execute for thumbnail generation. */ protected List<String> commandList; /** Timeout for command execution in milliseconds. */ protected long commandTimeout = 30 * 1000L;// 30sec /** Timeout for destroying processes in milliseconds. */ protected long commandDestroyTimeout = 5 * 1000L;// 5sec /** Base directory for command execution. */ protected File baseDir;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Fri Jul 18 14:34:06 UTC 2025 - 14.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
int DEFAULT_PORT = 445; /** Default maximum multiplex count */ int DEFAULT_MAX_MPX_COUNT = 10; /** Default response timeout in milliseconds */ int DEFAULT_RESPONSE_TIMEOUT = 30000; /** Default socket timeout in milliseconds */ int DEFAULT_SO_TIMEOUT = 35000; /** Default receive buffer size in bytes */ int DEFAULT_RCV_BUF_SIZE = 60416; /** Default send buffer size in bytes */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
RateLimiter limiter = RateLimiter.create(5.0, stopwatch); assertTrue(limiter.tryAcquire(0, SECONDS)); assertTrue(limiter.tryAcquire(200, MILLISECONDS)); assertFalse(limiter.tryAcquire(100, MILLISECONDS)); stopwatch.sleepMillis(100); assertTrue(limiter.tryAcquire(100, MILLISECONDS)); } public void testTryAcquire_overflow() { RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.9K bytes - Viewed (0)