- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for Karen (0.13 sec)
-
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
.containsExactly(0.0, 1.0, 3.0, 6.0, 10.0, 15.0, 21.0) .inOrder(); } public void testCopyOf_array_empty() { /* * We don't guarantee the same-as property, so we aren't obligated to test it. However, it's * useful in testing - when two things are the same then one can't have bugs the other doesn't. */ assertThat(ImmutableDoubleArray.copyOf(new double[0]))
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 06 15:23:21 GMT 2023 - 20K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
.containsExactly(0L, 1L, 3L, 6L, 10L, 15L, 21L) .inOrder(); } public void testCopyOf_array_empty() { /* * We don't guarantee the same-as property, so we aren't obligated to test it. However, it's * useful in testing - when two things are the same then one can't have bugs the other doesn't. */
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 20.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
* Any updates to LocalCache.Strength used in CacheBuilder need to be matched in this class for * compilation purposes. */ enum Strength { /* * TODO(kevinb): If we strongly reference the value and aren't loading, we needn't wrap the * value. This could save ~8 bytes per entry. */ STRONG { @Override Equivalence<Object> defaultEquivalence() { return Equivalence.equals();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 21.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
* valid value. That's the best we can do, short of holding a reference to the most recently * seen value. And while we *could* do that, we aren't required to: Map.Entry explicitly says * that behavior is undefined when the backing map is modified through another API. (It even
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 06 16:06:58 GMT 2023 - 36.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
bytesA[4] = (byte) 0xbe; bytesB[4] = (byte) 0xef; HashCode hashCodeA = HashCode.fromBytes(bytesA); HashCode hashCodeB = HashCode.fromBytes(bytesB); // They aren't equal... assertFalse(hashCodeA.equals(hashCodeB)); // But they still have the same Object#hashCode() value. // Technically not a violation of the equals/hashCode contract, but...?
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 13.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java
int entryCount = entry.getCount(); return countMap.remove(element, entryCount); } return false; } /** The hash code is the same as countMap's, though the objects aren't equal. */ @Override public int hashCode() { return countMap.hashCode(); } } /** We use a special form of unboxing that treats null as zero. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 16.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableRangeSet.java
return new ImmutableRangeSet<C>(ranges).asSet(domain); } } /** * Returns {@code true} if this immutable range set's implementation contains references to * user-created objects that aren't accessible via this range set's methods. This is generally * used to determine whether {@code copyOf} implementations should make an explicit copy to avoid * memory leaks. */ boolean isPartialView() {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 26.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
return new ImmutableRangeSet<C>(ranges).asSet(domain); } } /** * Returns {@code true} if this immutable range set's implementation contains references to * user-created objects that aren't accessible via this range set's methods. This is generally * used to determine whether {@code copyOf} implementations should make an explicit copy to avoid * memory leaks. */ boolean isPartialView() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 27.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java
return; } /* * Almost everything in GWT is an AbstractFuture (which is as good as TrustedFuture under * GWT). But ImmediateFuture and UncheckedThrowingFuture aren't, so we still need this case. */ try { forceSet(getDone(delegate)); } catch (ExecutionException exception) { forceSetException(exception.getCause());
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 19:37:41 GMT 2024 - 12.3K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheStats.java
public long evictionCount() { return evictionCount; } /** * Returns a new {@code CacheStats} representing the difference between this {@code CacheStats} * and {@code other}. Negative values, which aren't supported by {@code CacheStats} will be * rounded up to zero. */ public CacheStats minus(CacheStats other) { return new CacheStats( Math.max(0, saturatedSubtract(hitCount, other.hitCount)),
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Sun Aug 07 02:38:22 GMT 2022 - 12.6K bytes - Viewed (0)