Searched refs:newValueReference (Results 1 – 4 of 4) sorted by relevance
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapMakerInternalMapTest.java | 443 ValueReference<Object, Object> valueRefOne = map.newValueReference(entryOne, valueOne); in testNewEntry() 456 ValueReference<Object, Object> valueRefTwo = map.newValueReference(entryTwo, valueTwo); in testNewEntry() 475 entryOne.setValueReference(map.newValueReference(entryOne, valueOne)); in testCopyEntry() 481 entryTwo.setValueReference(map.newValueReference(entryTwo, valueTwo)); in testCopyEntry() 529 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value); in testSegmentGetAndContains() 551 ValueReference<Object, Object> nullValueRef = map.newValueReference(nullEntry, nullValue); in testSegmentGetAndContains() 563 ValueReference<Object, Object> dummyValueRef = map.newValueReference(dummy, dummyValue); in testSegmentGetAndContains() 574 dummyValueRef = map.newValueReference(dummy, dummyValue); in testSegmentGetAndContains() 876 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value); in testExpand() 1480 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value); in testEvictEntries()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | LocalCacheTest.java | 886 ValueReference<Object, Object> valueRefOne = map.newValueReference(entryOne, valueOne, 1); in testNewEntry() 899 ValueReference<Object, Object> valueRefTwo = map.newValueReference(entryTwo, valueTwo, 1); in testNewEntry() 918 entryOne.setValueReference(map.newValueReference(entryOne, valueOne, 1)); in testCopyEntry() 924 entryTwo.setValueReference(map.newValueReference(entryTwo, valueTwo, 1)); in testCopyEntry() 975 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value, 1); in testSegmentGetAndContains() 997 ValueReference<Object, Object> nullValueRef = map.newValueReference(nullEntry, nullValue, 1); in testSegmentGetAndContains() 1009 ValueReference<Object, Object> dummyValueRef = map.newValueReference(dummy, dummyValue, 1); in testSegmentGetAndContains() 1020 dummyValueRef = map.newValueReference(dummy, dummyValue, 1); in testSegmentGetAndContains() 1400 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value, 1); in testExpand() 2148 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value, 1); in testEvictEntries()
|
/external/guava/guava/src/com/google/common/collect/ |
D | MapMakerInternalMap.java | 1895 ValueReference<K, V> newValueReference(ReferenceEntry<K, V> entry, V value) { in newValueReference() method in MapMakerInternalMap
|
/external/guava/guava/src/com/google/common/cache/ |
D | LocalCache.java | 1882 ValueReference<K, V> newValueReference(ReferenceEntry<K, V> entry, V value, int weight) { in newValueReference() method in LocalCache
|