- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for Stats (0.06 sec)
-
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 24.9K bytes - Viewed (0) -
cmd/bucket-stats.go
} func newBucketReplicationStats() *BucketReplicationStats { return &BucketReplicationStats{ Stats: make(map[string]*BucketReplicationStat), } } // Empty returns true if there are no target stats func (brs *BucketReplicationStats) Empty() bool { return len(brs.Stats) == 0 && brs.ReplicaSize == 0 } // Clone creates a new BucketReplicationStats copy
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 11:39:51 UTC 2024 - 13.4K bytes - Viewed (0) -
cmd/http-stats.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 11.4K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.4K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.4K bytes - Viewed (0) -
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());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 86.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsTest.java
assertThat(stats.min()).isEqualTo(MEGA_STREAM_MIN); assertThat(stats.max()).isEqualTo(MEGA_STREAM_MAX); } public void testOfPrimitiveLongStream() { Stats stats = Stats.of(megaPrimitiveDoubleStream().mapToLong(x -> (long) x)); assertThat(stats.count()).isEqualTo(MEGA_STREAM_COUNT); assertThat(stats.mean()).isWithin(ALLOWED_ERROR * MEGA_STREAM_COUNT).of(MEGA_STREAM_MEAN); assertThat(stats.populationVariance())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 33.3K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 36.8K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 14.4K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
var stats string var err error switch statsType { case "", "server": stats, err = setupEnvoyServerStatsConfig(kubeClient, podName, podNamespace, outputFormat) if err != nil { return err } case "cluster", "clusters": stats, err = setupEnvoyClusterStatsConfig(kubeClient, podName, podNamespace, outputFormat) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 15:53:49 UTC 2024 - 50.6K bytes - Viewed (0)