- Sort Score
- Result 10 results
- Languages All
Results 2451 - 2460 of 3,647 for findall (0.1 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
public void testGetUnchecked_interrupted() { Thread.currentThread().interrupt(); try { assertEquals("foo", getUnchecked(immediateFuture("foo"))); assertTrue(Thread.currentThread().isInterrupted()); } finally { Thread.interrupted(); } } public void testGetUnchecked_cancelled() { SettableFuture<String> future = SettableFuture.create(); future.cancel(true);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
public void testGetUnchecked_interrupted() { Thread.currentThread().interrupt(); try { assertEquals("foo", getUnchecked(immediateFuture("foo"))); assertTrue(Thread.currentThread().isInterrupted()); } finally { Thread.interrupted(); } } public void testGetUnchecked_cancelled() { SettableFuture<String> future = SettableFuture.create(); future.cancel(true);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 4.4K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt
org.jetbrains.kotlin.cli.common.environment.setIdeaIoUseFallback() } private inline fun <T : Any?> Disposable.use(action: Disposable.() -> T) = try { action(this) } finally { Disposer.dispose(this)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Oct 15 13:02:35 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
* @author ******@****.*** (Kyle Maddison) */ public class Fingerprint2011Test extends TestCase { // Length of the sample string to produce private static final int MAX_BYTES = 1000; // Map from sample string lengths to the fingerprint private static final ImmutableSortedMap<Integer, Long> LENGTH_FINGERPRINTS = new ImmutableSortedMap.Builder<Integer, Long>(Ordering.natural()) .put(1000, 0x433109b33e13e6edL)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 7.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
private static final class IncompatibleKeyType { @Override public String toString() { return "IncompatibleKeyType"; } } protected final boolean supportsPut; protected final boolean supportsRemove; protected final boolean supportsClear; protected final boolean allowsNullKeys; protected final boolean allowsNullValues; protected final boolean supportsIteratorRemove; /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java
import org.apache.maven.api.Project; import org.apache.maven.api.Session; import org.apache.maven.execution.ExecutionEvent; public class DefaultEvent implements Event { private final InternalMavenSession session; private final ExecutionEvent delegate; public DefaultEvent(InternalMavenSession session, ExecutionEvent delegate) { this.session = session; this.delegate = delegate; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/guide/PostExample.java
import okhttp3.MediaType; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.RequestBody; import okhttp3.Response; public class PostExample { public static final MediaType JSON = MediaType.get("application/json; charset=utf-8"); final OkHttpClient client = new OkHttpClient(); String post(String url, String json) throws IOException { RequestBody body = RequestBody.create(json, JSON);
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java
* your own instanceof tests. */ public final FluentFuture<V> catching( Class<Throwable> exceptionType, Function<? super Throwable, ? extends V> fallback, Executor executor) { return (FluentFuture<V>) Futures.catching(this, exceptionType, fallback, executor); } public final FluentFuture<V> catchingAsync( Class<Throwable> exceptionType,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 08 20:30:27 UTC 2022 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableBiMapMapInterfaceTest.java
super(false, false, false, false, false); } @Override protected Map<K, V> makeEmptyMap() { throw new UnsupportedOperationException(); } private static final Joiner JOINER = Joiner.on(", "); @Override protected final void assertMoreInvariants(Map<K, V> map) { BiMap<K, V> bimap = (BiMap<K, V>) map; for (Entry<K, V> entry : map.entrySet()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java
@ElementTypesAreNonnullByDefault public abstract class TestMapEntrySetGenerator< K extends @Nullable Object, V extends @Nullable Object> implements TestSetGenerator<Map.Entry<K, V>> { private final SampleElements<K> keys; private final SampleElements<V> values; protected TestMapEntrySetGenerator(SampleElements<K> keys, SampleElements<V> values) { this.keys = keys; this.values = values; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.2K bytes - Viewed (0)