- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 60 for FLOAT64 (0.1 sec)
-
src/internal/trace/base.go
} return data } // frequency is nanoseconds per timestamp unit. type frequency float64 // mul multiplies an unprocessed to produce a time in nanoseconds. func (f frequency) mul(t timestamp) Time { return Time(float64(t) * float64(f)) } // stringID is an index into the string table for a generation. type stringID uint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 6.8K bytes - Viewed (0) -
src/runtime/mksizeclasses.go
if i == 0 { continue } spanSize := c.npages * pageSize objects := spanSize / c.size tailWaste := spanSize - c.size*(spanSize/c.size) maxWaste := float64((c.size-prevSize-1)*objects+tailWaste) / float64(spanSize) alignBits := bits.TrailingZeros(uint(c.size)) if alignBits > pageShift { // object alignment is capped at page alignment alignBits = pageShift }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:27 UTC 2024 - 9.6K bytes - Viewed (0) -
pilot/pkg/features/telemetry.go
var ( traceSamplingVar = env.Register( "PILOT_TRACE_SAMPLING", 1.0, "Sets the mesh-wide trace sampling percentage. Should be 0.0 - 100.0. Precision to 0.01. "+ "Default is 1.0.", ) TraceSampling = func() float64 { f := traceSamplingVar.Get() if f < 0.0 || f > 100.0 { log.Warnf("PILOT_TRACE_SAMPLING out of range: %v", f) return 1.0 } return f }()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 10 14:36:01 UTC 2024 - 2.3K bytes - Viewed (0) -
pkg/controller/podautoscaler/config/types.go
HorizontalPodAutoscalerDownscaleStabilizationWindow metav1.Duration // horizontalPodAutoscalerTolerance is the tolerance for when // resource usage suggests upscaling/downscaling HorizontalPodAutoscalerTolerance float64 // HorizontalPodAutoscalerCPUInitializationPeriod is the period after pod start when CPU samples // might be skipped. HorizontalPodAutoscalerCPUInitializationPeriod metav1.Duration
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun May 19 09:49:23 UTC 2024 - 2.1K bytes - Viewed (0) -
src/testing/internal/testdeps/deps.go
var ( CoverSnapshotFunc func() float64 CoverProcessTestDirFunc func(dir string, cfile string, cm string, cpkg string, w io.Writer) error CoverMarkProfileEmittedFunc func(val bool) ) func (TestDeps) InitRuntimeCoverage() (mode string, tearDown func(string, string) (string, error), snapcov func() float64) { if CoverMode == "" { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 14:01:23 UTC 2024 - 6.2K bytes - Viewed (0) -
security/pkg/server/ca/server.go
rootCertPem, err := util.ParsePemEncodedCertificate(keyCertBundle.GetRootCertPem()) if err != nil { serverCaLog.Errorf("failed to parse the root cert: %v", err) } rootCertExpirySeconds.ValueFrom(func() float64 { return time.Until(rootCertPem.NotAfter).Seconds() }) if len(keyCertBundle.GetCertChainPem()) == 0 { return } certChainExpiry, err := keyCertBundle.ExtractCACertExpiryTimestamp() if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 28 17:35:26 UTC 2024 - 8K bytes - Viewed (0) -
src/log/slog/value_test.go
var ( i int64 u uint64 f float64 b bool s string x any p = &i d time.Duration tm time.Time ) a := int(testing.AllocsPerRun(5, func() { i = Int64Value(1).Int64() u = Uint64Value(1).Uint64() f = Float64Value(1).Float64() b = BoolValue(true).Bool() s = StringValue("foo").String() d = DurationValue(d).Duration()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:12:08 UTC 2024 - 6.9K bytes - Viewed (0) -
pkg/util/coverage/fake_test_deps.go
func (fakeTestDeps) SnapshotCoverage() {} //nolint:unused // U1000 see comment above, we know it's unused normally. func (fakeTestDeps) InitRuntimeCoverage() (mode string, tearDown func(string, string) (string, error), snapcov func() float64) { return "", nil, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 15:31:22 UTC 2024 - 3.5K bytes - Viewed (0) -
security/pkg/util/jwtutil.go
if claims["exp"] == nil { // The JWT doesn't have "exp", so it's always valid. E.g., the K8s first party JWT. return time.Time{}, nil } var expiration time.Time switch exp := claims["exp"].(type) { case float64: expiration = time.Unix(int64(exp), 0) case json.Number: v, _ := exp.Int64() expiration = time.Unix(v, 0) } return expiration, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 16:07:11 UTC 2024 - 3.2K bytes - Viewed (0) -
src/runtime/tracetime.go
return uint64(ticksPerSecond() / traceTimeDiv) } // Our clock is nanotime, so it's just the constant time division. // (trace clock units / nanoseconds) * (1e9 nanoseconds / 1 second) return uint64(1.0 / float64(traceTimeDiv) * 1e9) } // traceFrequency writes a batch with a single EvFrequency event. // // freq is the number of trace clock units per second. func traceFrequency(gen uintptr) { w := unsafeTraceWriter(gen, nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 3.3K bytes - Viewed (0)