Home
last modified time | relevance | path

Searched refs:valueReference (Results 1 – 10 of 10) sorted by relevance

/external/guava/guava/src/com/google/common/cache/
DLocalCache.java738 public void setValueReference(ValueReference<Object, Object> valueReference) {} in setValueReference() argument
811 public void setValueReference(ValueReference<K, V> valueReference) { in setValueReference() argument
957 volatile ValueReference<K, V> valueReference = unset(); field in LocalCache.StrongEntry
961 return valueReference; in getValueReference()
965 public void setValueReference(ValueReference<K, V> valueReference) { in setValueReference() argument
966 this.valueReference = valueReference; in setValueReference()
1244 volatile ValueReference<K, V> valueReference = unset(); field in LocalCache.WeakEntry
1248 return valueReference; in getValueReference()
1252 public void setValueReference(ValueReference<K, V> valueReference) { in setValueReference() argument
1253 this.valueReference = valueReference; in setValueReference()
[all …]
DReferenceEntry.java47 void setValueReference(ValueReference<K, V> valueReference); in setValueReference() argument
/external/guava/android/guava/src/com/google/common/cache/
DLocalCache.java734 public void setValueReference(ValueReference<Object, Object> valueReference) {} in setValueReference() argument
807 public void setValueReference(ValueReference<K, V> valueReference) { in setValueReference() argument
953 volatile ValueReference<K, V> valueReference = unset(); field in LocalCache.StrongEntry
957 return valueReference; in getValueReference()
961 public void setValueReference(ValueReference<K, V> valueReference) { in setValueReference() argument
962 this.valueReference = valueReference; in setValueReference()
1240 volatile ValueReference<K, V> valueReference = unset(); field in LocalCache.WeakEntry
1244 return valueReference; in getValueReference()
1248 public void setValueReference(ValueReference<K, V> valueReference) { in setValueReference() argument
1249 this.valueReference = valueReference; in setValueReference()
[all …]
DReferenceEntry.java47 void setValueReference(ValueReference<K, V> valueReference); in setValueReference() argument
/external/guava/guava/src/com/google/common/collect/
DMapMakerInternalMap.java476 private volatile WeakValueReference<K, V, StrongKeyWeakValueEntry<K, V>> valueReference = field in MapMakerInternalMap.StrongKeyWeakValueEntry
485 return valueReference.get(); in getValue()
490 valueReference.clear(); in clearValue()
494 WeakValueReference<K, V, StrongKeyWeakValueEntry<K, V>> previous = this.valueReference; in setValue()
495 this.valueReference = new WeakValueReferenceImpl<>(queueForValues, value, this); in setValue()
502 newEntry.valueReference = valueReference.copyFor(queueForValues, newEntry); in copy()
508 return valueReference; in getValueReference()
843 private volatile WeakValueReference<K, V, WeakKeyWeakValueEntry<K, V>> valueReference = field in MapMakerInternalMap.WeakKeyWeakValueEntry
853 return valueReference.get(); in getValue()
862 newEntry.valueReference = valueReference.copyFor(queueForValues, newEntry); in copy()
[all …]
/external/guava/android/guava/src/com/google/common/collect/
DMapMakerInternalMap.java477 private volatile WeakValueReference<K, V, StrongKeyWeakValueEntry<K, V>> valueReference = field in MapMakerInternalMap.StrongKeyWeakValueEntry
486 return valueReference.get(); in getValue()
491 valueReference.clear(); in clearValue()
495 WeakValueReference<K, V, StrongKeyWeakValueEntry<K, V>> previous = this.valueReference; in setValue()
496 this.valueReference = new WeakValueReferenceImpl<>(queueForValues, value, this); in setValue()
503 newEntry.valueReference = valueReference.copyFor(queueForValues, newEntry); in copy()
509 return valueReference; in getValueReference()
848 private volatile WeakValueReference<K, V, WeakKeyWeakValueEntry<K, V>> valueReference = field in MapMakerInternalMap.WeakKeyWeakValueEntry
858 return valueReference.get(); in getValue()
867 newEntry.valueReference = valueReference.copyFor(queueForValues, newEntry); in copy()
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java883 WeakValueReference<Object, Object, ?> valueReference = entry.getValueReference(); in testDrainValueReferenceQueueOnWrite() local
886 Reference<Object> reference = (Reference<Object>) valueReference; in testDrainValueReferenceQueueOnWrite()
944 WeakValueReference<Object, Object, ?> valueReference = entry.getValueReference(); in testDrainValueReferenceQueueOnRead() local
947 Reference<Object> reference = (Reference<Object>) valueReference; in testDrainValueReferenceQueueOnRead()
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java883 WeakValueReference<Object, Object, ?> valueReference = entry.getValueReference(); in testDrainValueReferenceQueueOnWrite() local
886 Reference<Object> reference = (Reference<Object>) valueReference; in testDrainValueReferenceQueueOnWrite()
944 WeakValueReference<Object, Object, ?> valueReference = entry.getValueReference(); in testDrainValueReferenceQueueOnRead() local
947 Reference<Object> reference = (Reference<Object>) valueReference; in testDrainValueReferenceQueueOnRead()
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java779 LoadingValueReference<Object, Object> valueReference = in testCopyEntry_computing() local
781 assertFalse(valueReference.futureValue.isDone()); in testCopyEntry_computing()
2492 ValueReference<Object, Object> valueReference = entry.getValueReference(); in testDrainValueReferenceQueueOnWrite() local
2495 Reference<Object> reference = (Reference<Object>) valueReference; in testDrainValueReferenceQueueOnWrite()
2551 ValueReference<Object, Object> valueReference = entry.getValueReference(); in testDrainValueReferenceQueueOnRead() local
2554 Reference<Object> reference = (Reference<Object>) valueReference; in testDrainValueReferenceQueueOnRead()
2773 private ValueReference<K, V> valueReference = unset(); field in LocalCacheTest.DummyEntry
2777 return valueReference; in getValueReference()
2781 public void setValueReference(ValueReference<K, V> valueReference) { in setValueReference() argument
2782 this.valueReference = valueReference; in setValueReference()
/external/guava/android/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java766 LoadingValueReference<Object, Object> valueReference = in testCopyEntry_computing() local
768 assertFalse(valueReference.futureValue.isDone()); in testCopyEntry_computing()
2443 ValueReference<Object, Object> valueReference = entry.getValueReference(); in testDrainValueReferenceQueueOnWrite() local
2446 Reference<Object> reference = (Reference<Object>) valueReference; in testDrainValueReferenceQueueOnWrite()
2502 ValueReference<Object, Object> valueReference = entry.getValueReference(); in testDrainValueReferenceQueueOnRead() local
2505 Reference<Object> reference = (Reference<Object>) valueReference; in testDrainValueReferenceQueueOnRead()
2724 private ValueReference<K, V> valueReference = unset(); field in LocalCacheTest.DummyEntry
2728 return valueReference; in getValueReference()
2732 public void setValueReference(ValueReference<K, V> valueReference) { in setValueReference() argument
2733 this.valueReference = valueReference; in setValueReference()