/external/guava/guava/src/com/google/common/collect/ |
D | MapMaker.java | 102 @CheckForNull Strength keyStrength; field in MapMaker 210 checkState(keyStrength == null, "Key strength was already set to %s", keyStrength); in setKeyStrength() 211 keyStrength = checkNotNull(strength); in setKeyStrength() 220 return MoreObjects.firstNonNull(keyStrength, Strength.STRONG); in getKeyStrength() 300 if (keyStrength != null) { in toString() 301 s.add("keyStrength", Ascii.toLowerCase(keyStrength.toString())); in toString()
|
D | MapMakerInternalMap.java | 287 Strength keyStrength(); in keyStrength() method 430 public Strength keyStrength() { in keyStrength() method in MapMakerInternalMap.StrongKeyStrongValueEntry.Helper 527 public Strength keyStrength() { in keyStrength() method in MapMakerInternalMap.StrongKeyWeakValueEntry.Helper 607 public Strength keyStrength() { in keyStrength() method in MapMakerInternalMap.StrongKeyDummyValueEntry.Helper 712 public Strength keyStrength() { in keyStrength() method in MapMakerInternalMap.WeakKeyDummyValueEntry.Helper 796 public Strength keyStrength() { in keyStrength() method in MapMakerInternalMap.WeakKeyStrongValueEntry.Helper 898 public Strength keyStrength() { in keyStrength() method in MapMakerInternalMap.WeakKeyWeakValueEntry.Helper 2280 Strength keyStrength() { in keyStrength() method in MapMakerInternalMap 2281 return entryHelper.keyStrength(); in keyStrength() 2835 entryHelper.keyStrength(), in writeReplace() [all …]
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | MapMaker.java | 102 @CheckForNull Strength keyStrength; field in MapMaker 210 checkState(keyStrength == null, "Key strength was already set to %s", keyStrength); in setKeyStrength() 211 keyStrength = checkNotNull(strength); in setKeyStrength() 220 return MoreObjects.firstNonNull(keyStrength, Strength.STRONG); in getKeyStrength() 300 if (keyStrength != null) { in toString() 301 s.add("keyStrength", Ascii.toLowerCase(keyStrength.toString())); in toString()
|
D | MapMakerInternalMap.java | 287 Strength keyStrength(); in keyStrength() method 431 public Strength keyStrength() { in keyStrength() method in MapMakerInternalMap.StrongKeyStrongValueEntry.Helper 528 public Strength keyStrength() { in keyStrength() method in MapMakerInternalMap.StrongKeyWeakValueEntry.Helper 608 public Strength keyStrength() { in keyStrength() method in MapMakerInternalMap.StrongKeyDummyValueEntry.Helper 713 public Strength keyStrength() { in keyStrength() method in MapMakerInternalMap.WeakKeyDummyValueEntry.Helper 801 public Strength keyStrength() { in keyStrength() method in MapMakerInternalMap.WeakKeyStrongValueEntry.Helper 903 public Strength keyStrength() { in keyStrength() method in MapMakerInternalMap.WeakKeyWeakValueEntry.Helper 2285 Strength keyStrength() { in keyStrength() method in MapMakerInternalMap 2286 return entryHelper.keyStrength(); in keyStrength() 2840 entryHelper.keyStrength(), in writeReplace() [all …]
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheBuilderSpecTest.java | 41 assertNull(spec.keyStrength); in testParse_empty() 54 assertNull(spec.keyStrength); in testParse_initialCapacity() 75 assertNull(spec.keyStrength); in testParse_maximumSize() 96 assertNull(spec.keyStrength); in testParse_maximumWeight() 126 assertNull(spec.keyStrength); in testParse_concurrencyLevel() 148 assertEquals(Strength.WEAK, spec.keyStrength); in testParse_weakKeys() 177 assertNull(spec.keyStrength); in testParse_softValues() 198 assertNull(spec.keyStrength); in testParse_weakValues() 245 assertNull(spec.keyStrength); in testParse_writeExpirationDays() 292 assertNull(spec.keyStrength); in testParse_accessExpirationDays() [all …]
|
D | CacheBuilderFactory.java | 167 Strength keyStrength, 189 if (keyStrength != null) { 190 builder.setKeyStrength(keyStrength);
|
D | LocalCacheTest.java | 260 assertSame(Strength.STRONG, map.keyStrength); in testDefaults() 262 assertSame(map.keyStrength.defaultEquivalence(), map.keyEquivalence); in testDefaults() 326 assertSame(map.keyStrength.defaultEquivalence(), map.keyEquivalence); in testSetValueEquivalence() 484 LocalCache<Object, Object> map, Strength keyStrength, Strength valueStrength) { in checkStrength() argument 485 assertSame(keyStrength, map.keyStrength); in checkStrength() 487 assertSame(keyStrength.defaultEquivalence(), map.keyEquivalence); in checkStrength() 2609 assertEquals(localCacheOne.keyStrength, localCacheTwo.keyStrength); in testSerializationProxyLoading() 2610 assertEquals(localCacheOne.keyStrength, localCacheTwo.keyStrength); in testSerializationProxyLoading() 2626 assertEquals(localCacheTwo.keyStrength, localCacheThree.keyStrength); in testSerializationProxyLoading() 2627 assertEquals(localCacheTwo.keyStrength, localCacheThree.keyStrength); in testSerializationProxyLoading() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/cache/ |
D | CacheBuilderSpecTest.java | 41 assertNull(spec.keyStrength); in testParse_empty() 54 assertNull(spec.keyStrength); in testParse_initialCapacity() 75 assertNull(spec.keyStrength); in testParse_maximumSize() 96 assertNull(spec.keyStrength); in testParse_maximumWeight() 126 assertNull(spec.keyStrength); in testParse_concurrencyLevel() 148 assertEquals(Strength.WEAK, spec.keyStrength); in testParse_weakKeys() 177 assertNull(spec.keyStrength); in testParse_softValues() 198 assertNull(spec.keyStrength); in testParse_weakValues() 245 assertNull(spec.keyStrength); in testParse_writeExpirationDays() 292 assertNull(spec.keyStrength); in testParse_accessExpirationDays() [all …]
|
D | CacheBuilderFactory.java | 167 Strength keyStrength, 189 if (keyStrength != null) { 190 builder.setKeyStrength(keyStrength);
|
D | LocalCacheTest.java | 263 assertSame(Strength.STRONG, map.keyStrength); in testDefaults() 265 assertSame(map.keyStrength.defaultEquivalence(), map.keyEquivalence); in testDefaults() 329 assertSame(map.keyStrength.defaultEquivalence(), map.keyEquivalence); in testSetValueEquivalence() 487 LocalCache<Object, Object> map, Strength keyStrength, Strength valueStrength) { in checkStrength() argument 488 assertSame(keyStrength, map.keyStrength); in checkStrength() 490 assertSame(keyStrength.defaultEquivalence(), map.keyEquivalence); in checkStrength() 2560 assertEquals(localCacheOne.keyStrength, localCacheTwo.keyStrength); in testSerializationProxyLoading() 2561 assertEquals(localCacheOne.keyStrength, localCacheTwo.keyStrength); in testSerializationProxyLoading() 2577 assertEquals(localCacheTwo.keyStrength, localCacheThree.keyStrength); in testSerializationProxyLoading() 2578 assertEquals(localCacheTwo.keyStrength, localCacheThree.keyStrength); in testSerializationProxyLoading() [all …]
|
/external/guava/android/guava/src/com/google/common/cache/ |
D | CacheBuilderSpec.java | 117 @VisibleForTesting @CheckForNull Strength keyStrength; field in CacheBuilderSpec 183 if (keyStrength != null) { in toCacheBuilder() 184 switch (keyStrength) { in toCacheBuilder() 245 keyStrength, in hashCode() 266 && Objects.equal(keyStrength, that.keyStrength) in equals() 382 checkArgument(spec.keyStrength == null, "%s was already set to %s", key, spec.keyStrength); in parse() 383 spec.keyStrength = strength; in parse()
|
D | CacheBuilder.java | 278 @Nullable Strength keyStrength; field in CacheBuilder 613 checkState(keyStrength == null, "Key strength was already set to %s", keyStrength); in setKeyStrength() 614 keyStrength = checkNotNull(strength); in setKeyStrength() 619 return MoreObjects.firstNonNull(keyStrength, Strength.STRONG); in getKeyStrength() 964 if (keyStrength != null) { in toString() 965 s.add("keyStrength", Ascii.toLowerCase(keyStrength.toString())); in toString()
|
D | LocalCache.java | 192 final Strength keyStrength; field in LocalCache 244 keyStrength = builder.getKeyStrength(); in LocalCache() 263 entryFactory = EntryFactory.getFactory(keyStrength, usesAccessEntries(), usesWriteEntries()); in LocalCache() 370 return keyStrength != Strength.STRONG; in usesKeyReferences() 568 Strength keyStrength, boolean usesAccessQueue, boolean usesWriteQueue) { in getFactory() argument 570 ((keyStrength == Strength.WEAK) ? WEAK_MASK : 0) in getFactory() 4511 final Strength keyStrength; 4528 cache.keyStrength, 4543 Strength keyStrength, 4555 this.keyStrength = keyStrength; [all …]
|
/external/guava/guava/src/com/google/common/cache/ |
D | CacheBuilderSpec.java | 117 @VisibleForTesting @CheckForNull Strength keyStrength; field in CacheBuilderSpec 183 if (keyStrength != null) { in toCacheBuilder() 184 switch (keyStrength) { in toCacheBuilder() 245 keyStrength, in hashCode() 266 && Objects.equal(keyStrength, that.keyStrength) in equals() 382 checkArgument(spec.keyStrength == null, "%s was already set to %s", key, spec.keyStrength); in parse() 383 spec.keyStrength = strength; in parse()
|
D | CacheBuilder.java | 277 @Nullable Strength keyStrength; field in CacheBuilder 612 checkState(keyStrength == null, "Key strength was already set to %s", keyStrength); in setKeyStrength() 613 keyStrength = checkNotNull(strength); in setKeyStrength() 618 return MoreObjects.firstNonNull(keyStrength, Strength.STRONG); in getKeyStrength() 1065 if (keyStrength != null) { in toString() 1066 s.add("keyStrength", Ascii.toLowerCase(keyStrength.toString())); in toString()
|
D | LocalCache.java | 194 final Strength keyStrength; field in LocalCache 246 keyStrength = builder.getKeyStrength(); in LocalCache() 265 entryFactory = EntryFactory.getFactory(keyStrength, usesAccessEntries(), usesWriteEntries()); in LocalCache() 372 return keyStrength != Strength.STRONG; in usesKeyReferences() 570 Strength keyStrength, boolean usesAccessQueue, boolean usesWriteQueue) { in getFactory() argument 572 ((keyStrength == Strength.WEAK) ? WEAK_MASK : 0) in getFactory() 4682 final Strength keyStrength; 4699 cache.keyStrength, 4714 Strength keyStrength, 4726 this.keyStrength = keyStrength; [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | InternersTest.java | 57 assertEquals(Strength.STRONG, internerImpl.map.keyStrength()); in testStrong_builder() 83 assertEquals(Strength.WEAK, internerImpl.map.keyStrength()); in testWeak_builder()
|
D | ConcurrentHashMultisetTest.java | 335 private void testIdentityKeyEquality(MapMakerInternalMap.Strength keyStrength) { 338 new MapMaker().setKeyStrength(keyStrength).keyEquivalence(Equivalence.identity()).makeMap(); 371 private void testLogicalKeyEquality(MapMakerInternalMap.Strength keyStrength) { 374 new MapMaker().setKeyStrength(keyStrength).keyEquivalence(Equivalence.equals()).makeMap();
|
D | MapMakerInternalMapTest.java | 56 assertSame(Strength.STRONG, map.keyStrength()); in testDefaults() 58 assertSame(map.keyStrength().defaultEquivalence(), map.keyEquivalence); in testDefaults() 206 MapMakerInternalMap<Object, Object, ?, ?> map, Strength keyStrength, Strength valueStrength) { in checkStrength() argument 207 assertSame(keyStrength, map.keyStrength()); in checkStrength() 209 assertSame(keyStrength.defaultEquivalence(), map.keyEquivalence); in checkStrength()
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | InternersTest.java | 57 assertEquals(Strength.STRONG, internerImpl.map.keyStrength()); in testStrong_builder() 83 assertEquals(Strength.WEAK, internerImpl.map.keyStrength()); in testWeak_builder()
|
D | ConcurrentHashMultisetTest.java | 335 private void testIdentityKeyEquality(MapMakerInternalMap.Strength keyStrength) { 338 new MapMaker().setKeyStrength(keyStrength).keyEquivalence(Equivalence.identity()).makeMap(); 371 private void testLogicalKeyEquality(MapMakerInternalMap.Strength keyStrength) { 374 new MapMaker().setKeyStrength(keyStrength).keyEquivalence(Equivalence.equals()).makeMap();
|
D | MapMakerInternalMapTest.java | 56 assertSame(Strength.STRONG, map.keyStrength()); in testDefaults() 58 assertSame(map.keyStrength().defaultEquivalence(), map.keyEquivalence); in testDefaults() 206 MapMakerInternalMap<Object, Object, ?, ?> map, Strength keyStrength, Strength valueStrength) { in checkStrength() argument 207 assertSame(keyStrength, map.keyStrength()); in checkStrength() 209 assertSame(keyStrength.defaultEquivalence(), map.keyEquivalence); in checkStrength()
|