Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 47 (0.15 sec)

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

        assertEquals(27, stats.evictionCount());
      }
    
      public void testMinus() {
        CacheStats one = new CacheStats(11, 13, 17, 19, 23, 27);
        CacheStats two = new CacheStats(53, 47, 43, 41, 37, 31);
    
        CacheStats diff = two.minus(one);
        assertEquals(76, diff.requestCount());
        assertEquals(42, diff.hitCount());
        assertEquals(42.0 / 76, diff.hitRate());
        assertEquals(34, diff.missCount());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Sun Jun 30 14:58:49 GMT 2019
    - 4.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/Fingerprint2011.java

      }
    
      private static long shiftMix(long val) {
        return val ^ (val >>> 47);
      }
    
      /** Implementation of Hash128to64 from util/hash/hash128to64.h */
      @VisibleForTesting
      static long hash128to64(long high, long low) {
        long a = (low ^ high) * K3;
        a ^= (a >>> 47);
        long b = (high ^ a) * K3;
        b ^= (b >>> 47);
        b *= K3;
        return b;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Dec 28 17:50:25 GMT 2021
    - 6.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/FarmHashFingerprint64.java

        }
      }
    
      private static long shiftMix(long val) {
        return val ^ (val >>> 47);
      }
    
      private static long hashLength16(long u, long v, long mul) {
        long a = (u ^ v) * mul;
        a ^= (a >>> 47);
        long b = (v ^ a) * mul;
        b ^= (b >>> 47);
        b *= mul;
        return b;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 01 22:39:48 GMT 2022
    - 7.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheStatsTest.java

        assertEquals(27, stats.evictionCount());
      }
    
      public void testMinus() {
        CacheStats one = new CacheStats(11, 13, 17, 19, 23, 27);
        CacheStats two = new CacheStats(53, 47, 43, 41, 37, 31);
    
        CacheStats diff = two.minus(one);
        assertEquals(76, diff.requestCount());
        assertEquals(42, diff.hitCount());
        assertEquals(42.0 / 76, diff.hitRate());
        assertEquals(34, diff.missCount());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Jun 30 14:58:49 GMT 2019
    - 4.6K bytes
    - Viewed (0)
Back to top