- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 570 for index (0.07 sec)
-
pilot/pkg/serviceregistry/kube/controller/ambient/helpers.go
func (a *index) generatePodUID(p *v1.Pod) string { return a.ClusterID.String() + "//" + "Pod/" + p.Namespace + "/" + p.Name } // name format: <cluster>/<group>/<kind>/<namespace>/<name></section-name> // if the WorkloadEntry is inlined in the ServiceEntry, we may need section name. caller should use generateServiceEntryUID
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 22 20:35:23 UTC 2024 - 7.2K bytes - Viewed (0) -
src/sort/search.go
// Search uses binary search to find and return the smallest index i // in [0, n) at which f(i) is true, assuming that on the range [0, n), // f(i) == true implies f(i+1) == true. That is, Search requires that // f is false for some (possibly empty) prefix of the input range [0, n) // and then true for the (possibly empty) remainder; Search returns // the first true index. If there is no such index, Search returns n.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 28 16:40:32 UTC 2023 - 5.7K bytes - Viewed (0) -
cmd/erasure-common.go
} g := errgroup.WithNErrs(len(disks)) // Read files in parallel across disks. for index := range disks { index := index g.Go(func() (err error) { if disks[index] == nil { return errDiskNotFound } return disks[index].ReadMultiple(ctx, req, resps[index]) }, index) } dataArray := make([]ReadMultipleResp, 0, len(req.Files))
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.6K bytes - Viewed (0) -
src/vendor/golang.org/x/net/idna/trie13.0.0.go
index := int(c >> indexShift) if c&xorBit == 0 { p := index return append(b, mappings[mappingIndex[p]:mappingIndex[p+1]]...) } b = append(b, s...) if c&inlineXOR == inlineXOR { // TODO: support and handle two-byte inline masks b[len(b)-1] ^= byte(index) } else { for p := len(b) - int(xorData[index]); p < len(b); p++ { index++ b[p] ^= xorData[index] } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 872 bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/defaulting/surroundingobject.go
// // NewRootObjectFunc()(x) == x // NewRootObjectFunc().Index()(x) == [x] // NewRootObjectFunc().Index().Child("foo") == [{"foo": x}] // NewRootObjectFunc().Index().Child("foo").Child("bar") == [{"foo": {"bar":x}}] // NewRootObjectFunc().Index().Child("foo").Child("bar").Index() == [{"foo": {"bar":[x]}}] // // and: // // NewRootObjectFunc(), then acc(x) == x // NewRootObjectFunc().Index(), then acc([x]) == x
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 4.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typeparam.go
return typ } // Obj returns the type name for the type parameter t. func (t *TypeParam) Obj() *TypeName { return t.obj } // Index returns the index of the type param within its param list, or -1 if // the type parameter has not yet been bound to a type. func (t *TypeParam) Index() int { return t.index } // Constraint returns the type constraint specified for t. func (t *TypeParam) Constraint() Type { return t.bound }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 4.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/listtype/validation.go
errs = append(errs, field.Duplicate(fldPath.Index(i), obj[i])) } } case "map": errs = append(errs, validateListMap(fldPath, s, obj)...) } // if a case is ever added here then one should also be added to pkg/apiserver/schema/cel/values.go } if s.Items != nil { for i := range obj { errs = append(errs, validationListSetAndMaps(fldPath.Index(i), s.Items, obj[i])...) } } return errs }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 16 02:47:24 UTC 2021 - 5.7K bytes - Viewed (0) -
src/net/interface_bsd.go
// interface. func interfaceAddrTable(ifi *Interface) ([]Addr, error) { index := 0 if ifi != nil { index = ifi.Index } msgs, err := interfaceMessages(index) if err != nil { return nil, err } ifat := make([]Addr, 0, len(msgs)) for _, m := range msgs { switch m := m.(type) { case *route.InterfaceAddrMessage: if index != 0 && index != m.Index { continue } var mask IPMask
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 27 05:42:03 UTC 2022 - 2.8K bytes - Viewed (0) -
docs/debugging/reorder-disks/main.go
exp := argP.Expand() if node == "" { for index, e := range exp { result = append(result, localDisk{index: index, path: strings.Join(e, "")}) } } else { for index, e := range exp { u, err := url.Parse(strings.Join(e, "")) if err != nil { return nil, err } if strings.Contains(u.Host, node) { result = append(result, localDisk{index: index, path: u.Path}) } } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0) -
src/net/main_test.go
} ifi := loopbackInterface() if ifi != nil { index := fmt.Sprintf("%v", ifi.Index) resolveTCPAddrTests = append(resolveTCPAddrTests, []resolveTCPAddrTest{ {"tcp6", "[fe80::1%" + ifi.Name + "]:1", &TCPAddr{IP: ParseIP("fe80::1"), Port: 1, Zone: zoneCache.name(ifi.Index)}, nil}, {"tcp6", "[fe80::1%" + index + "]:2", &TCPAddr{IP: ParseIP("fe80::1"), Port: 2, Zone: index}, nil}, }...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 7.5K bytes - Viewed (0)