- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 64 for Mounts (0.11 sec)
-
src/time/time_test.go
if testing.Short() { t.Skip("skipping malloc count in short mode") } if runtime.GOMAXPROCS(0) > 1 { t.Skip("skipping; GOMAXPROCS>1") } for _, mt := range mallocTest { allocs := int(testing.AllocsPerRun(100, mt.fn)) if allocs > mt.count { t.Errorf("%s: %d allocs, want %d", mt.desc, allocs, mt.count) } } } func TestLoadFixed(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go
// apiextensions-apiserver has discovery disabled, so hardcode this mapping var fakeRESTMapper map[schema.GroupVersionResource]string = map[schema.GroupVersionResource]string{ myCRDV1Beta1: "MyCoolCRD", } // FixTabsOrDie counts the number of tab characters preceding the first // line in the given yaml object. It removes that many tabs from every // line. It panics (it's a test function) if some line has fewer tabs // than the first line. //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 59.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go
func fairAlloc(demands []float64, capacity float64) []float64 { count := len(demands) indices := make([]int, count) for i := 0; i < count; i++ { indices[i] = i } sort.Slice(indices, func(i, j int) bool { return demands[indices[i]] < demands[indices[j]] }) alloc := make([]float64, count) var next int var prevAlloc float64 for ; next < count; next++ { // `capacity` is how much remains assuming that
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 26 12:55:23 UTC 2023 - 58.4K bytes - Viewed (0) -
pkg/controller/podautoscaler/horizontal.go
possibleLimitingReason = "ScaleUpLimit" possibleLimitingMessage = "the desired replica count is increasing faster than the maximum scale rate" } else { possibleLimitingReason = "TooManyReplicas" possibleLimitingMessage = "the desired replica count is more than the maximum replica count" } if args.DesiredReplicas > maximumAllowedReplicas {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 63.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/S390XOps.go
reg: regInfo{inputs: gponly, outputs: []regMask{buildReg("R0")}, clobbers: buildReg("R1")}, asm: "FLOGR", typ: "UInt64", clobberFlags: true, }, // population count // // Counts the number of ones in each byte of arg0 // and places the result into the corresponding byte // of the result. { name: "POPCNT", argLength: 1, reg: gp11,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 00:21:13 UTC 2023 - 52.5K bytes - Viewed (0) -
src/bufio/bufio_test.go
} b1.Flush() if w1 != 3 { t.Fatalf("flush 1200 + 1389 'x's: got %d writes, want 3", w1) } } // A writeCountingDiscard is like io.Discard and counts the number of times // Write is called on it. type writeCountingDiscard int func (w *writeCountingDiscard) Write(p []byte) (int, error) { *w++ return len(p), nil } type negativeReader int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 10 18:56:01 UTC 2023 - 51.5K bytes - Viewed (0) -
src/runtime/mprof.go
bp := b.bp() r := profilerecord.BlockProfileRecord{ Count: int64(bp.count), Cycles: bp.cycles, Stack: b.stk(), } // Prevent callers from having to worry about division by zero errors. // See discussion on http://golang.org/cl/299991. if r.Count == 0 { r.Count = 1 } copyFn(r) } } unlock(&profBlockLock) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 53.3K bytes - Viewed (0) -
.bazelrc
build:linux --copt="-Wno-all" build:linux --copt="-Wno-extra" build:linux --copt="-Wno-deprecated" build:linux --copt="-Wno-deprecated-declarations" build:linux --copt="-Wno-ignored-attributes" build:linux --copt="-Wno-array-bounds" # Add unused-result as an error on Linux. build:linux --copt="-Wunused-result" build:linux --copt="-Werror=unused-result" # Add switch as an error on Linux. build:linux --copt="-Wswitch"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 17:12:54 UTC 2024 - 52.9K bytes - Viewed (0) -
src/runtime/mgc.go
releasem(mp) // Make sure we block instead of returning to user code // in STW mode. if mode != gcBackgroundMode { Gosched() } semrelease(&work.startSema) } // gcMarkDoneFlushed counts the number of P's with flushed work. // // Ideally this would be a captured local in gcMarkDone, but forEachP // escapes its callback closure, so it can't capture anything. // // This is protected by markDoneSema.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62K bytes - Viewed (0) -
src/cmd/compile/internal/ppc64/ssa.go
p.From.Type = obj.TYPE_CONST p.From.Offset = 16 p.To.Type = obj.TYPE_REG p.To.Reg = ppc64.REGTMP // Don't adding padding for // alignment with small iteration // counts. if ctr > 3 { p = s.Prog(obj.APCALIGN) p.From.Type = obj.TYPE_CONST p.From.Offset = 16 } // Generate 16 byte loads and stores. // Use temp register for index (16)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:59:38 UTC 2024 - 55.4K bytes - Viewed (0)