- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for Soft (0.01 sec)
-
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* return weakRef; * } * public void testFooLeak() { * GcFinalization.awaitClear(fooWeakRef()); * } * } * * <p>This class cannot currently be used to test soft references, since this class does not try to * create the memory pressure required to cause soft references to be cleared. * * <p>This class only provides testing utilities. It is not designed for direct use in production or * for benchmarking. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
* return weakRef; * } * public void testFooLeak() { * GcFinalization.awaitClear(fooWeakRef()); * } * } * * <p>This class cannot currently be used to test soft references, since this class does not try to * create the memory pressure required to cause soft references to be cleared. * * <p>This class only provides testing utilities. It is not designed for direct use in production or * for benchmarking. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
assertThat(spec.maximumWeight).isNull(); assertThat(spec.concurrencyLevel).isNull(); assertThat(spec.keyStrength).isNull(); assertThat(spec.valueStrength).isEqualTo(Strength.SOFT); assertThat(spec.writeExpirationTimeUnit).isNull(); assertThat(spec.accessExpirationTimeUnit).isNull(); assertCacheBuilderEquivalence(CacheBuilder.newBuilder().softValues(), CacheBuilder.from(spec)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 20.8K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.2.md
* More expressive node affinity syntax, and support for “soft” node affinity. Node selectors (to constrain pods to schedule on a subset of nodes) now support the operators {<code>In, NotIn, Exists, DoesNotExist, Gt, Lt</code>} instead of just conjunction of exact match on node label values. In addition, we’ve introduced a new “soft” kind of node selector that is just a
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Fri Dec 04 06:36:19 UTC 2020 - 41.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
return warmUp(cache, WARMUP_MIN, WARMUP_MAX); } /** * Returns the entries that were added to the map, so they won't fall out of a map with weak or * soft references until the caller drops the reference to the returned entries. */ private List<Entry<Object, Object>> warmUp( LoadingCache<Object, Object> cache, int minimum, int maximum) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 15.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
return warmUp(cache, WARMUP_MIN, WARMUP_MAX); } /** * Returns the entries that were added to the map, so they won't fall out of a map with weak or * soft references until the caller drops the reference to the returned entries. */ private List<Entry<Object, Object>> warmUp( LoadingCache<Object, Object> cache, int minimum, int maximum) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 15.7K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
* value. This could save ~8 bytes per entry. */ STRONG { @Override Equivalence<Object> defaultEquivalence() { return Equivalence.equals(); } }, SOFT { @Override Equivalence<Object> defaultEquivalence() { return Equivalence.identity(); } }, WEAK { @Override Equivalence<Object> defaultEquivalence() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Tables.java
* * <p>Note: the table assumes complete ownership over of {@code backingMap} and the maps returned * by {@code factory}. Those objects should not be manually updated and they should not use soft, * weak, or phantom references. * * @param backingMap place to store the mapping from each row key to its corresponding column key * / value mapRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 24.9K bytes - Viewed (0) -
guava/src/com/google/common/base/FinalizableReferenceQueue.java
if (threadStarted) { return; } Reference<?> reference; while ((reference = queue.poll()) != null) { /* * This is for the benefit of phantom references. Weak and soft references will have already * been cleared by this point. */ reference.clear(); try { ((FinalizableReference) reference).finalizeReferent(); } catch (Throwable t) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 14.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
return unmodifiableCollectionSubclass(createCollection()); } /** * Creates the collection of values for a single key. * * <p>Collections with weak, soft, or phantom references are not supported. Each call to {@code * createCollection} should create a new instance. * * <p>The returned collection class determines whether duplicate key-value pairs are allowed. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 48.4K bytes - Viewed (0)