- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for setTableEntryForTesting (0.28 sec)
-
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
// same key segment.setTableEntryForTesting(index, entry); segment.count++; assertEquals(1, segment.count); assertSame(oldValue, segment.get(key, hash)); assertSame(oldValue, segment.remove(key, hash)); assertEquals(0, segment.count); assertThat(segment.get(key, hash)).isNull(); // cleared segment.setTableEntryForTesting(index, entry); segment.count++;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 35.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
// same key segment.setTableEntryForTesting(index, entry); segment.count++; assertEquals(1, segment.count); assertSame(oldValue, segment.get(key, hash)); assertSame(oldValue, segment.remove(key, hash)); assertEquals(0, segment.count); assertThat(segment.get(key, hash)).isNull(); // cleared segment.setTableEntryForTesting(index, entry); segment.count++;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 35.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
throw new AssertionError(); } /** * Unsafely sets the given index of this segment's internal hash table to be the given entry. */ void setTableEntryForTesting(int i, InternalEntry<K, V, ?> entry) { table.set(i, castForTesting(entry)); } /** Unsafely returns a copy of the given entry. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 89.9K bytes - Viewed (0)