Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for yStats (0.05 sec)

  1. android/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());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/PairedStats.java

       *
       * <ul>
       *   <li>Both {@code xStats} and {@code yStats} must have the same {@code count}.
       *   <li>If that {@code count} is 1, {@code sumOfProductsOfDeltas} must be exactly 0.0.
       *   <li>If that {@code count} is more than 1, {@code sumOfProductsOfDeltas} must be finite.
       * </ul>
       */
      PairedStats(Stats xStats, Stats yStats, double sumOfProductsOfDeltas) {
        this.xStats = xStats;
        this.yStats = yStats;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/PairedStatsAccumulator.java

                  + (values.xStats().mean() - xStats.mean())
                      * (values.yStats().mean() - yStats.mean())
                      * values.count();
        }
        yStats.addAll(values.yStats());
      }
    
      /** Returns an immutable snapshot of the current statistics. */
      public PairedStats snapshot() {
        return new PairedStats(xStats.snapshot(), yStats.snapshot(), sumOfProductsOfDeltas);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. 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: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertEquals(2, stats.requestCount());
        assertEquals(1, stats.hitCount());
        assertThat(stats.hitRate()).isEqualTo(1.0 / 2);
        assertEquals(1, stats.missCount());
        assertThat(stats.missRate()).isEqualTo(1.0 / 2);
        assertEquals(1, stats.loadCount());
        assertEquals(0, stats.evictionCount());
    
        Object two = new Object();
        cache.getUnchecked(two);
        stats = cache.stats();
        assertEquals(3, stats.requestCount());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            // this getUnchecked() call shouldn't be a cache miss; verified below
            assertEquals(entry.getValue(), cache.getUnchecked(entry.getKey()));
          }
          assertEquals(WARMUP_SIZE, cache.stats().missCount());
          checkValidState(cache);
        }
      }
    
      public void testPut_populated() {
        for (LoadingCache<Object, Object> cache : caches()) {
          // don't let the entries get GCed
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K 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: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

         */
        // GET /api/admin/stats
        @Execute
        public JsonResponse<ApiResult> index() {
            final HashMap<String, Object> stats = new HashMap<>();
            stats.put("jvm", getJvmObj());
            stats.put("os", getOsObj());
            stats.put("process", getProcessObj());
            stats.put("engine", getEngineObj());
            stats.put("fs", getFsObj());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. 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: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.4K 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: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top