Home
last modified time | relevance | path

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

/external/guava/android/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java222 int hashOne = map.hash(keyOne); in testNewEntry() local
223 InternalEntry<Object, Object, ?> entryOne = segment.newEntryForTesting(keyOne, hashOne, null); in testNewEntry()
230 assertEquals(hashOne, entryOne.getHash()); in testNewEntry()
259 int hashOne = map.hash(keyOne); in testCopyEntry() local
260 InternalEntry<Object, Object, ?> entryOne = segment.newEntryForTesting(keyOne, hashOne, null); in testCopyEntry()
271 assertEquals(hashOne, entryOne.getHash()); in testCopyEntry()
651 int hashOne = map.hash(keyOne); in testRemoveFromChain() local
652 InternalEntry<Object, Object, ?> entryOne = segment.newEntryForTesting(keyOne, hashOne, null); in testRemoveFromChain()
845 int hashOne = map.hash(keyOne); in testDrainKeyReferenceQueueOnWrite() local
851 InternalEntry<Object, Object, ?> entry = segment.getEntry(keyOne, hashOne); in testDrainKeyReferenceQueueOnWrite()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java222 int hashOne = map.hash(keyOne); in testNewEntry() local
223 InternalEntry<Object, Object, ?> entryOne = segment.newEntryForTesting(keyOne, hashOne, null); in testNewEntry()
230 assertEquals(hashOne, entryOne.getHash()); in testNewEntry()
259 int hashOne = map.hash(keyOne); in testCopyEntry() local
260 InternalEntry<Object, Object, ?> entryOne = segment.newEntryForTesting(keyOne, hashOne, null); in testCopyEntry()
271 assertEquals(hashOne, entryOne.getHash()); in testCopyEntry()
651 int hashOne = map.hash(keyOne); in testRemoveFromChain() local
652 InternalEntry<Object, Object, ?> entryOne = segment.newEntryForTesting(keyOne, hashOne, null); in testRemoveFromChain()
845 int hashOne = map.hash(keyOne); in testDrainKeyReferenceQueueOnWrite() local
851 InternalEntry<Object, Object, ?> entry = segment.getEntry(keyOne, hashOne); in testDrainKeyReferenceQueueOnWrite()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java1054 int hashOne = map.hash(keyOne); in testNewEntry() local
1055 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testNewEntry()
1061 assertEquals(hashOne, entryOne.getHash()); in testNewEntry()
1086 int hashOne = map.hash(keyOne); in testCopyEntry() local
1087 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testCopyEntry()
1105 assertEquals(hashOne, entryOne.getHash()); in testCopyEntry()
1662 int hashOne = map.hash(keyOne); in testReclaimKey() local
1663 DummyEntry<Object, Object> entryOne = createDummyEntry(keyOne, hashOne, valueOne, null); in testReclaimKey()
1676 assertFalse(segment.reclaimKey(entryOne, hashOne)); in testReclaimKey()
1688 assertTrue(segment.reclaimKey(entryOne, hashOne)); in testReclaimKey()
[all …]
/external/guava/android/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java1041 int hashOne = map.hash(keyOne); in testNewEntry() local
1042 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testNewEntry()
1048 assertEquals(hashOne, entryOne.getHash()); in testNewEntry()
1073 int hashOne = map.hash(keyOne); in testCopyEntry() local
1074 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testCopyEntry()
1092 assertEquals(hashOne, entryOne.getHash()); in testCopyEntry()
1649 int hashOne = map.hash(keyOne); in testReclaimKey() local
1650 DummyEntry<Object, Object> entryOne = createDummyEntry(keyOne, hashOne, valueOne, null); in testReclaimKey()
1663 assertFalse(segment.reclaimKey(entryOne, hashOne)); in testReclaimKey()
1675 assertTrue(segment.reclaimKey(entryOne, hashOne)); in testReclaimKey()
[all …]