Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ValueReference (0.14 sec)

  1. guava/src/com/google/common/cache/LocalCache.java

        @CheckForNull final ReferenceEntry<K, V> next;
        volatile ValueReference<K, V> valueReference = unset();
    
        @Override
        public ValueReference<K, V> getValueReference() {
          return valueReference;
        }
    
        @Override
        public void setValueReference(ValueReference<K, V> valueReference) {
          this.valueReference = valueReference;
        }
    
        @Override
        public int getHash() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/MapMakerInternalMap.java

            newEntry.valueReference = entry.valueReference.copyFor(segment.queueForValues, newEntry);
            return newEntry;
          }
    
          @Override
          public void setValue(
              StrongKeyWeakValueSegment<K, V> segment, StrongKeyWeakValueEntry<K, V> entry, V value) {
            WeakValueReference<K, V, StrongKeyWeakValueEntry<K, V>> previous = entry.valueReference;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/ReferenceEntry.java

    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    interface ReferenceEntry<K, V> {
      /** Returns the value reference from this entry. */
      @CheckForNull
      ValueReference<K, V> getValueReference();
    
      /** Sets the value reference for this entry. */
      void setValueReference(ValueReference<K, V> valueReference);
    
      /** Returns the next entry in the chain. */
      @CheckForNull
      ReferenceEntry<K, V> getNext();
    
      /** Returns the entry's hash. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          this.key = null;
        }
    
        private ValueReference<K, V> valueReference = unset();
    
        @Override
        public ValueReference<K, V> getValueReference() {
          return valueReference;
        }
    
        @Override
        public void setValueReference(ValueReference<K, V> valueReference) {
          this.valueReference = valueReference;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          this.key = null;
        }
    
        private ValueReference<K, V> valueReference = unset();
    
        @Override
        public ValueReference<K, V> getValueReference() {
          return valueReference;
        }
    
        @Override
        public void setValueReference(ValueReference<K, V> valueReference) {
          this.valueReference = valueReference;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

            newEntry.valueReference = entry.valueReference.copyFor(segment.queueForValues, newEntry);
            return newEntry;
          }
    
          @Override
          public void setValue(
              StrongKeyWeakValueSegment<K, V> segment, StrongKeyWeakValueEntry<K, V> entry, V value) {
            WeakValueReference<K, V, StrongKeyWeakValueEntry<K, V>> previous = entry.valueReference;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

                (WeakValueEntry<Object, Object, ?>) segment.getEntry(keyOne, hashOne);
            WeakValueReference<Object, Object, ?> valueReference = entry.getValueReference();
    
            @SuppressWarnings("unchecked")
            Reference<Object> reference = (Reference<Object>) valueReference;
            reference.enqueue();
    
            map.put(keyTwo, valueTwo);
            assertFalse(map.containsKey(keyOne));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

                (WeakValueEntry<Object, Object, ?>) segment.getEntry(keyOne, hashOne);
            WeakValueReference<Object, Object, ?> valueReference = entry.getValueReference();
    
            @SuppressWarnings("unchecked")
            Reference<Object> reference = (Reference<Object>) valueReference;
            reference.enqueue();
    
            map.put(keyTwo, valueTwo);
            assertFalse(map.containsKey(keyOne));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top