Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for clearValueForTesting (0.13 seconds)

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

        // clear absent
        assertFalse(segment.clearValueForTesting(key, hash, valueRef));
    
        segment.setTableEntryForTesting(0, entry);
        // don't increment count; this is used during computation
        assertTrue(segment.clearValueForTesting(key, hash, valueRef));
        // no notification sent with clearValue
        assertEquals(0, 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

        // clear absent
        assertFalse(segment.clearValueForTesting(key, hash, valueRef));
    
        segment.setTableEntryForTesting(0, entry);
        // don't increment count; this is used during computation
        assertTrue(segment.clearValueForTesting(key, hash, valueRef));
        // no notification sent with clearValue
        assertEquals(0, 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

          } finally {
            unlock();
          }
        }
    
        /** Clears a value that has not yet been set, and thus does not require count to be modified. */
        @CanIgnoreReturnValue
        boolean clearValueForTesting(
            K key,
            int hash,
            WeakValueReference<K, V, ? extends InternalEntry<K, V, ?>> valueReference) {
          lock();
          try {
            AtomicReferenceArray<E> table = this.table;
    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

          } finally {
            unlock();
          }
        }
    
        /** Clears a value that has not yet been set, and thus does not require count to be modified. */
        @CanIgnoreReturnValue
        boolean clearValueForTesting(
            K key,
            int hash,
            WeakValueReference<K, V, ? extends InternalEntry<K, V, ?>> valueReference) {
          lock();
          try {
            AtomicReferenceArray<E> table = this.table;
    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