Home
last modified time | relevance | path

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

/external/guava/android/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java223 InternalEntry<Object, Object, ?> entryOne = segment.newEntryForTesting(keyOne, hashOne, null); in testNewEntry() local
225 segment.newWeakValueReferenceForTesting(entryOne, valueOne); in testNewEntry()
227 segment.setWeakValueReferenceForTesting(entryOne, valueRefOne); in testNewEntry()
229 assertSame(keyOne, entryOne.getKey()); in testNewEntry()
230 assertEquals(hashOne, entryOne.getHash()); in testNewEntry()
231 assertNull(entryOne.getNext()); in testNewEntry()
232 assertSame(valueRefOne, segment.getWeakValueReferenceForTesting(entryOne)); in testNewEntry()
239 segment.newEntryForTesting(keyTwo, hashTwo, entryOne); in testNewEntry()
247 assertSame(entryOne, entryTwo.getNext()); in testNewEntry()
260 InternalEntry<Object, Object, ?> entryOne = segment.newEntryForTesting(keyOne, hashOne, null); in testCopyEntry() local
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java223 InternalEntry<Object, Object, ?> entryOne = segment.newEntryForTesting(keyOne, hashOne, null); in testNewEntry() local
225 segment.newWeakValueReferenceForTesting(entryOne, valueOne); in testNewEntry()
227 segment.setWeakValueReferenceForTesting(entryOne, valueRefOne); in testNewEntry()
229 assertSame(keyOne, entryOne.getKey()); in testNewEntry()
230 assertEquals(hashOne, entryOne.getHash()); in testNewEntry()
231 assertNull(entryOne.getNext()); in testNewEntry()
232 assertSame(valueRefOne, segment.getWeakValueReferenceForTesting(entryOne)); in testNewEntry()
239 segment.newEntryForTesting(keyTwo, hashTwo, entryOne); in testNewEntry()
247 assertSame(entryOne, entryTwo.getNext()); in testNewEntry()
260 InternalEntry<Object, Object, ?> entryOne = segment.newEntryForTesting(keyOne, hashOne, null); in testCopyEntry() local
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java1055 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testNewEntry() local
1056 ValueReference<Object, Object> valueRefOne = map.newValueReference(entryOne, valueOne, 1); in testNewEntry()
1058 entryOne.setValueReference(valueRefOne); in testNewEntry()
1060 assertSame(keyOne, entryOne.getKey()); in testNewEntry()
1061 assertEquals(hashOne, entryOne.getHash()); in testNewEntry()
1062 assertNull(entryOne.getNext()); in testNewEntry()
1063 assertSame(valueRefOne, entryOne.getValueReference()); in testNewEntry()
1068 ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne); in testNewEntry()
1075 assertSame(entryOne, entryTwo.getNext()); in testNewEntry()
1087 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testCopyEntry() local
[all …]
/external/guava/android/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java1042 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testNewEntry() local
1043 ValueReference<Object, Object> valueRefOne = map.newValueReference(entryOne, valueOne, 1); in testNewEntry()
1045 entryOne.setValueReference(valueRefOne); in testNewEntry()
1047 assertSame(keyOne, entryOne.getKey()); in testNewEntry()
1048 assertEquals(hashOne, entryOne.getHash()); in testNewEntry()
1049 assertNull(entryOne.getNext()); in testNewEntry()
1050 assertSame(valueRefOne, entryOne.getValueReference()); in testNewEntry()
1055 ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne); in testNewEntry()
1062 assertSame(entryOne, entryTwo.getNext()); in testNewEntry()
1074 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testCopyEntry() local
[all …]