Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for setTableEntryForTesting (0.11 seconds)

  1. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        // same key
        segment.setTableEntryForTesting(index, entry);
        segment.count++;
        assertEquals(1, segment.count);
        assertThat(segment.get(key, hash)).isEqualTo(oldValue);
        assertThat(segment.remove(key, hash)).isEqualTo(oldValue);
        assertEquals(0, segment.count);
        assertThat(segment.get(key, hash)).isNull();
    
        // cleared
        segment.setTableEntryForTesting(index, entry);
        segment.count++;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 36K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        // same key
        segment.setTableEntryForTesting(index, entry);
        segment.count++;
        assertEquals(1, segment.count);
        assertThat(segment.get(key, hash)).isEqualTo(oldValue);
        assertThat(segment.remove(key, hash)).isEqualTo(oldValue);
        assertEquals(0, segment.count);
        assertThat(segment.get(key, hash)).isNull();
    
        // cleared
        segment.setTableEntryForTesting(index, entry);
        segment.count++;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 36K bytes
    - Click Count (0)
  3. 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. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  4. 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. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
Back to Top