Home
last modified time | relevance | path

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

/external/guava/guava/src/com/google/common/collect/
DMapMakerInternalMap.java2661 ReferenceEntry<K, V> newFirst = copyEntry(e, newNext); in expand() local
2662 newTable.set(newIndex, newFirst); in expand()
2694 ReferenceEntry<K, V> newFirst = removeFromChain(first, e); in replace() local
2696 table.set(index, newFirst); in replace()
2745 ReferenceEntry<K, V> newFirst = removeFromChain(first, e); in replace() local
2747 table.set(index, newFirst); in replace()
2795 ReferenceEntry<K, V> newFirst = removeFromChain(first, e); in remove() local
2797 table.set(index, newFirst); in remove()
2838 ReferenceEntry<K, V> newFirst = removeFromChain(first, e); in remove() local
2840 table.set(index, newFirst); in remove()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java975 ReferenceEntry<Object, Object> newFirst = segment.removeFromChain(entryThree, entryTwo); in testRemoveFromChain() local
976 assertSame(keyThree, newFirst.getKey()); in testRemoveFromChain()
977 assertSame(valueThree, newFirst.getValueReference().get()); in testRemoveFromChain()
978 assertEquals(hashThree, newFirst.getHash()); in testRemoveFromChain()
979 assertSame(entryOne, newFirst.getNext()); in testRemoveFromChain()
982 newFirst = segment.removeFromChain(entryThree, entryOne); in testRemoveFromChain()
983 assertSame(keyTwo, newFirst.getKey()); in testRemoveFromChain()
984 assertSame(valueTwo, newFirst.getValueReference().get()); in testRemoveFromChain()
985 assertEquals(hashTwo, newFirst.getHash()); in testRemoveFromChain()
986 newFirst = newFirst.getNext(); in testRemoveFromChain()
[all …]
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java2983 ReferenceEntry<K, V> newFirst = copyEntry(e, newNext); in expand() local
2984 newTable.set(newIndex, newFirst); in expand()
3015 ReferenceEntry<K, V> newFirst = removeValueFromChain( in replace() local
3018 table.set(index, newFirst); in replace()
3068 ReferenceEntry<K, V> newFirst = removeValueFromChain( in replace() local
3071 table.set(index, newFirst); in replace()
3122 ReferenceEntry<K, V> newFirst = removeValueFromChain( in remove() local
3125 table.set(index, newFirst); in remove()
3219 ReferenceEntry<K, V> newFirst = removeValueFromChain( in remove() local
3222 table.set(index, newFirst); in remove()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java1498 ReferenceEntry<Object, Object> newFirst = segment.removeEntryFromChain(entryThree, entryTwo); in testRemoveEntryFromChain() local
1499 assertSame(keyThree, newFirst.getKey()); in testRemoveEntryFromChain()
1500 assertSame(valueThree, newFirst.getValueReference().get()); in testRemoveEntryFromChain()
1501 assertEquals(hashThree, newFirst.getHash()); in testRemoveEntryFromChain()
1502 assertSame(entryOne, newFirst.getNext()); in testRemoveEntryFromChain()
1505 newFirst = segment.removeEntryFromChain(entryThree, entryOne); in testRemoveEntryFromChain()
1506 assertSame(keyTwo, newFirst.getKey()); in testRemoveEntryFromChain()
1507 assertSame(valueTwo, newFirst.getValueReference().get()); in testRemoveEntryFromChain()
1508 assertEquals(hashTwo, newFirst.getHash()); in testRemoveEntryFromChain()
1509 newFirst = newFirst.getNext(); in testRemoveEntryFromChain()
[all …]