- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 248 for FLOAT64 (0.34 sec)
-
cmd/callhome.go
// callhome was disabled or context was canceled return } // callhome running on a different node. // sleep for some time and try again. duration := time.Duration(r.Float64() * float64(globalCallhomeConfig.FrequencyDur())) if duration < time.Second { // Make sure to sleep at least a second to avoid high CPU ticks. duration = time.Second } time.Sleep(duration) } }() }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 17 16:53:34 UTC 2024 - 5.3K bytes - Viewed (0) -
src/internal/types/testdata/spec/typeAliases1.23b.go
// The type parameters of a type alias must implement the // corresponding type constraints of the type parameters // on the RHS (if any) type _[P any, Q ~int] = RHS[P, Q] type _[P any, Q int] = RHS[P, Q] type _[P int | float64] = RHS[P, int] type _[P, Q any] = RHS[P, Q /* ERROR "Q does not satisfy ~int" */] // A generic type alias may be used like any other generic type. type A[P any] = RHS[P, int] func _(a A[string]) { a.p = "foo"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 1.2K bytes - Viewed (0) -
src/internal/coverage/cfile/testsupport.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 8.7K bytes - Viewed (0) -
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) -
pilot/pkg/networking/core/route/route_internal_test.go
}, }, Percentage: &networking.Percent{ Value: float64(50), }, }, Abort: &networking.HTTPFaultInjection_Abort{ ErrorType: &networking.HTTPFaultInjection_Abort_GrpcStatus{ GrpcStatus: "DEADLINE_EXCEEDED", }, Percentage: &networking.Percent{ Value: float64(50), }, }, }, want: &xdshttpfault.HTTPFault{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat May 11 02:47:57 UTC 2024 - 18.2K bytes - Viewed (0) -
src/math/big/float.go
return float32(math.Inf(+1)), Exact } panic("unreachable") } // Float64 returns the float64 value nearest to x. If x is too small to be // represented by a float64 (|x| < [math.SmallestNonzeroFloat64]), the result // is (0, [Below]) or (-0, [Above]), respectively, depending on the sign of x. // If x is too large to be represented by a float64 (|x| > [math.MaxFloat64]),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 44.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go
return &prog } // computeRandom returns a cryptographic random float64 in the range [0, 1], // with 52 bits of precision. func computeRandom() float64 { for { b := make([]byte, 8) _, err := rand.Read(b) if err != nil { panic(fmt.Sprintf("rand.Read failed: %v", err)) } // and turn it into a float64 x := math.Float64frombits(binary.LittleEndian.Uint64(b))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 14:52:56 UTC 2024 - 10.3K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/report/report.go
OutputFormat int CumSort bool CallTree bool DropNegative bool CompactLabels bool Ratio float64 Title string ProfileLabels []string ActiveFilters []string NumLabelUnits map[string]string NodeCount int NodeFraction float64 EdgeFraction float64 SampleValue func(s []int64) int64 SampleMeanDivisor func(s []int64) int64 SampleType string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 37.5K bytes - Viewed (0) -
cmd/metrics-v3-types.go
} // SetHistogramValues - sets values for the given MetricName using the provided map of // range to value. func SetHistogramValues[V uint64 | int64 | float64](m MetricValues, name MetricName, values map[string]V, labels ...string) { for rng, val := range values { m.Set(name, float64(val), append(labels, rangeL, rng)...) } } // MetricsLoaderFn - represents a function to load metrics from the // metricsCache. //
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 23 07:41:18 UTC 2024 - 15.1K bytes - Viewed (0) -
doc/go_spec.html
<pre> const ( c1 = imag(2i) // imag(2i) = 2.0 is a constant c2 = len([10]float64{2}) // [10]float64{2} contains no function calls c3 = len([10]float64{c1}) // [10]float64{c1} contains no function calls c4 = len([10]float64{imag(2i)}) // imag(2i) is a constant and no function call is issued c5 = len([10]float64{imag(z)}) // invalid: imag(z) is a (non-constant) function call ) var z complex128 </pre>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 21:07:21 UTC 2024 - 281.5K bytes - Viewed (1)