Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for QStats (0.18 sec)

  1. guava-tests/test/com/google/common/math/PairedStatsTest.java

        assertStatsApproxEqual(TWO_VALUES_STATS, TWO_VALUES_PAIRED_STATS.xStats());
        assertStatsApproxEqual(MANY_VALUES_STATS_ITERABLE, MANY_VALUES_PAIRED_STATS.xStats());
      }
    
      public void testYStats() {
        assertStatsApproxEqual(EMPTY_STATS_ITERABLE, EMPTY_PAIRED_STATS.yStats());
        assertStatsApproxEqual(OTHER_ONE_VALUE_STATS, ONE_VALUE_PAIRED_STATS.yStats());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

        assertStatsApproxEqual(TWO_VALUES_STATS, TWO_VALUES_PAIRED_STATS.xStats());
        assertStatsApproxEqual(MANY_VALUES_STATS_ITERABLE, MANY_VALUES_PAIRED_STATS.xStats());
      }
    
      public void testYStats() {
        assertStatsApproxEqual(EMPTY_STATS_ITERABLE, EMPTY_PAIRED_STATS.yStats());
        assertStatsApproxEqual(OTHER_ONE_VALUE_STATS, ONE_VALUE_PAIRED_STATS.yStats());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        stats = cache.stats();
        assertEquals(2, stats.missCount());
        assertEquals(3, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        assertSame(key, cache.get(key));
        stats = cache.stats();
        assertEquals(2, stats.missCount());
        assertEquals(3, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/StatsTest.java

        Stats stats = Stats.of(megaPrimitiveDoubleStream());
        assertThat(stats.count()).isEqualTo(MEGA_STREAM_COUNT);
        assertThat(stats.mean()).isWithin(ALLOWED_ERROR * MEGA_STREAM_COUNT).of(MEGA_STREAM_MEAN);
        assertThat(stats.populationVariance())
            .isWithin(ALLOWED_ERROR * MEGA_STREAM_COUNT)
            .of(MEGA_STREAM_POPULATION_VARIANCE);
        assertThat(stats.min()).isEqualTo(MEGA_STREAM_MIN);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 32.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheStatsTest.java

      public void testEmpty() {
        CacheStats stats = new CacheStats(0, 0, 0, 0, 0, 0);
        assertEquals(0, stats.requestCount());
        assertEquals(0, stats.hitCount());
        assertEquals(1.0, stats.hitRate());
        assertEquals(0, stats.missCount());
        assertEquals(0.0, stats.missRate());
        assertEquals(0, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0.0, stats.loadExceptionRate());
    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)
  6. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

    /**
     * Tests for {@link StatsAccumulator}. This tests the stats methods for instances built with {@link
     * StatsAccumulator#add} and {@link StatsAccumulator#addAll}, and various error cases of the {@link
     * StatsAccumulator#add} and {@link StatsAccumulator#addAll} methods. For tests of the {@link
     * StatsAccumulator#snapshot} method which returns {@link Stats} instances, see {@link StatsTest}.
     *
     * @author Pete Gillin
     */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 36.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/ForwardingCacheTest.java

      }
    
      public void testSize() {
        when(mock.size()).thenReturn(0L);
        assertEquals(0, forward.size());
      }
    
      public void testStats() {
        when(mock.stats()).thenReturn(null);
        assertNull(forward.stats());
      }
    
      public void testAsMap() {
        when(mock.asMap()).thenReturn(null);
        assertNull(forward.asMap());
      }
    
      public void testCleanUp() {
        forward.cleanUp();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/Cache.java

       *   <li>{@linkplain LoadingCache#get(Object) awaiting the result of a pending load} rather than
       *       starting a redundant one
       *   <li>eliminating the error-prone caching boilerplate
       *   <li>tracking load {@linkplain #stats statistics}
       * </ul>
       *
       * <p>Among the further improvements that {@code LoadingCache} can provide but this method cannot:
       *
       * <ul>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 7.9K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/math/Quantiles.java

     * frac(x) respectively. This is the same definition as used by Excel and by S, it is the Type 7
     * definition in <a
     * href="http://stat.ethz.ch/R-manual/R-devel/library/stats/html/quantile.html">R</a>, and it is
     * described by <a
     * href="http://en.wikipedia.org/wiki/Quantile#Estimating_the_quantiles_of_a_population">
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

        assertStatsApproxEqual(OTHER_ONE_VALUE_STATS, oneValueAccumulator.yStats());
        assertStatsApproxEqual(
            OTHER_ONE_VALUE_STATS, oneValueAccumulatorByAddAllEmptyPairedStats.yStats());
        assertStatsApproxEqual(OTHER_TWO_VALUES_STATS, twoValuesAccumulator.yStats());
        assertStatsApproxEqual(
            OTHER_TWO_VALUES_STATS, twoValuesAccumulatorByAddAllPartitionedPairedStats.yStats());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 23.4K bytes
    - Viewed (0)
Back to top