/external/guava/guava/src/com/google/common/collect/ |
D | ComputingConcurrentHashMap.java | 108 ValueReference<K, V> valueReference = e.getValueReference(); in getOrCompute() 208 private static final class ComputationExceptionReference<K, V> implements ValueReference<K, V> { 226 public ValueReference<K, V> copyFor( in copyFor() 242 public void clear(ValueReference<K, V> newValue) {} in clear() 248 private static final class ComputedReference<K, V> implements ValueReference<K, V> { 266 public ValueReference<K, V> copyFor( in copyFor() 282 public void clear(ValueReference<K, V> newValue) {} in clear() 285 private static final class ComputingValueReference<K, V> implements ValueReference<K, V> { 289 volatile ValueReference<K, V> computedReference = unset(); 308 public ValueReference<K, V> copyFor( in copyFor() [all …]
|
D | MapMakerInternalMap.java | 297 <K, V> ValueReference<K, V> referenceValue( in referenceValue() 310 <K, V> ValueReference<K, V> referenceValue( in referenceValue() 323 <K, V> ValueReference<K, V> referenceValue( in referenceValue() 337 abstract <K, V> ValueReference<K, V> referenceValue( in referenceValue() 531 interface ValueReference<K, V> { interface in MapMakerInternalMap 556 ValueReference<K, V> copyFor( in copyFor() 565 void clear(@Nullable ValueReference<K, V> newValue); in clear() 578 static final ValueReference<Object, Object> UNSET = new ValueReference<Object, Object>() { 590 public ValueReference<Object, Object> copyFor(ReferenceQueue<Object> queue, 606 public void clear(ValueReference<Object, Object> newValue) {} [all …]
|
/external/guava/guava/src/com/google/common/cache/ |
D | LocalCache.java | 380 <K, V> ValueReference<K, V> referenceValue( in referenceValue() 395 <K, V> ValueReference<K, V> referenceValue( in referenceValue() 411 <K, V> ValueReference<K, V> referenceValue( in referenceValue() 428 abstract <K, V> ValueReference<K, V> referenceValue( in referenceValue() 625 interface ValueReference<K, V> { interface in LocalCache 658 ValueReference<K, V> copyFor( in copyFor() 687 static final ValueReference<Object, Object> UNSET = new ValueReference<Object, Object>() { 704 public ValueReference<Object, Object> copyFor(ReferenceQueue<Object> queue, 732 static <K, V> ValueReference<K, V> unset() { in unset() 733 return (ValueReference<K, V>) UNSET; in unset() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapMakerInternalMapTest.java | 35 import com.google.common.collect.MapMakerInternalMap.ValueReference; 417 ValueReference<Object, Object> valueRefOne = map.newValueReference(entryOne, valueOne); in testNewEntry() 430 ValueReference<Object, Object> valueRefTwo = map.newValueReference(entryTwo, valueTwo); in testNewEntry() 503 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value); in testSegmentGetAndContains() 525 ValueReference<Object, Object> nullValueRef = map.newValueReference(nullEntry, nullValue); in testSegmentGetAndContains() 537 ValueReference<Object, Object> dummyValueRef = map.newValueReference(dummy, dummyValue); in testSegmentGetAndContains() 850 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value); in testExpand() 986 ValueReference<Object, Object> valueRef = DummyValueReference.create(value, entry); in testExpand_cleanup() 1454 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value); in testEvictEntries() 1521 ValueReference<Object, Object> valueReference = entry.getValueReference(); in testDrainValueReferenceQueueOnWrite() [all …]
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | LocalCacheTest.java | 43 import com.google.common.cache.LocalCache.ValueReference; 930 ValueReference<Object, Object> valueRefOne = map.newValueReference(entryOne, valueOne, 1); in testNewEntry() 943 ValueReference<Object, Object> valueRefTwo = map.newValueReference(entryTwo, valueTwo, 1); in testNewEntry() 1019 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value, 1); in testSegmentGetAndContains() 1041 ValueReference<Object, Object> nullValueRef = map.newValueReference(nullEntry, nullValue, 1); in testSegmentGetAndContains() 1053 ValueReference<Object, Object> dummyValueRef = map.newValueReference(dummy, dummyValue, 1); in testSegmentGetAndContains() 1444 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value, 1); in testExpand() 1622 ValueReference<Object, Object> valueRef = DummyValueReference.create(value); in testExpand_cleanup() 2235 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value, 1); in testEvictEntries() 2303 ValueReference<Object, Object> valueReference = entry.getValueReference(); in testDrainValueReferenceQueueOnWrite() [all …]
|
D | CacheTesting.java | 30 import com.google.common.cache.LocalCache.ValueReference; 68 ValueReference<K, V> valueRef = entry.getValueReference(); in simulateValueReclamation()
|