Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setTableEntryForTesting (0.3 sec)

  1. 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);
        assertNull(segment.get(key, hash));
    
        // cleared
        segment.setTableEntryForTesting(index, entry);
        segment.count++;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. 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);
        assertNull(segment.get(key, hash));
    
        // cleared
        segment.setTableEntryForTesting(index, entry);
        segment.count++;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (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. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (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. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
Back to top