- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,028 for totalHV (0.17 sec)
-
src/runtime/metrics/example_test.go
} } } func medianBucket(h *metrics.Float64Histogram) float64 { total := uint64(0) for _, count := range h.Counts { total += count } thresh := total / 2 total = 0 for i, count := range h.Counts { total += count if total >= thresh { return h.Buckets[i] } } panic("should not happen")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 08 16:09:01 UTC 2021 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java
protected final long total; protected final List<SuggestItem> items; public PopularWordsResponse(final String index, final long tookMs, final List<String> words, final long total, final List<SuggestItem> items) { this.index = index; this.tookMs = tookMs; this.words = words; this.num = words.size(); this.total = total; this.items = items; }
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.8K bytes - Viewed (0) -
cmd/metrics-v3-scanner.go
) var ( scannerBucketScansFinishedMD = NewCounterMD(scannerBucketScansFinished, "Total number of bucket scans finished since server start") scannerBucketScansStartedMD = NewCounterMD(scannerBucketScansStarted, "Total number of bucket scans started since server start") scannerDirectoriesScannedMD = NewCounterMD(scannerDirectoriesScanned, "Total number of directories scanned since server start")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 19:29:25 UTC 2024 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java
fsObj.path = f.getAbsolutePath(); fsObj.free = f.getFreeSpace(); fsObj.total = f.getTotalSpace(); fsObj.usable = f.getUsableSpace(); fsObj.used = fsObj.total - fsObj.usable; fsObj.percent = (short) (100 * fsObj.used / fsObj.total); return fsObj; }).toArray(n -> new FsObj[n]); } private JvmObj getJvmObj() {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java
public class StopwatchBenchmark { @Benchmark long stopwatch(int reps) { long total = 0; for (int i = 0; i < reps; i++) { Stopwatch s = Stopwatch.createStarted(); // here is where you would do something total += s.elapsed(TimeUnit.NANOSECONDS); } return total; } @Benchmark long manual(int reps) { long total = 0; for (int i = 0; i < reps; i++) { long start = System.nanoTime();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.5K bytes - Viewed (0) -
pkg/dns/client/monitoring.go
) var ( requests = monitoring.NewSum( "dns_requests_total", "Total number of DNS requests.", ) upstreamRequests = monitoring.NewSum( "dns_upstream_requests_total", "Total number of DNS requests forwarded to upstream.", ) failures = monitoring.NewSum( "dns_upstream_failures_total", "Total number of DNS failures.", ) requestDuration = monitoring.NewDistribution(
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Nov 07 15:55:53 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/MBeanOsMemoryInfo.java
long total = mBeanAttributeProvider.getMbeanAttribute("java.lang:type=OperatingSystem", totalMemoryAttribute, Long.class); long free = mBeanAttributeProvider.getMbeanAttribute("java.lang:type=OperatingSystem", "FreePhysicalMemorySize", Long.class); if (total == -1) { throw new UnsupportedOperationException("Unable to retrieve total physical memory from MBean"); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 20 21:48:34 UTC 2024 - 2.2K bytes - Viewed (0) -
cmd/http-stats.go
} // Increase S3 total input bytes func (s *connStats) incS3InputBytes(n int64) { atomic.AddUint64(&s.s3InputBytes, uint64(n)) } // Increase S3 total output bytes func (s *connStats) incS3OutputBytes(n int64) { atomic.AddUint64(&s.s3OutputBytes, uint64(n)) } // Return S3 total input bytes func (s *connStats) getS3InputBytes() uint64 { return atomic.LoadUint64(&s.s3InputBytes) } // Return S3 total output bytes
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 06:25:13 UTC 2024 - 11.5K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
} } checkNotNull(from); checkNotNull(to); long total = 0; CharBuffer buf = createBuffer(); while (from.read(buf) != -1) { Java8Compatibility.flip(buf); to.append(buf); total += buf.remaining(); Java8Compatibility.clear(buf); } return total; } // TODO(lukes): consider allowing callers to pass in a buffer to use, some callers would be able
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 10.9K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java
} @Benchmark void charSplitter(int reps) { int total = 0; for (int i = 0; i < reps; i++) { total += Iterables.size(CHAR_SPLITTER.split(input)); } } @Benchmark void stringSplitter(int reps) { int total = 0; for (int i = 0; i < reps; i++) { total += Iterables.size(STRING_SPLITTER.split(input)); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.7K bytes - Viewed (0)