- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 55 for index (0.12 sec)
-
pkg/controller/statefulset/stateful_set_control_test.go
podIndexFromLabel, exists := pod.Labels[apps.PodIndexLabel] if !exists { t.Errorf("Missing pod index label: %s", apps.PodIndexLabel) continue } podIndexFromName := strconv.Itoa(getOrdinal(pod)) if podIndexFromLabel != podIndexFromName { t.Errorf("Pod index label value (%s) does not match pod index in pod name (%s)", podIndexFromLabel, podIndexFromName) } } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 07 19:01:47 UTC 2024 - 108.7K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
} const cgoLdflag = "//go:cgo_ldflag" idx := bytes.Index(src, []byte(cgoLdflag)) for idx >= 0 { // We are looking at //go:cgo_ldflag. // Find start of line. start := bytes.LastIndex(src[:idx], []byte("\n")) if start == -1 { start = 0 } // Find end of line. end := bytes.Index(src[idx:], []byte("\n")) if end == -1 { end = len(src)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go
"size(self.array.filter(e, e%2 == 0)) == 3", "self.array.map(e, e * 20).filter(e, e > 50).exists(e, e == 60)", "size(self.array) == 8", }, errors: map[string]string{ "self.array[100] == 0": "index out of bounds: 100", }, }, {name: "listSet access", obj: map[string]interface{}{ "set": []interface{}{1, 2, 3, 4, 5}, }, schema: objectTypePtr(map[string]schema.Structural{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 17:14:10 UTC 2024 - 159.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
t.Errorf("%v: expected no error, but got %v", tc.name, err) } } } type predictableNameGenerator struct { index int } func (p *predictableNameGenerator) GenerateName(base string) string { p.index++ return fmt.Sprintf("%s%d", base, p.index) } func TestStoreCreateGenerateNameConflict(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier_test.go
Protocol: ptr.To(v1.ProtocolTCP), }} }), ) itf := net.Interface{Index: 0, MTU: 0, Name: "eth0", HardwareAddr: nil, Flags: 0} addrs := []net.Addr{&net.IPNet{IP: netutils.ParseIPSloppy("100.101.102.103"), Mask: net.CIDRMask(24, 32)}} itf1 := net.Interface{Index: 1, MTU: 0, Name: "eth1", HardwareAddr: nil, Flags: 0}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 186.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
var zeros [512]byte var ( strdata = make(map[string]string) strnames []string ) func addstrdata1(ctxt *Link, arg string) { eq := strings.Index(arg, "=") dot := strings.LastIndex(arg[:eq+1], ".") if eq < 0 || dot < 0 { Exitf("-X flag requires argument of the form importpath.name=value") } pkg := arg[:dot]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go
authority = (*SidIdentifierAuthority)(unsafe.Pointer(r0)) return } func getSidSubAuthority(sid *SID, index uint32) (subAuthority *uint32) { r0, _, _ := syscall.Syscall(procGetSidSubAuthority.Addr(), 2, uintptr(unsafe.Pointer(sid)), uintptr(index), 0) subAuthority = (*uint32)(unsafe.Pointer(r0)) return } func getSidSubAuthorityCount(sid *SID) (count *uint8) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 195.8K bytes - Viewed (0) -
cmd/object-handlers_test.go
if err != nil { t.Fatalf("Object: %s Object Index %d: Unexpected err: %v", object, oindex, err) } off, length, err := rs.GetOffsetLength(size) if err != nil { t.Fatalf("Object: %s Object Index %d: Unexpected err: %v", object, oindex, err) } readers := []io.Reader{} cumulativeSum := int64(0) for _, p := range oi.partLengths { readers = append(readers, NewDummyDataGen(p, cumulativeSum))
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 161.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/AMD64Ops.go
// // S: set bit // R: reset (clear) bit // C: complement bit // // Apply operation to bit ValAndOff(AuxInt).Val() in the 64 bits at // memory address arg0+ValAndOff(AuxInt).Off()+aux // Bit index must be in range (31-63). // (We use OR/AND/XOR for thinner targets and lower bit indexes.) // arg1=mem, returns mem // // Note that there aren't non-const versions of these instructions.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 04 16:40:24 UTC 2023 - 98K bytes - Viewed (1) -
pkg/config/validation/validation.go
// check the overlapping match from the first prefix information for routeIndex, routePrefix := range matchHTTPRoutes { for rIndex := routeIndex + 1; rIndex < len(matchHTTPRoutes); rIndex++ { // exclude the duplicate-match cases which have been validated above if strings.Compare(matchHTTPRoutes[rIndex].Prefix, routePrefix.Prefix) == 0 { continue } // Validate former prefix match does not cover the latter one.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0)