- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,150 for timeIt (0.04 sec)
-
android/guava/src/com/google/common/util/concurrent/FluentFuture.java
* ({@code this}) will be cancelled and interrupted. * * @param timeout when to time out the future * @param unit the time unit of the time parameter * @param scheduledExecutor The executor service to enforce the timeout. */ @J2ktIncompatible @GwtIncompatible // ScheduledExecutorService @SuppressWarnings("GoodTime") // should accept a java.time.Duration public final FluentFuture<V> withTimeout(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java
void testExpiration() throws InterruptedException { // Registration should not be expired initially with long timeout assertFalse(registration.isExpired(60000)); // Wait a bit to ensure some time has passed Thread.sleep(50); // Should be expired with very short timeout (shorter than sleep time) assertTrue(registration.isExpired(10)); } @Test void testStateTransitions() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Queues.java
throws InterruptedException { return drain(q, buffer, numElements, toNanosSaturated(timeout), NANOSECONDS); } /** * Drains the queue as {@link BlockingQueue#drainTo(Collection, int)}, but if the requested {@code * numElements} elements are not available, it will wait for them up to the specified timeout. * * @param q the blocking queue to be drainedRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 04 17:24:58 UTC 2025 - 18.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java
.setInterval(interval) .setThreads(threads) .setTimeout(timeout) .setType(type) .execute() .actionGet(timeout); append(buf, "cluster_name", () -> response.getClusterName().value()).append(',');
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
boolean isUseLeases(); /** * @return timeout for persistent handles in milliseconds */ long getPersistentHandleTimeout(); /** * Gets the witness heartbeat timeout in milliseconds. * * @return the heartbeat timeout */ long getWitnessHeartbeatTimeout(); /** * Gets the witness registration timeout in milliseconds. *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/SearchRenderData.java
protected List<String> pageNumberList; /** Flag indicating whether the results are partial due to timeout or other issues. */ protected boolean partialResults; /** The actual search query executed against the search engine. */ protected String searchQuery; /** Time taken to execute the search query in milliseconds. */ protected long queryTime;
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 12.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Queues.java
throws InterruptedException { return drain(q, buffer, numElements, toNanosSaturated(timeout), NANOSECONDS); } /** * Drains the queue as {@link BlockingQueue#drainTo(Collection, int)}, but if the requested {@code * numElements} elements are not available, it will wait for them up to the specified timeout. * * @param q the blocking queue to be drainedRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 04 17:24:58 UTC 2025 - 18K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
* all must complete within one timeout period. * * The default value is 0 which imposes no timeout. */ fun callTimeout( timeout: Long, unit: TimeUnit, ) = apply { callTimeout = checkDuration("timeout", timeout, unit) } /** * Sets the default timeout for complete calls. A value of 0 means no timeout, otherwise valuesRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:55:03 UTC 2025 - 51.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt
.build() val call = client.newCall(request) call.timeout().timeout(250, TimeUnit.MILLISECONDS) assertFailsWith<IOException> { call.execute() }.also { expected -> assertThat(expected.message).isEqualTo("timeout") assertThat(call.isCanceled()).isTrue() } } @Test fun timeoutWritingRequestWithEnqueue() { server.enqueue(MockResponse()) val request = Request
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 10.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
* used to calculate the miss penalty. This value is increased every time {@code loadSuccessCount} * or {@code loadExceptionCount} is incremented. */ @SuppressWarnings("GoodTime") // should return a java.time.Duration public long totalLoadTime() { return totalLoadTime; } /** * Returns the average time spent loading new values. This is defined as {@code totalLoadTime /Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0)