- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 87 for index (0.06 sec)
-
cmd/erasure-object.go
fi := metadata[index] // Assign index when index is initialized if fi.Erasure.Index == 0 { fi.Erasure.Index = index + 1 } if !fi.IsValid() { return errFileCorrupt } resp, err := disks[index].RenameData(ctx, srcBucket, srcEntry, fi, dstBucket, dstEntry, RenameOptions{}) if err != nil { return err } diskVersions[index] = resp.Sign
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 78.6K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader.go
// objSym represents a symbol in an object file. It is a tuple of // the object and the symbol's local index. // For external symbols, objidx is the index of l.extReader (extObj), // s is its index into the payload array. // {0, 0} represents the nil symbol. type objSym struct { objidx uint32 // index of the object (in l.objs array) s uint32 // local index } type nameVer struct { name string v int }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0) -
src/text/template/exec_test.go
{"map[nil]", "{{index .MSI nil}}", "", tVal, false}, {"map[``]", "{{index .MSI ``}}", "0", tVal, true}, {"map[WRONG]", "{{index .MSI 10}}", "", tVal, false}, {"double index", "{{index .SMSI 1 `eleven`}}", "11", tVal, true}, {"nil[1]", "{{index nil 1}}", "", tVal, false}, {"map MI64S", "{{index .MI64S 2}}", "i642", tVal, true}, {"map MI32S", "{{index .MI32S 2}}", "two", tVal, true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 60.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go
if !unicode.IsPrint(r) { errors = append(errors, fmt.Sprintf("must only contain printable UTF-8 characters; non-printable character found at index %d", i)) break } if unicode.IsControl(r) { errors = append(errors, fmt.Sprintf("must only contain printable UTF-8 characters; control character found at index %d", i)) break } } if !utf8.ValidString(*deprecationWarning) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 82.6K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go
return nil, statusError(logger, err) } s.informationsForClaim[index].availableOnNode = selector } s.informationsForClaim[index].status = statusForClaim(s.podSchedulingState.schedulingCtx, pod.Spec.ResourceClaims[index].Name) if class.StructuredParameters != nil && *class.StructuredParameters { s.informationsForClaim[index].structuredParameters = true // Allocation in flight? Better wait for that
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 15:22:37 UTC 2024 - 75.9K bytes - Viewed (0) -
cmd/erasure-server-pool.go
nSets := make([]int, len(z.serverPools)) g := errgroup.WithNErrs(len(z.serverPools)) for index := range z.serverPools { index := index // Skip suspended pools or pools participating in rebalance for any new // I/O. if z.IsSuspended(index) || z.IsPoolRebalancing(index) { continue } pool := z.serverPools[index] nSets[index] = pool.setCount g.Go(func() error { // Get the set where it would be placed.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 11:58:12 UTC 2024 - 82.5K 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) -
src/runtime/mprof.go
if alreadyFlushed { return } index := cycle % uint32(len(memRecord{}.future)) lock(&profMemActiveLock) lock(&profMemFutureLock[index]) mProf_FlushLocked(index) unlock(&profMemFutureLock[index]) unlock(&profMemActiveLock) } // mProf_FlushLocked flushes the events from the heap profiling cycle at index // into the active profile. The caller must hold the lock for the active profile
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 53.3K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go
// the scope of a cast operator. return &TemplateParam{Index: index, Template: nil} } if index >= len(template.Args) { st.failEarlier(fmt.Sprintf("substituted template index out of range (%d >= %d)", index, len(template.Args)), st.off-off) } return &TemplateParam{Index: index, Template: template} } seen := make(map[AST]bool) skip := func(a AST) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 94.1K bytes - Viewed (0) -
src/net/http/fs_test.go
name = "Dir" case 1: h = FileServer(FS(os.DirFS("."))) name = "DirFS" } t.Run(name, func(t *testing.T) { const want = "index.html says hello\n" ts := newClientServerTest(t, mode, h).ts for _, path := range []string{"/testdata/", "/testdata/index.html"} { res, err := ts.Client().Get(ts.URL + path) if err != nil { t.Fatal(err) } b, err := io.ReadAll(res.Body)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 23:39:44 UTC 2024 - 49.9K bytes - Viewed (0)