Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 780 for oldR (0.1 sec)

  1. pkg/scheduler/util/utils_test.go

    	tests := []struct {
    		name       string
    		oldObj     interface{}
    		newObj     interface{}
    		wantOldObj *v1.Pod
    		wantNewObj *v1.Pod
    		wantErr    bool
    	}{
    		{
    			name:       "nil old Pod",
    			oldObj:     nil,
    			newObj:     &v1.Pod{ObjectMeta: metav1.ObjectMeta{Name: "foo"}},
    			wantOldObj: nil,
    			wantNewObj: &v1.Pod{ObjectMeta: metav1.ObjectMeta{Name: "foo"}},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 21 01:40:44 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  2. src/runtime/profbuf.go

    	}
    
    	for {
    		// Commit write.
    		// Racing with reader setting flag bits in b.w, to avoid lost wakeups.
    		old := b.w.load()
    		new := old.addCountsAndClearFlags(skip+2+len(stk)+int(b.hdrsize), 1)
    		if !b.w.cas(old, new) {
    			continue
    		}
    		// If there was a reader, wake it up.
    		if old&profReaderSleeping != 0 {
    			notewakeup(&b.wait)
    		}
    		break
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/config/common.go

    	gvString := gv.String()
    
    	if useKubeadmVersion := oldKnownAPIVersions[gvString]; useKubeadmVersion != "" {
    		return errors.Errorf("your configuration file uses an old API spec: %q. Please use kubeadm %s instead and run 'kubeadm config migrate --old-config old.yaml --new-config new.yaml', which will write the new, similar spec using a newer API version.", gv.String(), useKubeadmVersion)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/shell.go

    // that are preceded by ' ', '\t', or appear at the beginning of a line.
    func replacePrefix(s, old, new string) string {
    	n := strings.Count(s, old)
    	if n == 0 {
    		return s
    	}
    
    	s = strings.ReplaceAll(s, " "+old, " "+new)
    	s = strings.ReplaceAll(s, "\n"+old, "\n"+new)
    	s = strings.ReplaceAll(s, "\n\t"+old, "\n\t"+new)
    	if strings.HasPrefix(s, old) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/memory/discovery.go

    	var old *model.Service
    	event := model.EventAdd
    	if o, f := sd.services[svc.Hostname]; f {
    		old = o
    		event = model.EventUpdate
    	}
    	sd.services[svc.Hostname] = svc
    
    	if sd.XdsUpdater != nil {
    		sd.XdsUpdater.SvcUpdate(sd.shardKey(), string(svc.Hostname), svc.Attributes.Namespace, model.EventAdd)
    	}
    	sd.handlers.NotifyServiceHandlers(old, svc, event)
    	sd.mutex.Unlock()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 23:10:01 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. pkg/registry/core/persistentvolumeclaim/strategy_test.go

    			newPvcHasConditions, newPvc := newPvcInfo.hasConditions, newPvcInfo.pvc()
    
    			t.Run(fmt.Sprintf("old pvc %s, new pvc %s", oldPvcInfo.description, newPvcInfo.description), func(t *testing.T) {
    				StatusStrategy.PrepareForUpdate(ctx, newPvc, oldPvc)
    
    				// old pvc should never be changed
    				if !reflect.DeepEqual(oldPvc, oldPvcInfo.pvc()) {
    					t.Errorf("old pvc changed: %v", cmp.Diff(oldPvc, oldPvcInfo.pvc()))
    				}
    
    				switch {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. src/runtime/metrics_test.go

    			switch vNew.Kind() {
    			case metrics.KindUint64:
    				new := vNew.Uint64()
    				old := vOld.Uint64()
    				if new < old {
    					t.Errorf("%s decreased: %d < %d", name, new, old)
    				}
    			case metrics.KindFloat64:
    				new := vNew.Float64()
    				old := vOld.Float64()
    				if new < old {
    					t.Errorf("%s decreased: %f < %f", name, new, old)
    				}
    			case metrics.KindFloat64Histogram:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  8. src/cmd/go/internal/clean/clean.go

    source directories corresponding to the import paths:
    
    	_obj/            old object directory, left from Makefiles
    	_test/           old test directory, left from Makefiles
    	_testmain.go     old gotest file, left from Makefiles
    	test.out         old test log, left from Makefiles
    	build.out        old test log, left from Makefiles
    	*.[568ao]        object files, left from Makefiles
    
    	DIR(.exe)        from go build
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. pkg/apis/storage/validation/validation.go

    // ValidateVolumeAttachmentUpdate validates a VolumeAttachment.
    func ValidateVolumeAttachmentUpdate(new, old *storage.VolumeAttachment) field.ErrorList {
    	allErrs := ValidateVolumeAttachment(new)
    
    	// Spec is read-only
    	// If this ever relaxes in the future, make sure to increment the Generation number in PrepareForUpdate
    	if !apiequality.Semantic.DeepEqual(old.Spec, new.Spec) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 00:47:13 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. src/cmd/go/internal/toolchain/select.go

    // Both go commands can do this simultaneously and will write the same thing
    // (old never changes content).
    func raceSafeCopy(old, new string) error {
    	oldInfo, err := os.Stat(old)
    	if err != nil {
    		return err
    	}
    	newInfo, err := os.Stat(new)
    	if err == nil && newInfo.Size() == oldInfo.Size() {
    		return nil
    	}
    	data, err := os.ReadFile(old)
    	if err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top