Home
last modified time | relevance | path

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

/external/guava/android/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java238 InternalEntry<Object, Object, ?> entryTwo = in testNewEntry() local
241 segment.newWeakValueReferenceForTesting(entryTwo, valueTwo); in testNewEntry()
243 segment.setWeakValueReferenceForTesting(entryTwo, valueRefTwo); in testNewEntry()
245 assertSame(keyTwo, entryTwo.getKey()); in testNewEntry()
246 assertEquals(hashTwo, entryTwo.getHash()); in testNewEntry()
247 assertSame(entryOne, entryTwo.getNext()); in testNewEntry()
248 assertSame(valueRefTwo, segment.getWeakValueReferenceForTesting(entryTwo)); in testNewEntry()
266 InternalEntry<Object, Object, ?> entryTwo = segment.newEntryForTesting(keyTwo, hashTwo, null); in testCopyEntry() local
267 segment.setValueForTesting(entryTwo, valueTwo); in testCopyEntry()
275 InternalEntry<Object, Object, ?> copyTwo = segment.copyForTesting(entryTwo, copyOne); in testCopyEntry()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java238 InternalEntry<Object, Object, ?> entryTwo = in testNewEntry() local
241 segment.newWeakValueReferenceForTesting(entryTwo, valueTwo); in testNewEntry()
243 segment.setWeakValueReferenceForTesting(entryTwo, valueRefTwo); in testNewEntry()
245 assertSame(keyTwo, entryTwo.getKey()); in testNewEntry()
246 assertEquals(hashTwo, entryTwo.getHash()); in testNewEntry()
247 assertSame(entryOne, entryTwo.getNext()); in testNewEntry()
248 assertSame(valueRefTwo, segment.getWeakValueReferenceForTesting(entryTwo)); in testNewEntry()
266 InternalEntry<Object, Object, ?> entryTwo = segment.newEntryForTesting(keyTwo, hashTwo, null); in testCopyEntry() local
267 segment.setValueForTesting(entryTwo, valueTwo); in testCopyEntry()
275 InternalEntry<Object, Object, ?> copyTwo = segment.copyForTesting(entryTwo, copyOne); in testCopyEntry()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java1068 ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne); in testNewEntry() local
1069 ValueReference<Object, Object> valueRefTwo = map.newValueReference(entryTwo, valueTwo, 1); in testNewEntry()
1071 entryTwo.setValueReference(valueRefTwo); in testNewEntry()
1073 assertSame(keyTwo, entryTwo.getKey()); in testNewEntry()
1074 assertEquals(hashTwo, entryTwo.getHash()); in testNewEntry()
1075 assertSame(entryOne, entryTwo.getNext()); in testNewEntry()
1076 assertSame(valueRefTwo, entryTwo.getValueReference()); in testNewEntry()
1093 ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne); in testCopyEntry() local
1094 entryTwo.setValueReference(map.newValueReference(entryTwo, valueTwo, 1)); in testCopyEntry()
1096 LocalCache.connectAccessOrder(entryOne, entryTwo); in testCopyEntry()
[all …]
/external/guava/android/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java1055 ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne); in testNewEntry() local
1056 ValueReference<Object, Object> valueRefTwo = map.newValueReference(entryTwo, valueTwo, 1); in testNewEntry()
1058 entryTwo.setValueReference(valueRefTwo); in testNewEntry()
1060 assertSame(keyTwo, entryTwo.getKey()); in testNewEntry()
1061 assertEquals(hashTwo, entryTwo.getHash()); in testNewEntry()
1062 assertSame(entryOne, entryTwo.getNext()); in testNewEntry()
1063 assertSame(valueRefTwo, entryTwo.getValueReference()); in testNewEntry()
1080 ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne); in testCopyEntry() local
1081 entryTwo.setValueReference(map.newValueReference(entryTwo, valueTwo, 1)); in testCopyEntry()
1083 LocalCache.connectAccessOrder(entryOne, entryTwo); in testCopyEntry()
[all …]