Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for 17 (0.19 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. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        verifyTableSize(180, 60, 128);
        // but if it's even bigger than double, we rebuild the table
        verifyTableSize(17, 17, 32);
        verifyTableSize(17, 16, 32);
        verifyTableSize(17, 15, 32);
      }
    
      @GwtIncompatible // RegularImmutableSet.table not in emulation
      private void verifyTableSize(int inputSize, int setSize, int tableSize) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/LongMath.java

        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11 * 12 * 13 * 14 * 15 * 16 * 17,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11 * 12 * 13 * 14 * 15 * 16 * 17 * 18,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11 * 12 * 13 * 14 * 15 * 16 * 17 * 18 * 19,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11 * 12 * 13 * 14 * 15 * 16 * 17 * 18 * 19 * 20
      };
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       */
      @Override
      public String toString() {
        int iMax = length() - 1;
        if (iMax == -1) {
          return "[]";
        }
    
        // Double.toString(Math.PI).length() == 17
        StringBuilder b = new StringBuilder((17 + 2) * (iMax + 1));
        b.append('[');
        for (int i = 0; ; i++) {
          b.append(longBitsToDouble(longs.get(i)));
          if (i == iMax) {
            return b.append(']').toString();
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 8K bytes
    - Viewed (0)
  5. .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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:33:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. 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)
  7. android/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)
  8. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  9. 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)
  10. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                    new FilteredSetMultimapGenerator() {
                      @Override
                      SetMultimap<String, Integer> filter(SetMultimap<String, Integer> multimap) {
                        multimap.put("foo", 17);
                        multimap.put("bar", 32);
                        multimap.put("foo", 16);
                        return Multimaps.filterKeys(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 29.5K bytes
    - Viewed (0)
Back to top