Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for 44 (0.13 sec)

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

        assertEquals(52.0 / 108, sum.loadExceptionRate());
        assertEquals(56 + 52, sum.loadCount());
        assertEquals(48, sum.totalLoadTime());
        assertEquals(48.0 / (56 + 52), sum.averageLoadPenalty());
        assertEquals(44, sum.evictionCount());
    
        assertEquals(sum, one.plus(two));
      }
    
      public void testPlusLarge() {
        CacheStats maxCacheStats =
            new CacheStats(
                Long.MAX_VALUE,
    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/benchmark/com/google/common/base/ObjectsBenchmark.java

      private static final Integer I1 = -1;
      private static final Integer I2 = 3;
      private static final String S0 = "3";
      private static final String S1 = "Ninety five";
      private static final String S2 = "44 one million";
      private static final String S3 = "Lowly laundry lefties";
      private static final String S4 = "89273487U#*&#";
      private static final Double D0 = 9.234d;
      private static final Double D1 = -1.2e55;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/AbstractCacheTest.java

          counter2.recordMisses(1);
        }
        for (int i = 0; i < 43; i++) {
          counter2.recordEviction();
        }
    
        counter1.incrementBy(counter2);
        assertEquals(new CacheStats(38, 60, 44, 54, totalLoadTime, 66), counter1.snapshot());
      }
    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)
  4. guava-tests/test/com/google/common/math/DoubleMathTest.java

        } catch (IllegalArgumentException expected) {
        }
      }
    
      @GwtIncompatible // DoubleMath.mean
      public void testMean_intVarargs() {
        assertEquals(-13.75, DoubleMath.mean(11, -22, 44, -88), 1.0e-10);
        assertEquals(11.0, DoubleMath.mean(11), 1.0e-10);
      }
    
      @GwtIncompatible // DoubleMath.mean
      public void testMean_longVarargs() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

          counter2.recordMisses(1);
        }
        for (int i = 0; i < 43; i++) {
          counter2.recordEviction();
        }
    
        counter1.incrementBy(counter2);
        assertEquals(new CacheStats(38, 60, 44, 54, totalLoadTime, 66), counter1.snapshot());
      }
    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)
  6. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        return UnsignedBytes.LexicographicalComparatorHolder.class.getName() + "$UnsafeComparator";
      }
    
      private static boolean unsafeComparatorAvailable() {
        // See Java Puzzler #44
        // Use reflection instead of catching NoClassDefFoundError
        try {
          Class.forName(unsafeComparatorClassName());
          return true;
        } catch (Error | ClassNotFoundException tolerable) {
          /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheStatsTest.java

        assertEquals(52.0 / 108, sum.loadExceptionRate());
        assertEquals(56 + 52, sum.loadCount());
        assertEquals(48, sum.totalLoadTime());
        assertEquals(48.0 / (56 + 52), sum.averageLoadPenalty());
        assertEquals(44, sum.evictionCount());
    
        assertEquals(sum, one.plus(two));
      }
    
      public void testPlusLarge() {
        CacheStats maxCacheStats =
            new CacheStats(
                Long.MAX_VALUE,
    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)
  8. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

        } catch (IllegalArgumentException expected) {
        }
      }
    
      @GwtIncompatible // DoubleMath.mean
      public void testMean_intVarargs() {
        assertEquals(-13.75, DoubleMath.mean(11, -22, 44, -88), 1.0e-10);
        assertEquals(11.0, DoubleMath.mean(11), 1.0e-10);
      }
    
      @GwtIncompatible // DoubleMath.mean
      public void testMean_longVarargs() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java

      private static final Integer I1 = -1;
      private static final Integer I2 = 3;
      private static final String S0 = "3";
      private static final String S1 = "Ninety five";
      private static final String S2 = "44 one million";
      private static final String S3 = "Lowly laundry lefties";
      private static final String S4 = "89273487U#*&#";
      private static final Double D0 = 9.234d;
      private static final Double D1 = -1.2e55;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

            new ImmutableSortedSet.Builder<Integer>(TO_STRING).add(3, 12, 101, 44).build();
        assertThat(set).containsExactly(101, 12, 3, 44).inOrder();
      }
    
      public void testSupertypeComparatorSubtypeElements() {
        SortedSet<Number> set =
            new ImmutableSortedSet.Builder<Number>(TO_STRING).add(3, 12, 101, 44).build();
        assertThat(set).containsExactly(101, 12, 3, 44).inOrder();
      }
    
      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
Back to top