- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 487 for rounds (0.08 sec)
-
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) -
src/image/gif/reader_test.go
copy(gif, testGIF) // Make the bounds too big, just by one. gif[32] = 2 want := "gif: frame bounds larger than image bounds" try(t, gif, want) // Make the bounds too small; does not trigger bounds // check, but now there's too much data. gif[32] = 0 want = "gif: too much image data" try(t, gif, want) gif[32] = 1 // Make the bounds really big, expect an error.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:15:54 UTC 2024 - 13.3K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
* Returns {@code ? extends X} if any of {@code bounds} is a subtype of {@code X[]}; or null * otherwise. */ @CheckForNull private static Type subtypeOfComponentType(Type[] bounds) { for (Type bound : bounds) { Type componentType = getComponentType(bound); if (componentType != null) { // Only the first bound can be a class or array. // Bounds after the first can only be interfaces.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 23.1K 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/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) -
src/image/jpeg/fuzz_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 15:56:27 UTC 2023 - 1.4K bytes - Viewed (0) -
src/runtime/cgocall.go
// that call returning and now the stack may have changed (perhaps the // C thread is running a coroutine library). We need to update the // stack bounds for this case. // // N.B. we need to update the stack bounds even if SP appears to // already be in bounds. Our "bounds" may actually be estimated dummy // bounds (below). The actual stack bounds could have shifted but still
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 24.2K bytes - Viewed (0) -
src/image/jpeg/writer.go
cb, cr [4]block // DC components are delta-encoded. prevDCY, prevDCCb, prevDCCr int32 ) bounds := m.Bounds() switch m := m.(type) { // TODO(wathiede): switch on m.ColorModel() instead of type. case *image.Gray: for y := bounds.Min.Y; y < bounds.Max.Y; y += 8 { for x := bounds.Min.X; x < bounds.Max.X; x += 8 { p := image.Pt(x, y) grayToY(m, p, &b) prevDCY = e.writeBlock(&b, 0, prevDCY) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 17.1K bytes - Viewed (0) -
test/fixedbugs/issue15002.go
if r == nil { panic("no fault or bounds check failure happened") } s := fmt.Sprintf("%s", r) if s != "runtime error: index out of range [1] with length 1" { panic("bad panic: " + s) } }() return uint16(x[i]) | uint16(x[i+1])<<8 } func test32(x []byte) uint32 { defer func() { r := recover() if r == nil { panic("no fault or bounds check failure happened") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 3.2K bytes - Viewed (0) -
src/go/internal/gcimporter/ureader.go
tname := types.NewTypeName(pos, pkg, name, nil) r.dict.tparams[i] = types.NewTypeParam(tname, nil) } typs := make([]types.Type, len(r.dict.bounds)) for i, bound := range r.dict.bounds { typs[i] = r.p.typIdx(bound, r.dict) } // TODO(mdempsky): This is subtle, elaborate further. // // We have to save tparams outside of the closure, because
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.6K bytes - Viewed (0)