/external/guava/guava/src/com/google/common/collect/ |
D | MapMakerInternalMap.java | 299 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value) { in referenceValue() 312 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value) { in referenceValue() 325 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value) { in referenceValue() 339 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value); in referenceValue() 355 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() 356 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry() 362 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() 363 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry() 368 <K, V> ReferenceEntry<K, V> copyEntry( in copyEntry() 369 Segment<K, V> segment, ReferenceEntry<K, V> original, ReferenceEntry<K, V> newNext) { in copyEntry() [all …]
|
D | ComputingConcurrentHashMap.java | 83 ReferenceEntry<K, V> e = getEntry(key, hash); in getOrCompute() 102 AtomicReferenceArray<ReferenceEntry<K, V>> table = this.table; in getOrCompute() 104 ReferenceEntry<K, V> first = table.get(index); in getOrCompute() 173 V compute(K key, int hash, ReferenceEntry<K, V> e, in compute() 223 public ReferenceEntry<K, V> getEntry() { in getEntry() 228 public ValueReference<K, V> copyFor(ReferenceQueue<V> queue, ReferenceEntry<K, V> entry) { in copyFor() 262 public ReferenceEntry<K, V> getEntry() { in getEntry() 267 public ValueReference<K, V> copyFor(ReferenceQueue<V> queue, ReferenceEntry<K, V> entry) { in copyFor() 303 public ReferenceEntry<K, V> getEntry() { in getEntry() 308 public ValueReference<K, V> copyFor(ReferenceQueue<V> queue, ReferenceEntry<K, V> entry) { in copyFor()
|
D | Interners.java | 23 import com.google.common.collect.MapMakerInternalMap.ReferenceEntry; 68 ReferenceEntry<E, Dummy> entry = map.getEntry(sample);
|
/external/guava/guava/src/com/google/common/cache/ |
D | LocalCache.java | 376 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight) { in referenceValue() 391 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight) { in referenceValue() 407 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight) { in referenceValue() 424 Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight); in referenceValue() 440 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() 441 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry() 447 <K, V> ReferenceEntry<K, V> newEntry( in newEntry() 448 Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) { in newEntry() 453 <K, V> ReferenceEntry<K, V> copyEntry( in copyEntry() 454 Segment<K, V> segment, ReferenceEntry<K, V> original, ReferenceEntry<K, V> newNext) { in copyEntry() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapMakerInternalMapTest.java | 32 import com.google.common.collect.MapMakerInternalMap.ReferenceEntry; 395 ReferenceEntry<Object, Object> entry = segment.getEntry(one, hash); in testRemovalListener_collected() 442 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testNewEntry() 455 ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne); in testNewEntry() 474 ReferenceEntry<Object, Object> entryOne = map.newEntry(keyOne, hashOne, null); in testCopyEntry() 480 ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne); in testCopyEntry() 490 ReferenceEntry<Object, Object> copyOne = map.copyEntry(entryOne, null); in testCopyEntry() 497 ReferenceEntry<Object, Object> copyTwo = map.copyEntry(entryTwo, copyOne); in testCopyEntry() 507 MapMakerInternalMap<K, V> map, ReferenceEntry<K, V> one, ReferenceEntry<K, V> two) { in assertConnected() 525 AtomicReferenceArray<ReferenceEntry<Object, Object>> table = segment.table; in testSegmentGetAndContains() [all …]
|
D | ComputingConcurrentHashMapTest.java | 30 import com.google.common.collect.MapMakerInternalMap.ReferenceEntry; 115 List<ReferenceEntry<Object, Object>> writeOrder = Lists.newLinkedList(); in testRecordReadOnCompute() 116 List<ReferenceEntry<Object, Object>> readOrder = Lists.newLinkedList(); in testRecordReadOnCompute() 122 ReferenceEntry<Object, Object> entry = segment.getEntry(key, hash); in testRecordReadOnCompute() 133 List<ReferenceEntry<Object, Object>> reads = Lists.newArrayList(); in testRecordReadOnCompute() 134 Iterator<ReferenceEntry<Object, Object>> i = readOrder.iterator(); in testRecordReadOnCompute() 136 ReferenceEntry<Object, Object> entry = i.next(); in testRecordReadOnCompute() 172 AtomicReferenceArray<ReferenceEntry<Object, Object>> table = segment.table; in testComputePartiallyCollectedKey() 201 AtomicReferenceArray<ReferenceEntry<Object, Object>> table = segment.table; in testComputePartiallyCollectedValue()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheTesting.java | 27 import com.google.common.cache.LocalCache.ReferenceEntry; 65 ReferenceEntry<K, V> entry = getReferenceEntry(cache, key); in simulateValueReclamation() 84 ReferenceEntry<K, V> entry = getReferenceEntry(cache, key); in simulateKeyReclamation() 93 static <K, V> ReferenceEntry<K, V> getReferenceEntry(Cache<K, V> cache, K key) { in getReferenceEntry() 222 Set<ReferenceEntry<?, ?>> entries = Sets.newIdentityHashSet(); in checkExpiration() 224 ReferenceEntry<?, ?> prev = null; in checkExpiration() 225 for (ReferenceEntry<?, ?> current : segment.writeQueue) { in checkExpiration() 244 Set<ReferenceEntry<?, ?>> entries = Sets.newIdentityHashSet(); in checkExpiration() 246 ReferenceEntry<?, ?> prev = null; in checkExpiration() 247 for (ReferenceEntry<?, ?> current : segment.accessQueue) { in checkExpiration() [all …]
|
D | LocalCacheTest.java | 41 import com.google.common.cache.LocalCache.ReferenceEntry; 420 List<ReferenceEntry<Object, Object>> writeOrder = Lists.newLinkedList(); in testRecordReadOnCompute() 421 List<ReferenceEntry<Object, Object>> readOrder = Lists.newLinkedList(); in testRecordReadOnCompute() 427 ReferenceEntry<Object, Object> entry = segment.getEntry(key, hash); in testRecordReadOnCompute() 438 List<ReferenceEntry<Object, Object>> reads = Lists.newArrayList(); in testRecordReadOnCompute() 439 Iterator<ReferenceEntry<Object, Object>> i = readOrder.iterator(); in testRecordReadOnCompute() 441 ReferenceEntry<Object, Object> entry = i.next(); in testRecordReadOnCompute() 476 AtomicReferenceArray<ReferenceEntry<Object, Object>> table = segment.table; in testComputePartiallyCollectedKey() 505 AtomicReferenceArray<ReferenceEntry<Object, Object>> table = segment.table; in testComputePartiallyCollectedValue() 566 AtomicReferenceArray<ReferenceEntry<Object, Object>> table = segment.table; in testCopyEntry_computing() [all …]
|
D | CacheEvictionTest.java | 25 import com.google.common.cache.LocalCache.ReferenceEntry; 139 new Receiver<ReferenceEntry<Integer, Integer>>() { in testUpdateRecency_onGet() 141 public void accept(ReferenceEntry<Integer, Integer> entry) { in testUpdateRecency_onGet() 154 new Receiver<ReferenceEntry<Integer, Integer>>() { in testUpdateRecency_onInvalidate() 156 public void accept(ReferenceEntry<Integer, Integer> entry) { in testUpdateRecency_onInvalidate()
|
/external/chromium/net/disk_cache/ |
D | in_flight_backend_io.h | 43 void ReferenceEntry();
|
D | in_flight_backend_io.cc | 46 void BackendIO::ReferenceEntry() { in ReferenceEntry() function in disk_cache::BackendIO
|