- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 496 for index (0.06 sec)
-
src/net/interface_windows.go
if err != nil { return nil, err } var ift []Interface for _, aa := range aas { index := aa.IfIndex if index == 0 { // ipv6IfIndex is a substitute for ifIndex index = aa.Ipv6IfIndex } if ifindex == 0 || ifindex == int(index) { ifi := Interface{ Index: int(index), Name: windows.UTF16PtrToString(aa.FriendlyName), } if aa.OperStatus == windows.IfOperStatusUp {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 10:25:02 UTC 2024 - 5.5K bytes - Viewed (0) -
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) -
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/syscall/ztypes_freebsd_arm.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 16 01:17:28 UTC 2022 - 8K bytes - Viewed (0)