- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for KindUint64 (0.33 sec)
-
src/runtime/metrics/value.go
type ValueKind int const ( // KindBad indicates that the Value has no type and should not be used. KindBad ValueKind = iota // KindUint64 indicates that the type of the Value is a uint64. KindUint64 // KindFloat64 indicates that the type of the Value is a float64. KindFloat64 // KindFloat64Histogram indicates that the type of the Value is a *Float64Histogram.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 16:59:11 UTC 2023 - 1.8K bytes - Viewed (0) -
src/internal/godebug/godebug_test.go
metrics.Read(m[:]) if kind := m[0].Value.Kind(); kind != metrics.KindUint64 { t.Fatalf("NonDefault kind = %v, want uint64", kind) } s := New(name) s.Value() s.IncNonDefault() s.IncNonDefault() s.IncNonDefault() metrics.Read(m[:]) if kind := m[0].Value.Kind(); kind != metrics.KindUint64 { t.Fatalf("NonDefault kind = %v, want uint64", kind) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 4K bytes - Viewed (0) -
src/log/slog/json_handler.go
s.buf.WriteByte('"') } func appendJSONValue(s *handleState, v Value) error { switch v.Kind() { case KindString: s.appendString(v.str()) case KindInt64: *s.buf = strconv.AppendInt(*s.buf, v.Int64(), 10) case KindUint64: *s.buf = strconv.AppendUint(*s.buf, v.Uint64(), 10) case KindFloat64: // json.Marshal is funny about floats; it doesn't // always match strconv.AppendFloat. So just call it.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 16:18:11 UTC 2023 - 8.1K bytes - Viewed (0)