- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 399 for run (0.2 sec)
-
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
@Override protected void setUp() throws Exception { super.setUp(); exec = Executors.newCachedThreadPool(); task.addListener( new Runnable() { @Override public void run() { listenerLatch.countDown(); } }, directExecutor()); } @Override protected void tearDown() throws Exception { if (exec != null) { exec.shutdown();
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 4.7K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
new Runnable() { @Override public void run() { assertFalse("previous tearDown should have run before setUp", setUpRan.getAndSet(true)); } }; Runnable tearDown = new Runnable() { @Override public void run() { assertTrue("setUp should have run", setUpRan.getAndSet(false)); } };
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 11.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Runnables.java
@ElementTypesAreNonnullByDefault public final class Runnables { private static final Runnable EMPTY_RUNNABLE = new Runnable() { @Override public void run() {} }; /** Returns a {@link Runnable} instance that does nothing when run. */ public static Runnable doNothing() { return EMPTY_RUNNABLE; } private Runnables() {}
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 18:32:03 GMT 2023 - 1.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AndroidIncompatible.java
import com.google.common.annotations.GwtCompatible; import java.lang.annotation.Retention; import java.lang.annotation.Target; /** * Signifies that a test should not be run under Android. This annotation is respected only by our * Google-internal Android suite generators. Note that those generators also suppress any test * annotated with MediumTest or LargeTest. *
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Sep 15 13:47:32 GMT 2016 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AndroidIncompatible.java
import com.google.common.annotations.GwtCompatible; import java.lang.annotation.Retention; import java.lang.annotation.Target; /** * Signifies that a test should not be run under Android. This annotation is respected only by our * Google-internal Android suite generators. Note that those generators also suppress any test * annotated with MediumTest or LargeTest. *
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Sep 15 13:47:32 GMT 2016 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AndroidIncompatible.java
import com.google.common.annotations.GwtCompatible; import java.lang.annotation.Retention; import java.lang.annotation.Target; /** * Signifies that a test should not be run under Android. This annotation is respected only by our * Google-internal Android suite generators. Note that those generators also suppress any test * annotated with MediumTest or LargeTest. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jun 26 15:56:47 GMT 2017 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/AndroidIncompatible.java
import com.google.common.annotations.GwtCompatible; import java.lang.annotation.Retention; import java.lang.annotation.Target; /** * Signifies that a test should not be run under Android. This annotation is respected only by our * Google-internal Android suite generators. Note that those generators also suppress any test * annotated with MediumTest or LargeTest. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AndroidIncompatible.java
import com.google.common.annotations.GwtCompatible; import java.lang.annotation.Retention; import java.lang.annotation.Target; /** * Signifies that a test should not be run under Android. This annotation is respected only by our * Google-internal Android suite generators. Note that those generators also suppress any test * annotated with MediumTest or LargeTest. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 1.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java
import okhttp3.Request; import okhttp3.Response; import okhttp3.WebSocket; import okhttp3.WebSocketListener; import okio.ByteString; public final class WebSocketEcho extends WebSocketListener { private void run() { OkHttpClient client = new OkHttpClient.Builder() .readTimeout(0, TimeUnit.MILLISECONDS) .build(); Request request = new Request.Builder() .url("ws://echo.websocket.org")
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 04 11:40:21 GMT 2024 - 1.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClusterException.java
* presented below: * * <pre> * void runManyThings({@literal List<ThingToRun>} thingsToRun) { * for (ThingToRun thingToRun : thingsToRun) { * thingToRun.run(); // say this may throw an exception, but you want to * // always run all thingsToRun * } * } * </pre> * * <p>This is what the code would become: * * <pre> * void runManyThings({@literal List<ThingToRun>} thingsToRun) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 4K bytes - Viewed (0)