Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for 17 (0.16 sec)

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

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

        assertEquals(((double) missCount) / requestCount, stats.missRate());
        assertEquals(13, stats.loadSuccessCount());
        assertEquals(17, stats.loadExceptionCount());
        assertEquals(13 + 17, stats.loadCount());
        assertEquals(214, stats.totalLoadTime());
        assertEquals(214.0 / (13 + 17), stats.averageLoadPenalty());
        assertEquals(27, stats.evictionCount());
      }
    
      public void testSimpleStatsOverflow() {
    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)
  3. android/guava-tests/test/com/google/common/cache/CacheStatsTest.java

        assertEquals(17 + 19, stats.loadCount());
        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);
    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)
  4. android/guava-tests/test/com/google/common/cache/AbstractCacheTest.java

        assertEquals(((double) missCount) / requestCount, stats.missRate());
        assertEquals(13, stats.loadSuccessCount());
        assertEquals(17, stats.loadExceptionCount());
        assertEquals(13 + 17, stats.loadCount());
        assertEquals(214, stats.totalLoadTime());
        assertEquals(214.0 / (13 + 17), stats.averageLoadPenalty());
        assertEquals(27, stats.evictionCount());
      }
    
      public void testSimpleStatsOverflow() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

        @Override
        public SampleElements<Entry<String, Integer>> samples() {
          return new SampleElements<>(
              mapEntry("foo", 5),
              mapEntry("bar", 3),
              mapEntry("baz", 17),
              mapEntry("quux", 1),
              mapEntry("toaster", -2));
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public Entry<String, Integer>[] createArray(int length) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. .github/workflows/ci.yml

          contents: read  # for actions/checkout to fetch code
        name: "${{ matrix.root-pom }} on JDK ${{ matrix.java }} on ${{ matrix.os }}"
        strategy:
          matrix:
            os: [ ubuntu-latest ]
            java: [ 8, 11, 17, 21 ]
            root-pom: [ 'pom.xml', 'android/pom.xml' ]
            include:
              - os: windows-latest
                java: 21
                root-pom: pom.xml
        runs-on: ${{ matrix.os }}
        env:
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:33:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

        @Override
        public SampleElements<Entry<String, Integer>> samples() {
          return new SampleElements<>(
              mapEntry("foo", 5),
              mapEntry("bar", 3),
              mapEntry("baz", 17),
              mapEntry("quux", 1),
              mapEntry("toaster", -2));
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public Entry<String, Integer>[] createArray(int length) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/bug_report.yaml

          description: If this issue is platform-specific, then please select the relevant platforms.
          multiple: true
          options:
            - Android
            - GWT
            - Java 8
            - Java 11
            - Java 17
    
      - type: checkboxes
        attributes:
          label: Checklist
          options:
            - label: >
                I agree to follow the
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 27 19:53:41 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

            new ImmutableRangeMap.Builder<Integer, Integer>()
                .put(Range.closed(2, 4), 5)
                .put(Range.open(6, 7), 3)
                .put(Range.closedOpen(8, 10), 4)
                .put(Range.openClosed(15, 17), 2)
                .build();
    
        ImmutableMap<Range<Integer>, Integer> test = nonEmptyRangeMap.asMapOfRanges();
    
        for (Range<Integer> range : test.keySet()) {
          SerializableTester.reserializeAndAssert(range);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Stopwatch.java

     *
     * <pre>{@code
     * Stopwatch.createStarted(
     *      new Ticker() {
     *        public long read() {
     *          return android.os.SystemClock.elapsedRealtimeNanos(); // requires API Level 17
     *        }
     *      });
     * }</pre>
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("GoodTime") // lots of violations
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
Back to top