Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 140 for index (0.07 sec)

  1. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    		// Assert
    		close(fakeRecorder.Events)
    		index := 0
    		for event := range fakeRecorder.Events {
    			if len(test.expectedEvents) < index {
    				t.Errorf("Test %q: unexpected event received: %s", test.name, event)
    			} else {
    				expectedEvent := test.expectedEvents[index]
    				if expectedEvent != event {
    					t.Errorf("Test %q: event %d: expected %q, got %q", test.name, index, expectedEvent, event)
    				}
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  2. src/cmd/dist/build.go

    		if err != nil {
    			log.Fatal(err)
    		}
    		buf := make([]byte, 100)
    		n, _ := f.Read(buf)
    		s := string(buf[:n])
    		if i := strings.Index(s, "\n"); i >= 0 {
    			s = s[:i]
    		}
    		i := strings.Index(s, " start")
    		if i < 0 {
    			log.Fatalf("time log %s does not begin with start line", os.Getenv("GOBUILDTIMELOGFILE"))
    		}
    		t, err := time.Parse(time.UnixDate, s[:i])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    						},
    						"otherField": "hello world",
    					}},
    				// (This test shows an array cannpt be correlated by index with its old value)
    				expectError{applyPatchOperation{
    					"add new, valid fields to elements of the array, failing to ratchet unchanged old fields within the array elements by correlating by index due to atomic list",
    					myCRDV1Beta1, myCRDInstanceName, map[string]interface{}{
    						"values": []interface{}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modget/get.go

    	// that resolved the module to that version (the “reason”).
    	resolvedVersion map[string]versionReason
    
    	buildList        []module.Version
    	buildListVersion map[string]string // index of buildList (module path → version)
    
    	initialVersion map[string]string // index of the initial build list at the start of 'go get'
    
    	missing []pathSet // candidates for missing transitive dependencies
    
    	work *par.Queue
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/dwarf.go

    		// eliminated from a binary here. proc.go contains
    		// main and the scheduler, so it's not going anywhere.
    		if i := strings.Index(name, "runtime/proc.go"); i >= 0 && unit.Lib.Pkg == "runtime" {
    			d.dwmu.Lock()
    			if gdbscript == "" {
    				k := strings.Index(name, "runtime/proc.go")
    				gdbscript = name[:k] + "runtime/runtime-gdb.py"
    			}
    			d.dwmu.Unlock()
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/apps/v1beta2/types.go

    // StatefulSetOrdinals describes the policy used for replica ordinal assignment
    // in this StatefulSet.
    type StatefulSetOrdinals struct {
    	// start is the number representing the first replica's index. It may be used
    	// to number replicas from an alternate index (eg: 1-indexed) over the default
    	// 0-indexed names, or to orchestrate progressive movement of replicas from
    	// one StatefulSet to another.
    	// If set, replica indices will be in the range:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  7. pilot/pkg/model/push_context_test.go

    				ExportTo:  sets.New(visibility.Instance("namespace")),
    			},
    		},
    	}
    
    	for _, svc := range services {
    		if index.shardsBySvc[string(svc.Hostname)] == nil {
    			index.shardsBySvc[string(svc.Hostname)] = map[string]*EndpointShards{}
    		}
    		index.shardsBySvc[string(svc.Hostname)][svc.Attributes.Namespace] = &EndpointShards{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  8. pilot/pkg/model/sidecar_test.go

    			if tt.oldestWins {
    				test.SetForTest(t, &features.PersistOldestWinsHeuristicForVirtualServiceHostMatching, true)
    			}
    			index := computeWildcardHostVirtualServiceIndex(tt.virtualServices, tt.services)
    			if !reflect.DeepEqual(tt.expectedIndex, index) {
    				t.Errorf("Expected index %v, got %v", tt.expectedIndex, index)
    			}
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    	return *getSidSubAuthorityCount(sid)
    }
    
    // SubAuthority returns the sub-authority of the SID as specified by
    // the index, which must be less than sid.SubAuthorityCount().
    func (sid *SID) SubAuthority(idx uint32) uint32 {
    	if idx >= uint32(sid.SubAuthorityCount()) {
    		panic("sub-authority index out of range")
    	}
    	return *getSidSubAuthority(sid, idx)
    }
    
    // IsValid returns whether the SID has a valid revision and length.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  10. src/runtime/mgcmark.go

    		workCounter = &gcController.stackScanWork
    		if i < work.baseStacks || work.baseEnd <= i {
    			printlock()
    			print("runtime: markroot index ", i, " not in stack roots range [", work.baseStacks, ", ", work.baseEnd, ")\n")
    			throw("markroot: bad index")
    		}
    		gp := work.stackRoots[i-work.baseStacks]
    
    		// remember when we've first observed the G blocked
    		// needed only to output in traceback
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
Back to top