Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for Stats (0.02 sec)

  1. 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)
  2. 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)
  3. internal/rest/rpc-stats.go

    // RPCStats holds information about the DHCP/TCP metrics and errors
    type RPCStats struct {
    	Errs uint64
    
    	DialAvgDuration uint64
    	TTFBAvgDuration uint64
    	DialErrs        uint64
    }
    
    // GetRPCStats returns RPC stats, include calls errors and dhcp/tcp metrics
    func GetRPCStats() RPCStats {
    	s := RPCStats{
    		Errs:     atomic.LoadUint64(&globalStats.errs),
    		DialErrs: atomic.LoadUint64(&globalStats.tcpDialErrs),
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 18:21:34 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. cmd/http-stats.go

    		return 0
    	}
    
    	stats.RLock()
    	defer stats.RUnlock()
    
    	val, ok := stats.apiStats[api]
    	if ok {
    		return val
    	}
    
    	return 0
    }
    
    // Load returns the recorded stats.
    func (stats *HTTPAPIStats) Load(toLower bool) map[string]int {
    	if stats == nil {
    		return map[string]int{}
    	}
    
    	stats.RLock()
    	defer stats.RUnlock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. cmd/bucket-replication-stats.go

    	if len(r.mostRecentStats.Stats) == 0 {
    		r.mostRecentStats = BucketStatsMap{Stats: make(map[string]BucketStats, 1), Timestamp: UTCNow()}
    	}
    	if len(bs.ReplicationStats.Stats) > 0 {
    		r.mostRecentStats.Stats[bucket] = bs
    	}
    	r.mostRecentStats.Timestamp = UTCNow()
    	r.mostRecentStatsMu.Unlock()
    	return bs
    }
    
    // get the most current of in-memory replication stats  and data usage info from crawler.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. guava-tests/test/com/google/common/cache/CacheStatsTest.java

        assertThat(stats.missRate()).isEqualTo(13.0 / 24);
        assertEquals(17, stats.loadSuccessCount());
        assertEquals(19, stats.loadExceptionCount());
        assertThat(stats.loadExceptionRate()).isEqualTo(19.0 / 36);
        assertEquals(17 + 19, stats.loadCount());
        assertEquals(23, stats.totalLoadTime());
        assertThat(stats.averageLoadPenalty()).isEqualTo(23.0 / (17 + 19));
        assertEquals(27, stats.evictionCount());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top