Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setLength (0.21 sec)

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

        checkStrength(map, Strength.WEAK, Strength.STRONG);
        assertSame(EntryFactory.WEAK, map.entryFactory);
      }
    
      public void testSetWeakValues() {
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder().weakValues());
        checkStrength(map, Strength.STRONG, Strength.WEAK);
        assertSame(EntryFactory.STRONG, map.entryFactory);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        checkStrength(map, Strength.WEAK, Strength.STRONG);
        assertSame(EntryFactory.WEAK, map.entryFactory);
      }
    
      public void testSetWeakValues() {
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder().weakValues());
        checkStrength(map, Strength.STRONG, Strength.WEAK);
        assertSame(EntryFactory.STRONG, map.entryFactory);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K 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.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  4. android/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.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  5. 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;
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  6. 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;
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
Back to top