Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for stats (0.03 sec)

  1. android/guava/src/com/google/common/math/Stats.java

       * versions.
       */
      public static Stats fromByteArray(byte[] byteArray) {
        checkNotNull(byteArray);
        checkArgument(
            byteArray.length == BYTES,
            "Expected Stats.BYTES = %s remaining , got %s",
            BYTES,
            byteArray.length);
        return readFrom(ByteBuffer.wrap(byteArray).order(ByteOrder.LITTLE_ENDIAN));
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 22K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/StatsTest.java

            .addEqualityGroup(
                Stats.of(1.0, 1.0, 5.0, 5.0),
                Stats.of(1.0, 1.0, 5.0, 5.0),
                Stats.of(ImmutableList.of(1.0, 1.0, 5.0, 5.0)),
                Stats.of(ImmutableList.of(1.0, 1.0, 5.0, 5.0).iterator()),
                SerializableTester.reserialize(Stats.of(1.0, 1.0, 5.0, 5.0)))
            .addEqualityGroup(Stats.of(1.0, 5.0))
            .addEqualityGroup(Stats.of(1.0, 5.0, 1.0, 6.0))
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

        assertThat(EMPTY_PAIRED_STATS.toString())
            .isEqualTo("PairedStats{xStats=Stats{count=0}, yStats=Stats{count=0}}");
        assertThat(MANY_VALUES_PAIRED_STATS.toString())
            .isEqualTo(
                "PairedStats{xStats="
                    + MANY_VALUES_PAIRED_STATS.xStats()
                    + ", yStats="
                    + MANY_VALUES_PAIRED_STATS.yStats()
                    + ", populationCovariance="
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/DoubleMath.java

       * the arithmetic mean of the population.
       *
       * @param values a nonempty series of values
       * @throws IllegalArgumentException if {@code values} is empty or contains any non-finite value
       * @deprecated Use {@link Stats#meanOf} instead, noting the less strict handling of non-finite
       *     values.
       */
      @Deprecated
      // com.google.common.math.DoubleUtils
      @GwtIncompatible
      public static double mean(double... values) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/PairedStats.java

            BYTES,
            byteArray.length);
        ByteBuffer buffer = ByteBuffer.wrap(byteArray).order(ByteOrder.LITTLE_ENDIAN);
        Stats xStats = Stats.readFrom(buffer);
        Stats yStats = Stats.readFrom(buffer);
        double sumOfProductsOfDeltas = buffer.getDouble();
        return new PairedStats(xStats, yStats, sumOfProductsOfDeltas);
      }
    
      private static final long serialVersionUID = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/StatsTesting.java

              .doubleValue();
    
      // Stats instances:
    
      static final Stats EMPTY_STATS_VARARGS = Stats.of();
      static final Stats EMPTY_STATS_ITERABLE = Stats.of(ImmutableList.<Double>of());
      static final Stats ONE_VALUE_STATS = Stats.of(ONE_VALUE);
      static final Stats OTHER_ONE_VALUE_STATS = Stats.of(OTHER_ONE_VALUE);
      static final Stats TWO_VALUES_STATS = Stats.of(TWO_VALUES);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 09 22:49:56 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  7. android/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
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 34K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        // Add two elements and invalidate them.
        cache.put(1, 4);
        cache.put(2, 8);
    
        cache.invalidateAll();
    
        assertEquals(2, stats[0]);
        assertEquals(2, stats[1]);
        assertEquals(4, stats[2]);
        assertEquals(3, stats[3]);
      }
    
      public void testPutAll() {
        Cache<Integer, Integer> cache = CacheBuilder.newBuilder().build();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 15K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        // Add two elements and invalidate them.
        cache.put(1, 4);
        cache.put(2, 8);
    
        cache.invalidateAll();
    
        assertEquals(2, stats[0]);
        assertEquals(2, stats[1]);
        assertEquals(4, stats[2]);
        assertEquals(3, stats[3]);
      }
    
      public void testPutAll() {
        Cache<Integer, Integer> cache = CacheBuilder.newBuilder().build();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Aug 05 17:21:46 UTC 2022
    - 15.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/CacheStats.java

     *             missCount}.
     *       </ul>
     *   <li>When an entry is evicted from the cache, {@code evictionCount} is incremented.
     *   <li>No stats are modified when a cache entry is invalidated or manually removed.
     *   <li>No stats are modified by operations invoked on the {@linkplain Cache#asMap asMap} view of
     *       the cache.
     * </ul>
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 12.6K bytes
    - Viewed (0)
Back to top