- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 281 for shouldn (0.17 sec)
-
guava-tests/test/com/google/common/eventbus/EventBusTest.java
assertEquals("Cause should be available.", exception, handler.exception); assertEquals("EventBus should be available.", eventBus, handler.context.getEventBus()); assertEquals("Event should be available.", EVENT, handler.context.getEvent()); assertEquals("Subscriber should be available.", subscriber, handler.context.getSubscriber()); assertEquals( "Method should be available.",
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
assertEquals("Cause should be available.", exception, handler.exception); assertEquals("EventBus should be available.", eventBus, handler.context.getEventBus()); assertEquals("Event should be available.", EVENT, handler.context.getEvent()); assertEquals("Subscriber should be available.", subscriber, handler.context.getSubscriber()); assertEquals( "Method should be available.",
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/RegularImmutableAsListTest.java
/** * RegularImmutableAsList should assume its input is null-free without checking, because it only * gets invoked from other immutable collections. */ public void testDoesntCheckForNull() { ImmutableSet<Integer> set = ImmutableSet.of(1, 2, 3); ImmutableList<Integer> unused = new RegularImmutableAsList<Integer>(set, new @Nullable Object[] {null, null, null}); // shouldn't throw! }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RegularImmutableAsListTest.java
/** * RegularImmutableAsList should assume its input is null-free without checking, because it only * gets invoked from other immutable collections. */ public void testDoesntCheckForNull() { ImmutableSet<Integer> set = ImmutableSet.of(1, 2, 3); ImmutableList<Integer> unused = new RegularImmutableAsList<Integer>(set, new @Nullable Object[] {null, null, null}); // shouldn't throw! }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
* crashes on Android when running in 32-bit mode. For maximum safety, we shouldn't use * Unsafe.getLong() at all, but the performance benefit on x86_64 is too great to ignore, so * as a compromise, we enable the optimization only on platforms that we specifically know to * work. * * In the future, the use of Unsafe.getLong() should be replaced by ByteBuffer.getLong(),
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 9.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
* to set the result of the computation through the protected methods {@link #set(Object)}, {@link * #setFuture(ListenableFuture)} and {@link #setException(Throwable)}. Subclasses may also override * {@link #afterDone()}, which will be invoked automatically when the future completes. Subclasses * should rarely override other methods. * * @author Sven Mawson
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:17:24 GMT 2024 - 63K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertFalse( from.getType() + " shouldn't be assignable to " + to.getType(), to.isSupertypeOf(from)); assertFalse( to.getType() + " shouldn't be a supertype of " + from.getType(), to.isSupertypeOf(from)); assertFalse( from.getType() + " shouldn't be a subtype of " + to.getType(), from.isSubtypeOf(to)); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 88.7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
hashFunctions[0] = Murmur3_128HashFunction.GOOD_FAST_HASH_128; int seed = GOOD_FAST_HASH_SEED; for (int i = 1; i < hashFunctionsNeeded; i++) { seed += 1500450271; // a prime; shouldn't matter hashFunctions[i] = murmur3_128(seed); } return new ConcatenatedHashFunction(hashFunctions); } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 09 00:37:15 GMT 2024 - 29.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Ordering.java
* for further instructions. Whenever possible, you should change any references of type {@code * Ordering} to be of type {@code Comparator} instead. However, at this time we have no plan to * <i>deprecate</i> this class. * * <p>Many replacements involve adopting {@code Stream}, and these changes can sometimes make your * code verbose. Whenever following this advice, you should check whether {@code Stream} could be
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 19:38:27 GMT 2024 - 39.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
Iterable<? extends IteratorFeature> features, Iterable<E> expectedElements, KnownOrder knownOrder, int startIndex) { // periodically we should manually try (steps * 3 / 2) here; all tests but // one should still pass (testVerifyGetsCalled()). stimuli = (Stimulus<E, ? super I>[]) new Stimulus<?, ?>[steps]; if (!elementsToInsertIterable.iterator().hasNext()) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 21.3K bytes - Viewed (0)