- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for lazyWeakCustom (0.1 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
.add(new Striped.LargeLazyStriped<Semaphore>(50, SEMAPHORE_SUPPLER)) .add(new Striped.LargeLazyStriped<Semaphore>(64, SEMAPHORE_SUPPLER)) .add(Striped.lazyWeakCustom(50, FAIR_LOCK_SUPPLER)) .add(Striped.lazyWeakCustom(64, FAIR_LOCK_SUPPLER)) .build(); } private static Iterable<Striped<?>> allImplementations() { return concat(strongImplementations(), weakImplementations()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 8.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
.add(new Striped.LargeLazyStriped<Semaphore>(50, SEMAPHORE_SUPPLER)) .add(new Striped.LargeLazyStriped<Semaphore>(64, SEMAPHORE_SUPPLER)) .add(Striped.lazyWeakCustom(50, FAIR_LOCK_SUPPLER)) .add(Striped.lazyWeakCustom(64, FAIR_LOCK_SUPPLER)) .build(); } private static Iterable<Striped<?>> allImplementations() { return concat(strongImplementations(), weakImplementations()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 8.5K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/Striped.java
* reentrant. * * @param stripes the minimum number of stripes (locks) required * @return a new {@code Striped<Lock>} */ public static Striped<Lock> lazyWeakLock(int stripes) { return lazyWeakCustom(stripes, () -> new ReentrantLock(false)); } /** * Creates a {@code Striped<L>} with lazily initialized, weakly referenced locks. Every lock is * obtained from the passed supplier. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 22:01:32 GMT 2025 - 20.6K bytes - Click Count (0)