- Sort Score
- Num 10 results
- Language All
Results 411 - 420 of 727 for jour (0.02 seconds)
-
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
// then FRQ does not bother to load Finalizer.class through a separate ClassLoader. That happens // in our test environment, which foils the purpose of this test, so we disable the logic for // our test by setting a static field. We are changing the field in the parallel version of FRQ // and each test creates its own one of those, so there is no test interference here.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 26 02:41:17 GMT 2026 - 7.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapMakerTest.java
MapMaker maker = new MapMaker(); assertThrows(IllegalArgumentException.class, () -> maker.initialCapacity(-1)); } // TODO(cpovirk): enable when ready (apparently after a change to our GWT emulation) public void xtestInitialCapacity_setTwice() { MapMaker maker = new MapMaker().initialCapacity(16); try { // even to the same value is not allowed maker.initialCapacity(16); fail();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.8K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashCode.java
* @since 11.0 */ public abstract class HashCode { HashCode() {} /** Returns the number of bits in this hash code; a positive multiple of 8. */ public abstract int bits(); /** * Returns the first four bytes of {@linkplain #asBytes() this hashcode's bytes}, converted to an * {@code int} value in little-endian order. * * @throws IllegalStateException if {@code bits() < 32} */ public abstract int asInt();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 12.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
}; assertFalse(fakePool.hasNext()); e.execute(intCounter); // A task should have been scheduled assertTrue(fakePool.hasNext()); e.execute(intCounter); // Our executor hasn't run any tasks yet. assertEquals(0, totalCalls.get()); fakePool.runAll(); assertEquals(2, totalCalls.get()); // Queue is empty so no runner should be scheduled.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 10.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt
import okhttp3.internal.threadFactory import okhttp3.internal.unmodifiable /** * Policy on when async requests are executed. * * Each dispatcher uses an [ExecutorService] to run calls internally. If you supply your own * executor, it should be able to run [the configured maximum][maxRequests] number of calls * concurrently. */ class Dispatcher() { /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 14:16:22 GMT 2025 - 9.9K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java
/** * The number of other exception types in the cache of known-good exceptions and the number of * other {@code ClassValue} entries for the exception type to be tested. This lets us evaluate * whether our solution scales to use with multiple exception types and to whether it is affected * by other {@code ClassValue} users. Some of the benchmarked implementations don't use one orCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 6.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Maps.java
* * ImmutableMap<String, Color> colorForName = uniqueIndex(allColors, c -> c.toString()); * assertThat(colorForName).containsEntry("red", red); * } * * <p>If your index may associate multiple values with each key, use {@link * Multimaps#index(Iterable, Function) Multimaps.index}. * * <p><b>Note:</b> on Java 8+, it is usually better to use streams. For example: *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 157.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Maps.java
* * ImmutableMap<String, Color> colorForName = uniqueIndex(allColors, c -> c.toString()); * assertThat(colorForName).containsEntry("red", red); * } * * <p>If your index may associate multiple values with each key, use {@link * Multimaps#index(Iterable, Function) Multimaps.index}. * * <p><b>Note:</b> on Java 8+, it is usually better to use streams. For example: *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 163.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
// Note that if all the futures on the list are done prior to completing this loop, the last // call to addListener() will callback to setOneValue(), transitively call our cleanup // listener, and set this.futures to null. // This is not actually a problem, since the foreach only needs this.futures to be non-null // at the beginning of the loop. int i = 0;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 16K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java
import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Map.Entry; import java.util.Set; import junit.framework.TestSuite; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code BiMap} * implementation. * * @author Louis Wasserman */ @GwtIncompatible public class BiMapTestSuiteBuilder<K, V>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 30 16:15:19 GMT 2024 - 6.8K bytes - Click Count (0)