Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Strength (0.04 sec)

  1. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        checkStrength(map, Strength.WEAK, Strength.STRONG);
        assertThat(map.entryFactory).isEqualTo(EntryFactory.WEAK);
      }
    
      public void testSetWeakValues() {
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder().weakValues());
        checkStrength(map, Strength.STRONG, Strength.WEAK);
        assertThat(map.entryFactory).isEqualTo(EntryFactory.STRONG);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 115.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        checkStrength(map, Strength.WEAK, Strength.STRONG);
        assertThat(map.entryFactory).isEqualTo(EntryFactory.WEAK);
      }
    
      public void testSetWeakValues() {
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder().weakValues());
        checkStrength(map, Strength.STRONG, Strength.WEAK);
        assertThat(map.entryFactory).isEqualTo(EntryFactory.STRONG);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 117.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

      boolean usesAccessEntries() {
        return usesAccessQueue() || recordsAccess();
      }
    
      boolean usesKeyReferences() {
        return keyStrength != Strength.STRONG;
      }
    
      boolean usesValueReferences() {
        return valueStrength != Strength.STRONG;
      }
    
      enum Strength {
        /*
         * TODO(kevinb): If we strongly reference the value and aren't loading, we needn't wrap the
         * value. This could save ~8 bytes per entry.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

          Pray how did you manage to do it?'
    
        `In my youth,' said his father, `I took to the law,
          And argued each case with my wife;
        And the muscular strength, which it gave to my jaw,
          Has lasted the rest of my life.'
    
        `You are old,' said the youth, `one would hardly suppose
          That your eye was as steady as ever;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
Back to top