HomeSort by relevance Sort by last modified time
    Searched refs:STRONG (Results 1 - 25 of 34) sorted by null

1 2

  /external/guava/guava-tests/test/com/google/common/cache/
CacheReferencesTest.java 17 import static com.google.common.cache.LocalCache.Strength.STRONG;
49 .withKeyStrengths(ImmutableSet.of(STRONG, Strength.WEAK))
50 .withValueStrengths(ImmutableSet.of(STRONG, Strength.WEAK, Strength.SOFT));
65 // maintain strong refs so these won't be collected, regardless of cache's key/value strength
125 if (builder.keyStrength == STRONG && builder.valueStrength == STRONG) {
184 // a strong reference to that value.
LocalCacheTest.java 124 assertSame(Strength.STRONG, map.keyStrength);
125 assertSame(Strength.STRONG, map.valueStrength);
134 assertSame(EntryFactory.STRONG, map.entryFactory);
315 checkStrength(map, Strength.WEAK, Strength.STRONG);
321 checkStrength(map, Strength.STRONG, Strength.WEAK);
322 assertSame(EntryFactory.STRONG, map.entryFactory);
327 checkStrength(map, Strength.STRONG, Strength.SOFT);
328 assertSame(EntryFactory.STRONG, map.entryFactory);
382 assertSame(EntryFactory.STRONG,
383 EntryFactory.getFactory(Strength.STRONG, false, false))
    [all...]
EmptyCachesTest.java 362 .withKeyStrengths(ImmutableSet.of(Strength.STRONG, Strength.WEAK))
PopulatedCachesTest.java 317 .withKeyStrengths(ImmutableSet.of(Strength.STRONG, Strength.WEAK))
  /frameworks/native/opengl/libs/EGL/
egl_display.h 79 mHibernation.incWakeCount(HibernationMachine::STRONG);
82 mHibernation.decWakeCount(HibernationMachine::STRONG);
147 // STRONG refs cancel (inc) or initiate (dec) a hibernation attempt
149 // whether a hibernation attempt will be made. Use STRONG refs only
154 STRONG = 1,
egl_display.cpp 335 mHibernation.incWakeCount(HibernationMachine::STRONG);
343 mHibernation.decWakeCount(HibernationMachine::STRONG);
375 if (strength == STRONG)
401 if (strength == STRONG)
  /external/guava/guava/src/com/google/common/collect/
MapMaker.java 141 * Constructs a new {@code MapMaker} instance with default settings, including strong keys, strong
289 return setKeyStrength(Strength.STRONG);
294 * WeakReference} (by default, strong references are used).
315 * {@link SoftReference} (by default, strong references are used). Softly-referenced objects will
326 * create a map that doesn't hold strong references to the keys.
339 if (strength != Strength.STRONG) {
340 // STRONG could be used during deserialization.
347 return firstNonNull(keyStrength, Strength.STRONG);
357 return setValueStrength(Strength.STRONG);
    [all...]
MapMakerInternalMap.java 283 return keyStrength != Strength.STRONG;
287 return valueStrength != Strength.STRONG;
296 STRONG {
353 STRONG {
526 { STRONG, STRONG_EXPIRABLE, STRONG_EVICTABLE, STRONG_EXPIRABLE_EVICTABLE },
957 * To maintain this code, make a change for the strong reference type. Then, cut and paste, and
958 * replace "Strong" with "Soft" or "Weak" within the pasted text. The primary difference is that
959 * strong entries store the key reference directly while soft and weak entries delegate to their
    [all...]
  /external/guava/guava/src/com/google/common/cache/
CacheBuilder.java 228 * Constructs a new {@code CacheBuilder} instance with default settings, including strong keys,
229 * strong values, and no automatic eviction of any kind.
444 return setKeyStrength(Strength.STRONG);
449 * WeakReference} (by default, strong references are used).
472 return firstNonNull(keyStrength, Strength.STRONG);
481 return setValueStrength(Strength.STRONG);
486 * {@link WeakReference} (by default, strong references are used).
507 * {@link SoftReference} (by default, strong references are used). Softly-referenced objects will
536 return firstNonNull(valueStrength, Strength.STRONG);
    [all...]
LocalCache.java 360 return keyStrength != Strength.STRONG;
364 return valueStrength != Strength.STRONG;
373 STRONG {
438 STRONG {
557 STRONG, STRONG_ACCESS, STRONG_WRITE, STRONG_ACCESS_WRITE,
1047 * To maintain this code, make a change for the strong reference type. Then, cut and paste, an
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
ConcurrentHashMultisetTest.java 20 import static com.google.common.collect.MapMakerInternalMap.Strength.STRONG;
344 testIdentityKeyEquality(STRONG);
387 testLogicalKeyEquality(STRONG);
MapMakerInternalMapTest.java 79 assertSame(Strength.STRONG, map.keyStrength);
80 assertSame(Strength.STRONG, map.valueStrength);
88 assertSame(EntryFactory.STRONG, map.entryFactory);
245 checkStrength(map, Strength.WEAK, Strength.STRONG);
252 checkStrength(map, Strength.SOFT, Strength.STRONG);
258 checkStrength(map, Strength.STRONG, Strength.WEAK);
259 assertSame(EntryFactory.STRONG, map.entryFactory);
264 checkStrength(map, Strength.STRONG, Strength.SOFT);
265 assertSame(EntryFactory.STRONG, map.entryFactory);
    [all...]
  /external/chromium_org/third_party/accessibility-audit/
axs_testing.js 500 axs.constants.InlineElements = {TT:!0, I:!0, B:!0, BIG:!0, SMALL:!0, EM:!0, STRONG:!0, DFN:!0, CODE:!0, SAMP:!0, KBD:!0, VAR:!0, CITE:!0, ABBR:!0, ACRONYM:!0, A:!0, IMG:!0, OBJECT:!0, BR:!0, SCRIPT:!0, MAP:!0, Q:!0, SUB:!0, SUP:!0, SPAN:!0, BDO:!0, INPUT:!0, SELECT:!0, TEXTAREA:!0, LABEL:!0, BUTTON:!0};
    [all...]
  /libcore/benchmarks/libs/
caliper.jar 
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
string-unpack-code.js     [all...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
string-unpack-code.js     [all...]