- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 684 for so (0.14 sec)
-
guava-tests/test/com/google/common/util/concurrent/AbstractFutureInnocuousThreadTest.java
protected void setUp() throws Exception { // Load the "normal" copy of SettableFuture and related classes. SettableFuture<?> unused = SettableFuture.create(); // Hack to load AbstractFuture et. al. in a new classloader so that it tries to re-read the // cancellation-cause system property. This allows us to test what happens if reading the // property is forbidden and then continue running tests normally in one jvm without resorting
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Dec 16 19:54:45 GMT 2020 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/InvalidatableSet.java
this.delegate = delegate; this.validator = validator; this.errorMessage = errorMessage; } // Override hashCode() to access delegate directly (so that it doesn't trigger the validate() call // via delegate()); it seems inappropriate to throw ISE on this method. @Override public int hashCode() { return delegate.hashCode(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 1.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
} catch (ConcurrentModificationException expected) { // success } } /** * Returns the {@link Method} instance for {@link #testAdd_nullSupported()} so that tests of * {@link java.util.Collections#checkedCollection(java.util.Collection, Class)} can suppress it * with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Crc32cHashFunction.java
* * crc0 = ~int0 * crc1 = int1 * crc2 = int2 * crc3 = int3 * * ...so we set crc0 so that computeForWord(crc0) = -1 and xoring it with the first int * gives us the desired result. computeForWord(0) == 0, so all the others do the right thing. */ private int crc0 = INVERSE_COMPUTE_FOR_WORD_OF_ALL_1S; private int crc1 = 0; private int crc2 = 0;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 20 18:43:59 GMT 2021 - 21.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/ForwardingCacheTest.java
@Override public void setUp() throws Exception { super.setUp(); /* * Class parameters must be raw, so we can't create a proxy with generic * type arguments. The created proxy only records calls and returns null, so * the type is irrelevant at runtime. */ mock = mock(Cache.class); forward = new ForwardingCache<String, Boolean>() { @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 12:41:04 GMT 2023 - 3.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java
// the output, so the input must be at least 32 bits, since the output has to be that long assertPutString(new char[] {'p', HashTestUtils.randomLowSurrogate(new Random())}); } public void testPutStringWithHighSurrogate() { // we pad because the dummy hash function we use to test this, merely copies the input into
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java
// the output, so the input must be at least 32 bits, since the output has to be that long assertPutString(new char[] {'p', HashTestUtils.randomLowSurrogate(new Random())}); } public void testPutStringWithHighSurrogate() { // we pad because the dummy hash function we use to test this, merely copies the input into
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.4K bytes - Viewed (0) -
guava/src/com/google/common/base/internal/Finalizer.java
* com.google.common.base.FinalizableReference}. * * <p>While this class is public, we consider it to be *internal* and not part of our published API. * It is public so we can access it reflectively across class loaders in secure environments. * * <p>This class can't depend on other Guava code. If we were to load this class in the same class
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Aug 23 12:54:09 GMT 2023 - 9.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
* object). So it is important to not call {@link #dispatch} while holding any locks. This is why * {@link #enqueue} and {@link #dispatch} are 2 different methods. It is expected that the decision * to run a particular event is made during the state change, but the decision to actually invoke * the listeners can be delayed slightly so that locks can be dropped. Also, because {@link
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Dec 13 19:45:20 GMT 2023 - 8.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Predicates.java
* {@code true}. The components are evaluated in order, and evaluation will be "short-circuited" * as soon as a false predicate is found. It defensively copies the iterable passed in, so future * changes to it won't alter the behavior of this predicate. If {@code components} is empty, the * returned predicate will always evaluate to {@code true}. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 23.1K bytes - Viewed (0)