- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 275 for rounds (0.14 sec)
-
pkg/monitoring/monitoring.go
// data collected by the Metric will be collected and exported as a histogram, with the specified bounds. func NewDistribution(name, description string, bounds []float64, opts ...Options) Metric { knownMetrics.register(MetricDefinition{ Name: name, Type: "Distribution", Description: description, Bounds: bounds, }) o, dm := createOptions(name, description, opts...) if dm != nil { return dm }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 24 03:31:28 UTC 2023 - 9.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/dirent.go
switch size { case 1: return uint64(b[0]) case 2: _ = b[1] // bounds check hint to compiler; see golang.org/issue/14808 return uint64(b[1]) | uint64(b[0])<<8 case 4: _ = b[3] // bounds check hint to compiler; see golang.org/issue/14808 return uint64(b[3]) | uint64(b[2])<<8 | uint64(b[1])<<16 | uint64(b[0])<<24 case 8: _ = b[7] // bounds check hint to compiler; see golang.org/issue/14808
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 3K bytes - Viewed (0) -
src/runtime/cgo/gcc_stack_darwin.c
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include <pthread.h> #include "libcgo.h" void x_cgo_getstackbound(uintptr bounds[2]) { void* addr; size_t size; pthread_t p; p = pthread_self(); addr = pthread_get_stackaddr_np(p); // high address (!) size = pthread_get_stacksize_np(p); // bounds points into the Go stack. TSAN can't see the synchronization
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 01:32:45 UTC 2024 - 617 bytes - Viewed (0) -
src/runtime/cgo/gcc_stack_unix.c
// same as the default stack bounds. pthread_attr_getstacksize(&attr, &size); addr = __builtin_frame_address(0) + 4096 - size; #endif pthread_attr_destroy(&attr); // bounds points into the Go stack. TSAN can't see the synchronization // in Go around stack reuse. _cgo_tsan_acquire(); bounds[0] = (uintptr)addr; bounds[1] = (uintptr)addr + size; _cgo_tsan_release();
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 03:44:11 UTC 2024 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/conc_alloc.go
// See if the solution does not run into any bounds. fairProp := requiredSumF / targetSum if lbRange.max <= fairProp && fairProp <= ubRange.min { // no bounds matter for idx := range classes { ans[idx] = relativeItems[idx].target * fairProp } return ans, fairProp, nil } // Sadly, some bounds matter. // We find the solution by sorting the bounds and considering progressively
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 9.5K bytes - Viewed (0) -
cmd/metrics-v3-system-cpu.go
m.Set(sysCPUSteal, cpuStealVal) // metrics-resource.go runs a job to collect resource metrics including their Avg values and // stores them in resourceMetricsMap. We can use it to get the Avg values of CPU idle and IOWait. cpuResourceMetrics, found := resourceMetricsMap[cpuSubsystem] if found { if cpuIdleMetric, ok := cpuResourceMetrics[getResourceKey(cpuIdle, nil)]; ok {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Apr 23 23:56:12 UTC 2024 - 3K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/fuzzer/fuzzer.go
// Avoid round tripping the ClusterConfiguration embedded in the InitConfiguration, since it is // only present in the internal version and not in public versions obj.ClusterConfiguration = kubeadm.ClusterConfiguration{} // Adds the default bootstrap token to get the round trip working obj.BootstrapTokens = []bootstraptokenv1.BootstrapToken{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 13 06:41:07 UTC 2024 - 6.2K bytes - Viewed (0) -
src/internal/zstd/xxhash.go
n := copy(xh.buf[xh.cnt:], b) b = b[n:] xh.v[0] = xh.round(xh.v[0], binary.LittleEndian.Uint64(xh.buf[:])) xh.v[1] = xh.round(xh.v[1], binary.LittleEndian.Uint64(xh.buf[8:])) xh.v[2] = xh.round(xh.v[2], binary.LittleEndian.Uint64(xh.buf[16:])) xh.v[3] = xh.round(xh.v[3], binary.LittleEndian.Uint64(xh.buf[24:])) xh.cnt = 0 } for len(b) >= 32 { xh.v[0] = xh.round(xh.v[0], binary.LittleEndian.Uint64(b))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 20:34:13 UTC 2023 - 3.3K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/model/internal/type/WildcardTypeWrapper.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 11 21:42:04 UTC 2018 - 3.3K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/stackswitch.go
// We want to trigger a bounds check on the g0 stack. To do this, we // need to call a splittable function through systemstack(). // SetGCPercent contains such a systemstack call. gogc := debug.SetGCPercent(100) debug.SetGCPercent(gogc) } // Regression test for https://go.dev/issue/62440. It should be possible for C // threads to call into Go from different stacks without crashing due to g0 // stack bounds checks. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 15:33:38 UTC 2023 - 1.1K bytes - Viewed (0)