Home
last modified time | relevance | path

Searched refs:newValueReference (Results 1 – 4 of 4) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java417 ValueReference<Object, Object> valueRefOne = map.newValueReference(entryOne, valueOne); in testNewEntry()
430 ValueReference<Object, Object> valueRefTwo = map.newValueReference(entryTwo, valueTwo); in testNewEntry()
449 entryOne.setValueReference(map.newValueReference(entryOne, valueOne)); in testCopyEntry()
455 entryTwo.setValueReference(map.newValueReference(entryTwo, valueTwo)); in testCopyEntry()
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()
548 dummyValueRef = map.newValueReference(dummy, dummyValue); in testSegmentGetAndContains()
850 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value); in testExpand()
1454 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value); in testEvictEntries()
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java930 ValueReference<Object, Object> valueRefOne = map.newValueReference(entryOne, valueOne, 1); in testNewEntry()
943 ValueReference<Object, Object> valueRefTwo = map.newValueReference(entryTwo, valueTwo, 1); in testNewEntry()
962 entryOne.setValueReference(map.newValueReference(entryOne, valueOne, 1)); in testCopyEntry()
968 entryTwo.setValueReference(map.newValueReference(entryTwo, valueTwo, 1)); in testCopyEntry()
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()
1064 dummyValueRef = map.newValueReference(dummy, dummyValue, 1); in testSegmentGetAndContains()
1444 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value, 1); in testExpand()
2235 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value, 1); in testEvictEntries()
/external/guava/guava/src/com/google/common/collect/
DMapMakerInternalMap.java1845 ValueReference<K, V> newValueReference(ReferenceEntry<K, V> entry, V value) { in newValueReference() method in MapMakerInternalMap
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java1833 ValueReference<K, V> newValueReference(ReferenceEntry<K, V> entry, V value, int weight) { in newValueReference() method in LocalCache