- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for SmallLazyStriped (0.2 seconds)
-
android/guava/src/com/google/common/util/concurrent/Striped.java
*/ @VisibleForTesting static final class SmallLazyStriped<L> extends PowerOfTwoStriped<L> { final AtomicReferenceArray<@Nullable ArrayReference<? extends L>> locks; final Supplier<L> supplier; final int size; final ReferenceQueue<L> queue = new ReferenceQueue<>(); SmallLazyStriped(int stripes, Supplier<L> supplier) { super(stripes);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 22:01:32 GMT 2025 - 20.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
.add(new Striped.SmallLazyStriped<ReadWriteLock>(50, ReentrantReadWriteLock::new)) .add(new Striped.SmallLazyStriped<ReadWriteLock>(64, ReentrantReadWriteLock::new)) .add(new Striped.LargeLazyStriped<ReadWriteLock>(50, ReentrantReadWriteLock::new)) .add(new Striped.LargeLazyStriped<ReadWriteLock>(64, ReentrantReadWriteLock::new)) .add(new Striped.SmallLazyStriped<Lock>(50, ReentrantLock::new))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
.add(new Striped.SmallLazyStriped<ReadWriteLock>(50, ReentrantReadWriteLock::new)) .add(new Striped.SmallLazyStriped<ReadWriteLock>(64, ReentrantReadWriteLock::new)) .add(new Striped.LargeLazyStriped<ReadWriteLock>(50, ReentrantReadWriteLock::new)) .add(new Striped.LargeLazyStriped<ReadWriteLock>(64, ReentrantReadWriteLock::new)) .add(new Striped.SmallLazyStriped<Lock>(50, ReentrantLock::new))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.1K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java
@Override Striped<Lock> get(int stripes) { return Striped.lock(stripes); } }, LAZY_SMALL { @Override Striped<Lock> get(int stripes) { return new Striped.SmallLazyStriped<>(stripes, LOCK_SUPPLIER); } }, LAZY_LARGE { @Override Striped<Lock> get(int stripes) { return new Striped.LargeLazyStriped<>(stripes, LOCK_SUPPLIER); } };Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4K bytes - Click Count (0)