Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setWeakValueReferenceForTesting (0.18 sec)

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

        WeakValueReference<Object, Object, ?> otherValueRef =
            segment.newWeakValueReferenceForTesting(entry, value);
        segment.setWeakValueReferenceForTesting(entry, otherValueRef);
        assertFalse(segment.clearValueForTesting(key, hash, valueRef));
        segment.setWeakValueReferenceForTesting(entry, valueRef);
        assertTrue(segment.clearValueForTesting(key, hash, valueRef));
      }
    
      // reference queues
    
    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

        WeakValueReference<Object, Object, ?> otherValueRef =
            segment.newWeakValueReferenceForTesting(entry, value);
        segment.setWeakValueReferenceForTesting(entry, otherValueRef);
        assertFalse(segment.clearValueForTesting(key, hash, valueRef));
        segment.setWeakValueReferenceForTesting(entry, valueRef);
        assertTrue(segment.clearValueForTesting(key, hash, valueRef));
      }
    
      // reference queues
    
    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 weak value reference inside the given {@code entry} to be the given {@code
         * valueReference}
         */
        void setWeakValueReferenceForTesting(
            InternalEntry<K, V, ?> entry,
            WeakValueReference<K, V, ? extends InternalEntry<K, V, ?>> valueReference) {
          throw new AssertionError();
        }
    
        /**
    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 weak value reference inside the given {@code entry} to be the given {@code
         * valueReference}
         */
        void setWeakValueReferenceForTesting(
            InternalEntry<K, V, ?> entry,
            WeakValueReference<K, V, ? extends InternalEntry<K, V, ?>> valueReference) {
          throw new AssertionError();
        }
    
        /**
    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