- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 433 for Future (0.08 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
final CountDownLatch latch = new CountDownLatch(1); final SettableFuture<?> future = SettableFuture.create(); final Executor delegate = new Executor() { @Override public void execute(Runnable task) { if (future.set(null)) { awaitUninterruptibly(latch); } throw new RejectedExecutionException();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 11.4K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt
import java.net.InetSocketAddress import java.net.ServerSocket import java.security.PrivateKey import java.util.concurrent.ExecutorService import java.util.concurrent.Executors import java.util.concurrent.Future import javax.net.ServerSocketFactory import javax.net.SocketFactory import javax.net.ssl.SSLSocket import okhttp3.Handshake import okhttp3.Handshake.Companion.handshake import okhttp3.TestUtil.threadFactory
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTest.java
* limitations under the License. */ package com.google.common.util.concurrent; import static com.google.common.truth.Truth.assertWithMessage; import java.util.concurrent.Executor; import java.util.concurrent.Future; import junit.framework.TestCase; /** Test for {@link ListenableFuture}. */ public class ListenableFutureTest extends TestCase { public void testNoNewApis() throws Exception { assertWithMessage(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 15 19:48:16 UTC 2023 - 1.7K bytes - Viewed (0) -
apache-maven/src/assembly/maven/bin/mvn.cmd
if exist "%USERPROFILE%\mavenrc_pre.bat" echo Warning: The mavenrc_pre.bat script is deprecated and will be removed in a future version. >&2 if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %* if exist "%USERPROFILE%\mavenrc_pre.cmd" echo Warning: The mavenrc_pre.cmd script is deprecated and will be removed in a future version. >&2 if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 24 12:01:35 UTC 2024 - 7.8K bytes - Viewed (0) -
internal/http/close.go
) // DrainBody close non nil response with any response Body. // convenient wrapper to drain any remaining data on response body. // // Subsequently this allows golang http RoundTripper // to reuse the same connection for future requests. func DrainBody(respBody io.ReadCloser) { // Callers should close resp.Body when done reading from it. // If resp.Body is not closed, the Client's underlying RoundTripper
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Supplier.java
* or method references instead of classes, leaving your code easier to migrate in the future. * * <p>To use an existing supplier instance (say, named {@code supplier}) in a context where the * <i>other type</i> of supplier is expected, use the method reference {@code supplier::get}. A * future version of {@code com.google.common.base.Supplier} will be made to <i>extend</i> {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 15 12:15:07 UTC 2024 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/ValueGraphTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 06 18:35:19 UTC 2024 - 20K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
} } /** Checks that future.get times out, with the default timeout of {@code timeoutMillis()}. */ void assertFutureTimesOut(Future<?> future) { assertFutureTimesOut(future, timeoutMillis()); } /** Checks that future.get times out, with the given millisecond timeout. */ void assertFutureTimesOut(Future<?> future, long timeoutMillis) { long startTime = System.nanoTime();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 37.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ForwardingListenableFuture.java
import java.util.concurrent.Executor; import org.checkerframework.checker.nullness.qual.Nullable; /** * A {@link ListenableFuture} which forwards all its method calls to another future. Subclasses * should override one or more methods to modify the behavior of the backing future as desired per * the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p>Most subclasses can just use {@link SimpleForwardingListenableFuture}.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Mar 04 12:23:41 UTC 2022 - 2.4K bytes - Viewed (0) -
.github/workflows/CheckBadMerge.groovy
assert execResult.returnCode == 0: "$command failed with return code: $execResult" return execResult.stdout } static Future<String> readStreamAsync(InputStream inputStream) { return THREAD_POOL.submit({ inputStream.text } as Callable) as Future<String> }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Dec 19 10:35:44 UTC 2023 - 6.5K bytes - Viewed (0)