- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 1,147 for index (0.05 sec)
-
src/runtime/syscall_windows.go
} key := winCallbackKey{(*funcval)(fn.data), cdecl} cbsLock() // Check if this callback is already registered. if n, ok := cbs.index[key]; ok { cbsUnlock() return callbackasmAddr(n) } // Register the callback. if cbs.index == nil { cbs.index = make(map[winCallbackKey]int) } n := cbs.n if n >= len(cbs.ctxt) { cbsUnlock() throw("too many callback functions") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 16.6K bytes - Viewed (0) -
cmd/bucket-metadata-sys.go
if err != nil { return err } bucketMetas[index] = meta return nil }, index) } errs := g.Wait() for index, err := range errs { if err != nil { internalLogOnceIf(ctx, fmt.Errorf("Unable to load bucket metadata, will be retried: %w", err), "load-bucket-metadata-"+buckets[index].Name, logger.WarningKind) } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 19.8K bytes - Viewed (0) -
src/sync/poolqueue.go
// but not typically a property considered in the literature. type poolDequeue struct { // headTail packs together a 32-bit head index and a 32-bit // tail index. Both are indexes into vals modulo len(vals)-1. // // tail = index of oldest data in queue // head = index of next slot to fill // // Slots in the range [tail, head) are owned by consumers. // A consumer continues to own a slot outside this range until
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 18:12:29 UTC 2024 - 8.3K bytes - Viewed (0) -
pkg/api/service/warnings_test.go
want: []string{}, }, { name: "IPv6 No failures", address: "2001:db8::2", fieldPath: field.NewPath("spec").Child("clusterIPs").Index(0), want: []string{}, }, { name: "IPv4 with leading zeros", address: "192.012.2.2", fieldPath: field.NewPath("spec").Child("clusterIPs").Index(0), want: []string{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 26 22:57:57 UTC 2023 - 10.4K bytes - Viewed (0) -
pkg/controller/job/pod_failure_policy.go
case batch.PodFailurePolicyActionFailJob: msg := fmt.Sprintf("Container %s for pod %s/%s failed with exit code %v matching %v rule at index %d", containerStatus.Name, failedPod.Namespace, failedPod.Name, containerStatus.State.Terminated.ExitCode, podFailurePolicyRule.Action, index) return &msg, true, &failJob } } } else if podFailurePolicyRule.OnPodConditions != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 18 20:44:11 UTC 2023 - 5.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check_test.go
} // len(indices) > 0 // If there are multiple matching errors, select the one with the closest column position. index := -1 // index of matching error var delta uint for _, i := range indices { if d := absDiff(gotPos.Col(), errList[i].Pos.Col()); index < 0 || d < delta { index, delta = i, d } } // The closest column position must be within expected colDelta. if delta > colDelta {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 13.8K bytes - Viewed (0) -
src/cmd/internal/obj/x86/asm_test.go
{REG_K0, REG_K7}, {REG_X0, REG_X31}, {REG_Y0, REG_Y31}, {REG_Z0, REG_Z31}, } for _, test := range tests { for index, reg := 0, test.regFrom; reg <= test.regTo; index, reg = index+1, reg+1 { have := regIndex(int16(reg)) want := index if have != want { regName := rconv(int(reg)) t.Errorf("regIndex(%s):\nhave: %d\nwant: %d", regName, have, want) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 28 19:39:51 UTC 2023 - 9.2K bytes - Viewed (0) -
pkg/apis/admissionregistration/validation/validation.go
if _, ok := resourcesWithWildcardSubresoures[res]; ok { allErrors = append(allErrors, field.Invalid(fldPath.Index(i), resSub, fmt.Sprintf("if '%s/*' is present, must not specify %s", res, resSub))) } if _, ok := subResourcesWithWildcardResource[sub]; ok { allErrors = append(allErrors, field.Invalid(fldPath.Index(i), resSub, fmt.Sprintf("if '*/%s' is present, must not specify %s", sub, resSub))) } if sub == "*" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 56.6K bytes - Viewed (0) -
test/typeparam/graph.go
// but for this test that doesn't matter. // Set the index field in the map. Simpler than doing it in the // composite literal. for k := range zork { r := zork[k] r.index = k zork[k] = r } var nodes []mazeRoom for idx, room := range zork { mridx := room mridx.index = idx nodes = append(nodes, mridx) } g := _New[mazeRoom, mazeEdge](nodes)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 5.7K bytes - Viewed (0) -
schema/field.go
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 32K bytes - Viewed (0)