- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for index (0.06 sec)
-
pkg/controller/job/job_controller_test.go
buildPod().phase(v1.PodSucceeded).index("0").Pod, buildPod().phase(v1.PodFailed).index("1").Pod, buildPod().phase(v1.PodSucceeded).trackingFinalizer().index("1").Pod, buildPod().phase(v1.PodSucceeded).trackingFinalizer().index("3").Pod, buildPod().uid("a").phase(v1.PodFailed).trackingFinalizer().index("2").Pod, buildPod().uid("b").phase(v1.PodFailed).trackingFinalizer().index("5").Pod, }, wantRmFinalizers: 4,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K bytes - Viewed (0) -
src/net/http/server.go
// and the latter will match any other path in the "/images/" subtree. // // As another example, consider the patterns "GET /" and "/index.html": // both match a GET request for "/index.html", but the former pattern // matches all other GET and HEAD requests, while the latter matches any // request for "/index.html" that uses a different method. // The patterns conflict. // // # Trailing-slash redirection //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K 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) -
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) -
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) -
cmd/bucket-replication.go
// Make sure only one node running resync on the cluster. ctx, cancel := globalLeaderLock.GetLock(ctx) defer cancel() for index := range buckets { bucket := buckets[index].Name meta, err := loadBucketResyncMetadata(ctx, bucket, objAPI) if err != nil { if !errors.Is(err, errVolumeNotFound) { replLogIf(ctx, err) } continue
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 06:56:12 UTC 2024 - 114.4K bytes - Viewed (0)