Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for 14 (0.13 sec)

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

        assertEquals(26, diff.loadSuccessCount());
        assertEquals(22, diff.loadExceptionCount());
        assertEquals(22.0 / 48, diff.loadExceptionRate());
        assertEquals(26 + 22, diff.loadCount());
        assertEquals(14, diff.totalLoadTime());
        assertEquals(14.0 / (26 + 22), diff.averageLoadPenalty());
        assertEquals(4, diff.evictionCount());
    
        assertEquals(new CacheStats(0, 0, 0, 0, 0, 0), one.minus(two));
      }
    
    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/Murmur3_128HashFunction.java

          long k1 = 0;
          long k2 = 0;
          length += bb.remaining();
          switch (bb.remaining()) {
            case 15:
              k2 ^= (long) toInt(bb.get(14)) << 48; // fall through
            case 14:
              k2 ^= (long) toInt(bb.get(13)) << 40; // fall through
            case 13:
              k2 ^= (long) toInt(bb.get(12)) << 32; // fall through
            case 12:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

      private static final int CRC32C_GENERATOR_FLIPPED = Integer.reverse(CRC32C_GENERATOR);
    
      public void testCrc32cByteTable() {
        // See Hacker's Delight 2nd Edition, Figure 14-7.
        int[] expected = new int[256];
        for (int i = 0; i < expected.length; i++) {
          int crc = i;
          for (int j = 7; j >= 0; j--) {
            int mask = -(crc & 1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 23 18:30:33 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheStatsTest.java

        assertEquals(26, diff.loadSuccessCount());
        assertEquals(22, diff.loadExceptionCount());
        assertEquals(22.0 / 48, diff.loadExceptionRate());
        assertEquals(26 + 22, diff.loadCount());
        assertEquals(14, diff.totalLoadTime());
        assertEquals(14.0 / (26 + 22), diff.averageLoadPenalty());
        assertEquals(4, diff.evictionCount());
    
        assertEquals(new CacheStats(0, 0, 0, 0, 0, 0), one.minus(two));
      }
    
    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)
  5. guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

      private static final int CRC32C_GENERATOR_FLIPPED = Integer.reverse(CRC32C_GENERATOR);
    
      public void testCrc32cByteTable() {
        // See Hacker's Delight 2nd Edition, Figure 14-7.
        int[] expected = new int[256];
        for (int i = 0; i < expected.length; i++) {
          int crc = i;
          for (int j = 7; j >= 0; j--) {
            int mask = -(crc & 1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Dec 23 18:30:33 GMT 2020
    - 6.5K bytes
    - Viewed (0)
Back to top