- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 556 for Timeout (0.07 seconds)
-
android/guava/src/com/google/common/util/concurrent/MoreExecutors.java
* <li>awaits executor service termination for half of the specified timeout. * <li>if the timeout expires, it calls {@link ExecutorService#shutdownNow()}, cancelling * pending tasks and interrupting running tasks. * <li>awaits executor service termination for the other half of the specified timeout. * </ol> *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 45.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
@Override public final void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException { delegate.awaitRunning(timeout, unit); } /** * @since 15.0 */ @Override public final void awaitTerminated() { delegate.awaitTerminated(); } /** * @since 15.0 */ @Override public final void awaitTerminated(long timeout, TimeUnit unit) throws TimeoutException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 7.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
} /** * Asserts that at least {@code timeout} has passed but the expected completion time has not. */ void assertCompletionNotExpected(long timeout) { Preconditions.checkArgument(timeout < expectedCompletionWaitMillis); assertAtLeastTimePassed(stopwatch, timeout); assertTimeNotPassed(stopwatch, expectedCompletionWaitMillis); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
.teamcity/src/main/kotlin/common/PerformanceTestExtensions.kt
import jetbrains.buildServer.configs.kotlin.buildSteps.script fun BuildType.applyPerformanceTestSettings( os: Os = Os.LINUX, arch: Arch = Arch.AMD64, timeout: Int = 30, ) { applyDefaultSettings(os = os, arch = arch, timeout = timeout) setArtifactRules( """ build/report-*-performance-tests.zip => . build/report-*-performance.zip => $HIDDEN_ARTIFACT_DESTINATION
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Dec 22 07:15:16 GMT 2025 - 4K bytes - Click Count (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/TunnelingUnixSocket.java
super.connect(new UnixSocketAddress(path), 0); } @Override public void connect(SocketAddress endpoint, int timeout) throws IOException { this.inetSocketAddress = (InetSocketAddress) endpoint; super.connect(new UnixSocketAddress(path), timeout); } @Override public InetAddress getInetAddress() { return inetSocketAddress.getAddress(); }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 12 16:33:52 GMT 2019 - 1.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Platform.java
return future.blockingGet(); } static <V extends @Nullable Object> V get(AbstractFuture<V> future, long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException { return future.blockingGet(timeout, unit); } private Platform() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
}) @ParametricNullness final V blockingGet(long timeout, TimeUnit unit) throws InterruptedException, TimeoutException, ExecutionException { // NOTE: if timeout < 0, remainingNanos will be < 0 and we will fall into the while(true) loop // at the bottom and throw a timeoutexception. long timeoutNanos = unit.toNanos(timeout); // we rely on the implicit null check on unit.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 33.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
fail("Should throw timeout exception"); } catch (SuggesterException e) { assertTrue("Should mention timeout", e.getMessage().contains("timeout")); } } @Test public void test_getResponseDefaultTimeout() throws Exception { final Deferred<SuggestResponse> deferred = new Deferred<>(); // Resolve quickly to avoid default 1 minute timeout
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 21.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
.url(server.url("/")) .post(AsyncRequestBody()) .build() val call = client.newCall(request) call.timeout().timeout(250, TimeUnit.MILLISECONDS) assertFailsWith<IOException> { call.execute() }.also { expected -> assertThat(expected.message).isEqualTo("timeout") assertTrue(call.isCanceled()) } } @Test fun fullCallTimeoutDoesNotApplyOnceConnected() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 25.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
assertEquals("", execJob.lastaEnv); // Test with very long timeout execJob.timeout(Integer.MAX_VALUE); assertEquals(Integer.MAX_VALUE, execJob.timeout); // Test with minimum timeout execJob.timeout(Integer.MIN_VALUE); assertEquals(Integer.MIN_VALUE, execJob.timeout); } // Test exception handling in execute @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.8K bytes - Click Count (0)