Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for 27 (0.15 sec)

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

        assertEquals(23, stats.totalLoadTime());
        assertEquals(23.0 / (17 + 19), stats.averageLoadPenalty());
        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());
    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-tests/test/com/google/common/cache/AbstractCacheTest.java

        }
        for (int i = 0; i < 17; i++) {
          counter.recordLoadException(i);
        }
        for (int i = 0; i < 23; i++) {
          counter.recordMisses(1);
        }
        for (int i = 0; i < 27; i++) {
          counter.recordEviction();
        }
        CacheStats stats = counter.snapshot();
        int requestCount = 11 + 23;
        assertEquals(requestCount, stats.requestCount());
        assertEquals(11, stats.hitCount());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

        }
        for (int i = 0; i < 17; i++) {
          counter.recordLoadException(i);
        }
        for (int i = 0; i < 23; i++) {
          counter.recordMisses(1);
        }
        for (int i = 0; i < 27; i++) {
          counter.recordEviction();
        }
        CacheStats stats = counter.snapshot();
        int requestCount = 11 + 23;
        assertEquals(requestCount, stats.requestCount());
        assertEquals(11, stats.hitCount());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheStatsTest.java

        assertEquals(23, stats.totalLoadTime());
        assertEquals(23.0 / (17 + 19), stats.averageLoadPenalty());
        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());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sun Jun 30 14:58:49 GMT 2019
    - 4.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/UrlEscapersTest.java

         * to assertUnescaped).
         */
        assertEscaping(e, "%21", '!');
        assertEscaping(e, "%28", '(');
        assertEscaping(e, "%29", ')');
        assertEscaping(e, "%7E", '~');
        assertEscaping(e, "%27", '\'');
    
        // Plus for spaces
        assertEscaping(e, "+", ' ');
        assertEscaping(e, "%2B", '+');
    
        assertEquals("safe+with+spaces", e.escape("safe with spaces"));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 15 20:25:06 GMT 2018
    - 4.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

          long k2 = bb.getLong();
          bmix64(k1, k2);
          length += CHUNK_SIZE;
        }
    
        private void bmix64(long k1, long k2) {
          h1 ^= mixK1(k1);
    
          h1 = Long.rotateLeft(h1, 27);
          h1 += h2;
          h1 = h1 * 5 + 0x52dce729;
    
          h2 ^= mixK2(k2);
    
          h2 = Long.rotateLeft(h2, 31);
          h2 += h1;
          h2 = h2 * 5 + 0x38495ab5;
        }
    
        @Override
    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)
  7. android/guava/src/com/google/common/base/Ascii.java

       * interpretation of a limited number of contiguously following characters.
       *
       * @since 8.0
       */
      public static final byte ESC = 27;
    
      /**
       * File Separator: These four information separators may be used within data in optional fashion,
       * except that their hierarchical relationship shall be: FS is the most inclusive, then GS, then
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/net/UrlEscapersTest.java

         * to assertUnescaped).
         */
        assertEscaping(e, "%21", '!');
        assertEscaping(e, "%28", '(');
        assertEscaping(e, "%29", ')');
        assertEscaping(e, "%7E", '~');
        assertEscaping(e, "%27", '\'');
    
        // Plus for spaces
        assertEscaping(e, "+", ' ');
        assertEscaping(e, "%2B", '+');
    
        assertEquals("safe+with+spaces", e.escape("safe with spaces"));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Ascii.java

       * interpretation of a limited number of contiguously following characters.
       *
       * @since 8.0
       */
      public static final byte ESC = 27;
    
      /**
       * File Separator: These four information separators may be used within data in optional fashion,
       * except that their hierarchical relationship shall be: FS is the most inclusive, then GS, then
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
Back to top