- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 699 for float64 (0.12 sec)
-
src/builtin/builtin.go
type int64 int64 // float32 is the set of all IEEE 754 32-bit floating-point numbers. type float32 float32 // float64 is the set of all IEEE 754 64-bit floating-point numbers. type float64 float64 // complex64 is the set of all complex numbers with float32 real and // imaginary parts. type complex64 complex64 // complex128 is the set of all complex numbers with float64 real and // imaginary parts.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 12.7K bytes - Viewed (0) -
internal/config/identity/plugin/config.go
} } // Metrics contains metrics about the authentication plugin service. type Metrics struct { LastReachableSecs, LastUnreachableSecs float64 // Last whole minute stats TotalRequests, FailedRequests int64 AvgSuccRTTMs float64 MaxSuccRTTMs float64 } // Metrics reports metrics related to plugin service reachability and stats for the last whole minute
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 13.3K bytes - Viewed (0) -
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 Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 17 16:53:34 UTC 2024 - 5.3K bytes - Viewed (0) -
cni/pkg/log/uds_test.go
out, err := io.ReadAll(r) assert.NoError(t, err) cases := []struct { level string msg string key *float64 }{ {"debug", "debug log", nil}, {"info", "info log", nil}, {"warn", "warn log", nil}, {"error", "error log", nil}, {"info", "with labels", ptr.Of(float64(2))}, } // For each level, there should be two lines, one from direct log, // the other one from UDS server
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jun 12 16:26:28 UTC 2024 - 4.1K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor_test.go
test2Want2 := make(map[BucketOptions]Details) test2Want2[BucketOptions{Name: "bucket", ReplicationARN: "arn"}] = Details{ LimitInBytesPerSecond: 1024 * 1024, CurrentBandwidthInBytesPerSecond: exponentialMovingAverage(betaBucket, float64(oneMiB), 2*float64(oneMiB)), } test1ActiveBuckets := make(map[BucketOptions]*bucketMeasurement)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 06 03:21:59 UTC 2023 - 4.3K bytes - Viewed (0) -
doc/go1.17_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: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 10 18:25:45 UTC 2024 - 211.6K bytes - Viewed (0) -
cmd/metrics-v2_test.go
package cmd import ( "testing" "time" "github.com/prometheus/client_golang/prometheus" ) func TestGetHistogramMetrics(t *testing.T) { histBuckets := []float64{0.05, 0.1, 0.25, 0.5, 0.75} labels := []string{"GetObject", "PutObject", "CopyObject", "CompleteMultipartUpload"} ttfbHist := prometheus.NewHistogramVec( prometheus.HistogramOpts{ Name: "s3_ttfb_seconds",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 04 18:05:56 UTC 2024 - 2.3K bytes - Viewed (0) -
cmd/speedtest.go
} sendResult() break } // We break if we did not see 2.5% growth rate in total GET // requests, we have reached our peak at this point. doBreak := float64(totalGet-throughputHighestGet)/float64(totalGet) < 0.025 throughputHighestGet = totalGet throughputHighestResults = results throughputHighestPut = totalPut if doBreak { sendResult() break }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon May 06 09:45:10 UTC 2024 - 9.2K bytes - Viewed (0) -
cmd/data-usage-utils.go
metrics = append(metrics, MetricV2{ Description: getClusterTransitionedBytesMD(), Value: float64(st.TotalSize), VariableLabels: map[string]string{"tier": tier}, }) metrics = append(metrics, MetricV2{ Description: getClusterTransitionedObjectsMD(), Value: float64(st.NumObjects), VariableLabels: map[string]string{"tier": tier}, }) metrics = append(metrics, MetricV2{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 10 09:15:15 UTC 2024 - 6.4K bytes - Viewed (0) -
internal/s3select/sql/funceval.go
} } func floatCast(v *Value) (float64, error) { switch x := v.value.(type) { case float64: return x, nil case int64: return float64(x), nil case string: f, err := strconv.ParseFloat(strings.TrimSpace(x), 64) if err != nil { return 0, errCastFailure("could not parse as float") } return f, nil case []byte:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 13.2K bytes - Viewed (0)