HomeSort by relevance Sort by last modified time
    Searched refs:STRONG (Results 1 - 25 of 26) 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 81 mHibernation.incWakeCount(HibernationMachine::STRONG);
84 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 358 mHibernation.incWakeCount(HibernationMachine::STRONG);
366 mHibernation.decWakeCount(HibernationMachine::STRONG);
391 if (strength == STRONG)
417 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/webkit/LayoutTests/dom/html/level2/html/
HTMLElement131.js 80 Retrieve the class attribute of the STRONG element and examine its value.
99 nodeList = doc.getElementsByTagName("strong");
104 assertEquals("classNameLink","STRONG-class",vclassname);
HTMLElement15.js 80 Retrieve the id attribute of the STRONG element and examine its value.
99 nodeList = doc.getElementsByTagName("strong");
104 assertEquals("idLink","Test-STRONG",vid);
HTMLElement44.js 80 Retrieve the title attribute of the STRONG element and examine its value.
99 nodeList = doc.getElementsByTagName("strong");
104 assertEquals("titleLink","STRONG Element",vtitle);
HTMLElement102.js 80 Retrieve the dir attribute of the STRONG element and examine its value.
99 nodeList = doc.getElementsByTagName("strong");
HTMLElement73.js 80 Retrieve the lang attribute of the STRONG element and examine its value.
99 nodeList = doc.getElementsByTagName("strong");
  /external/webkit/LayoutTests/dom/xhtml/level2/html/
HTMLElement131.js 80 Retrieve the class attribute of the STRONG element and examine its value.
99 nodeList = doc.getElementsByTagName("strong");
104 assertEquals("classNameLink","STRONG-class",vclassname);
HTMLElement15.js 80 Retrieve the id attribute of the STRONG element and examine its value.
99 nodeList = doc.getElementsByTagName("strong");
104 assertEquals("idLink","Test-STRONG",vid);
HTMLElement44.js 80 Retrieve the title attribute of the STRONG element and examine its value.
99 nodeList = doc.getElementsByTagName("strong");
104 assertEquals("titleLink","STRONG Element",vtitle);
HTMLElement102.js 80 Retrieve the dir attribute of the STRONG element and examine its value.
99 nodeList = doc.getElementsByTagName("strong");
HTMLElement73.js 80 Retrieve the lang attribute of the STRONG element and examine its value.
99 nodeList = doc.getElementsByTagName("strong");
  /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/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
string-unpack-code.js     [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
string-unpack-code.js     [all...]
  /prebuilts/tools/common/guava-tools/
guava-10.0.1.jar 

Completed in 374 milliseconds

1 2