Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java415 int hashOne = map.hash(keyOne); in testNewEntry() local
416 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testNewEntry()
422 assertEquals(hashOne, entryOne.getHash()); in testNewEntry()
447 int hashOne = map.hash(keyOne); in testCopyEntry() local
448 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testCopyEntry()
466 assertEquals(hashOne, entryOne.getHash()); in testCopyEntry()
886 int hashOne = map.hash(keyOne); in testReclaimKey() local
887 DummyEntry<Object, Object> entryOne = createDummyEntry(keyOne, hashOne, valueOne, null); in testReclaimKey()
900 assertFalse(segment.reclaimKey(entryOne, hashOne)); in testReclaimKey()
912 assertTrue(segment.reclaimKey(entryOne, hashOne)); in testReclaimKey()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java928 int hashOne = map.hash(keyOne); in testNewEntry() local
929 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testNewEntry()
935 assertEquals(hashOne, entryOne.getHash()); in testNewEntry()
960 int hashOne = map.hash(keyOne); in testCopyEntry() local
961 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testCopyEntry()
979 assertEquals(hashOne, entryOne.getHash()); in testCopyEntry()
1522 int hashOne = map.hash(keyOne); in testReclaimKey() local
1523 DummyEntry<Object, Object> entryOne = createDummyEntry(keyOne, hashOne, valueOne, null); in testReclaimKey()
1536 assertFalse(segment.reclaimKey(entryOne, hashOne)); in testReclaimKey()
1548 assertTrue(segment.reclaimKey(entryOne, hashOne)); in testReclaimKey()
[all …]