- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 229 for Arun (0.15 sec)
-
guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java
assertTrue(runnableFuture2.isDone()); assertTrue(runnable2.run); assertEquals((Integer) 3, runnableFuture2.get()); } private static class TestRunnable implements Runnable { boolean run = false; @Override public void run() { run = true; } } private static class TestCallable implements Callable<String> { @Override
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 7.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
* * This has the nice-ish side effect of limiting reentrancy: run() calls * timeoutFuture.setException() calls run(). That reentrancy would already be harmless, since * timeoutFuture can be set (and delegate cancelled) only once. (And "set only once" is * important for other reasons: run() can still be invoked concurrently in different threads, * even with the above null checks.)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 7.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/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 LargeTest. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Jul 07 15:40:13 GMT 2023 - 3.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/InterruptibleTask.java
@Override public void run() { T result = null; Throwable error = null; if (isDone()) { return; } try { result = runInterruptibly(); } catch (Throwable t) { error = t; } if (error == null) { // The cast is safe because of the `run` and `error` checks.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Dec 08 20:30:27 GMT 2022 - 1.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java
.certificatePinner( new CertificatePinner.Builder() .add("publicobject.com", "sha256/Vjs8r4z+80wjNcr1YKepWQboSIRi63WsWXhIMN+eWys=") .build()) .build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/robots.txt") .build(); try (Response response = client.newCall(request).execute()) {
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Dec 08 21:30:01 GMT 2019 - 1.7K bytes - Viewed (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java
/** * Create UNIX domain sockets for MockWebServer and OkHttp and connect 'em together. Note that we * cannot do TLS over domain sockets. */ public class ClientAndServer { public void run() throws Exception { File socketFile = new File("/tmp/ClientAndServer.sock"); socketFile.delete(); // Clean up from previous runs. MockWebServer server = new MockWebServer();
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Dec 24 03:46:30 GMT 2018 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java
private final Runnable delegate; public WrappedRunnable(Runnable delegate) { this.delegate = delegate; } @Override public void run() { delegate.run(); } } private static final class TestExecutor extends WrappingScheduledExecutorService { public TestExecutor(MockExecutor mock) { super(mock); } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Dec 16 19:54:45 GMT 2020 - 7.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java
@Override public void setUp() throws Exception { if (setUp != null) { setUp.run(); } } // public so that it can be referenced in generated GWT tests. @Override public void tearDown() throws Exception { if (tearDown != null) { tearDown.run(); } } // public so that it can be referenced in generated GWT tests. public final void init(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 2.9K bytes - Viewed (0) -
build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithInnerTypes.java
class IgnoreMe {} // ignore anonymous classes return new Sub2Interface() { }; } // ignore anonymous classes final Runnable ignoreMe = new Runnable() { public void run() { } }; InnerClass.AnotherInner getInnerClassProp() { return null; }
Java - Registered: Wed Apr 10 11:36:10 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 876 bytes - Viewed (0)