- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ReferenceEntry (0.09 sec)
-
android/guava/src/com/google/common/cache/ReferenceEntry.java
ReferenceEntry<K, V> getNextInAccessQueue(); /** Sets the next entry in the access queue. */ void setNextInAccessQueue(ReferenceEntry<K, V> next); /** Returns the previous entry in the access queue. */ ReferenceEntry<K, V> getPreviousInAccessQueue(); /** Sets the previous entry in the access queue. */ void setPreviousInAccessQueue(ReferenceEntry<K, V> previous); /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
<K, V> ReferenceEntry<K, V> newEntry( Segment<K, V> segment, K key, int hash, @CheckForNull ReferenceEntry<K, V> next) { return new StrongWriteEntry<>(key, hash, next); } @Override <K, V> ReferenceEntry<K, V> copyEntry( Segment<K, V> segment, ReferenceEntry<K, V> original, ReferenceEntry<K, V> newNext, K key) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 149.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
} private static <K, V> void assertSameEntries( List<ReferenceEntry<K, V>> expectedEntries, List<ReferenceEntry<K, V>> actualEntries) { int size = expectedEntries.size(); assertEquals(size, actualEntries.size()); for (int i = 0; i < size; i++) { ReferenceEntry<K, V> expectedEntry = expectedEntries.get(i); ReferenceEntry<K, V> actualEntry = actualEntries.get(i);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 110.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
} private static <K, V> void assertSameEntries( List<ReferenceEntry<K, V>> expectedEntries, List<ReferenceEntry<K, V>> actualEntries) { int size = expectedEntries.size(); assertEquals(size, actualEntries.size()); for (int i = 0; i < size; i++) { ReferenceEntry<K, V> expectedEntry = expectedEntries.get(i); ReferenceEntry<K, V> actualEntry = actualEntries.get(i);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 112.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java
@SuppressWarnings("CheckReturnValue") public class ChainBenchmark { @Param({"1", "2", "3", "4", "5", "6"}) int length; private Segment<Object, Object> segment; private ReferenceEntry<Object, Object> head; private @Nullable ReferenceEntry<Object, Object> chain; @SuppressWarnings("GuardedBy") @BeforeExperiment void setUp() { LocalCache<Object, Object> cache =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:19:38 UTC 2023 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheEvictionTest.java
CacheBuilder.newBuilder().maximumSize(MAX_SIZE).build(loader); CacheTesting.checkRecency( cache, MAX_SIZE, new Receiver<ReferenceEntry<Integer, Integer>>() { @Override public void accept(ReferenceEntry<Integer, Integer> entry) { cache.getUnchecked(entry.getKey()); } }); } public void testUpdateRecency_onInvalidate() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 15K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java
@SuppressWarnings("CheckReturnValue") public class ChainBenchmark { @Param({"1", "2", "3", "4", "5", "6"}) int length; private Segment<Object, Object> segment; private ReferenceEntry<Object, Object> head; private @Nullable ReferenceEntry<Object, Object> chain; @SuppressWarnings("GuardedBy") @BeforeExperiment void setUp() { LocalCache<Object, Object> cache =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:19:38 UTC 2023 - 2.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/cache/SegmentBenchmark.java
} checkState(segment.table.length() == capacity); } @SuppressWarnings("GuardedBy") @Benchmark int time(int reps) { int dummy = 0; AtomicReferenceArray<ReferenceEntry<Object, Object>> oldTable = segment.table; for (int i = 0; i < reps; i++) { // TODO(b/145386688): This access should be guarded by 'this.segment', which is not currently // held segment.expand();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 23 16:59:39 UTC 2019 - 2.1K bytes - Viewed (0)