- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 253 for FLOAT64 (0.25 sec)
-
src/runtime/pprof/protomem.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:45 UTC 2024 - 2.9K bytes - Viewed (0) -
src/runtime/metrics_test.go
} var totalScan struct { got, want uint64 } var cpu struct { gcAssist float64 gcDedicated float64 gcIdle float64 gcPause float64 gcTotal float64 idle float64 user float64 scavengeAssist float64 scavengeBg float64 scavengeTotal float64 total float64 } for i := range samples { kind := samples[i].Value.Kind()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 45K bytes - Viewed (0) -
cmd/metrics-v3-logger-webhook.go
for _, t := range tgts { labels := []string{nameL, t.String(), endpointL, t.Endpoint()} m.Set(webhookFailedMessages, float64(t.Stats().FailedMessages), labels...) m.Set(webhookQueueLength, float64(t.Stats().QueueLength), labels...) m.Set(webhookTotalMessages, float64(t.Stats().TotalMessages), labels...) } return nil
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 14 07:27:33 UTC 2024 - 2K bytes - Viewed (0) -
src/internal/trace/testdata/cmd/gotraceeventstats/main.go
name := "" if int(stat.typ) >= len(specs) { name = fmt.Sprintf("<unknown (%d)>", stat.typ) } else { name = specs[stat.typ].Name } bytesPct := float64(stat.bytes) / float64(cr.bytesRead) * 100 countPct := float64(stat.count) / float64(eventsRead) * 100 fmt.Fprintf(w, "%s\t%d\t%.2f%%\t%d\t%.2f%%\n", name, stat.bytes, bytesPct, stat.count, countPct) } w.Flush() return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:29 UTC 2024 - 2.9K bytes - Viewed (0) -
src/testing/newcover.go
snapshotcov func() float64 } // registerCover2 is invoked during "go test -cover" runs. // It is used to record a 'tear down' function // (to be called when the test is complete) and the coverage mode. func registerCover2(mode string, tearDown func(coverprofile string, gocoverdir string) (string, error), snapcov func() float64) { if mode == "" { return } cover2.mode = mode
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:58:07 UTC 2024 - 1.6K bytes - Viewed (0) -
cmd/metrics-v3-audit.go
audit := logger.CurrentStats() for id, st := range audit { labels := []string{targetID, id} m.Set(auditFailedMessages, float64(st.FailedMessages), labels...) m.Set(auditTargetQueueLength, float64(st.QueueLength), labels...) m.Set(auditTotalMessages, float64(st.TotalMessages), labels...) } return nil
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 10 14:50:39 UTC 2024 - 1.9K bytes - Viewed (0) -
src/sync/pool_test.go
slices.Sort(pauses) var total uint64 for _, ns := range pauses { total += ns } // ns/op for this benchmark is average STW time. b.ReportMetric(float64(total)/float64(b.N), "ns/op") b.ReportMetric(float64(pauses[len(pauses)*95/100]), "p95-ns/STW") b.ReportMetric(float64(pauses[len(pauses)*50/100]), "p50-ns/STW") } func BenchmarkPoolExpensiveNew(b *testing.B) { // Populate a pool with items that are expensive to construct
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr.go
if err != nil { return 0, fmt.Errorf("invalid value for IntOrString: %v", err) } if isPercent { if roundUp { value = int(math.Ceil(float64(value) * (float64(total)) / 100)) } else { value = int(math.Floor(float64(value) * (float64(total)) / 100)) } } return value, nil } // GetValueFromIntOrPercent was deprecated in favor of
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:09 UTC 2024 - 7.8K bytes - Viewed (0) -
src/internal/trace/gc.go
// separate type primarily to distinguish it from mean utilization, // which is also a float64. type totalUtil float64 func totalUtilOf(meanUtil float64, dur int64) totalUtil { return totalUtil(meanUtil * float64(dur)) } // mean returns the mean utilization over dur. func (u totalUtil) mean(dur time.Duration) float64 { return float64(u) / float64(dur) } // An MMUCurve is the minimum mutator utilization curve across
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 26K bytes - Viewed (0) -
src/go/types/example_test.go
`package main import "fmt" func main() { freezing := FToC(-18) fmt.Println(freezing, Boiling) } `, `package main import "fmt" type Celsius float64 func (c Celsius) String() string { return fmt.Sprintf("%g°C", c) } func FToC(f float64) Celsius { return Celsius(f - 32 / 9 * 5) } const Boiling Celsius = 100 func Unused() { {}; {{ var x int; _ = x }} } // make sure empty block scopes get printed `, } {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.9K bytes - Viewed (0)