Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 780 for oldR (0.11 sec)

  1. pkg/controller/deployment/util/deployment_util.go

    //
    // 2 desired, max unavailable 1%, surge 0% - should scale old(-1), then new(+1), then old(-1), then new(+1)
    // 1 desired, max unavailable 1%, surge 0% - should scale old(-1), then new(+1)
    // 2 desired, max unavailable 25%, surge 1% - should scale new(+1), then old(-1), then new(+1), then old(-1)
    // 1 desired, max unavailable 25%, surge 1% - should scale new(+1), then old(-1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  2. src/runtime/os2_aix.go

    		throw("syscall madvise")
    	}
    }
    
    func sigaction1(sig, new, old uintptr)
    
    //go:nosplit
    func sigaction(sig uintptr, new, old *sigactiont) {
    	gp := getg()
    
    	// Check the validity of g because without a g during
    	// runtime.libpreinit.
    	if gp != nil {
    		r, err := syscall3(&libc_sigaction, sig, uintptr(unsafe.Pointer(new)), uintptr(unsafe.Pointer(old)))
    		if int32(r) == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  3. src/runtime/runtime.go

    	if panicking.Load() > 0 {
    		return ^uintptr(0)
    	}
    
    	old := crashFD.Swap(fd)
    
    	// If we are panicking, don't return the old FD to runtime/debug for
    	// closing. writeErrData may have already read the old FD from crashFD
    	// before the swap and closing it would cause the write to be lost [1].
    	// The old FD will never be closed, but we are about to crash anyway.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/cmd/fix/fix.go

    }
    
    // renameTop renames all references to the top-level name old.
    // It reports whether it makes any changes.
    func renameTop(f *ast.File, old, new string) bool {
    	var fixed bool
    
    	// Rename any conflicting imports
    	// (assuming package name is last element of path).
    	for _, s := range f.Imports {
    		if s.Name != nil {
    			if s.Name.Name == old {
    				s.Name.Name = new
    				fixed = true
    			}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 14.6K bytes
    - Viewed (0)
  5. src/strings/replace.go

    			r[i] = byte(i)
    		}
    		// The first occurrence of old->new map takes precedence
    		// over the others with the same old string.
    		for i := len(oldnew) - 2; i >= 0; i -= 2 {
    			o := oldnew[i][0]
    			n := oldnew[i+1][0]
    			r[o] = n
    		}
    		return &r
    	}
    
    	r := byteStringReplacer{toReplace: make([]string, 0, len(oldnew)/2)}
    	// The first occurrence of old->new map takes precedence
    	// over the others with the same old string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:10:31 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  6. pkg/env/var.go

    func RegisterVar(v Var) {
    	mutex.Lock()
    
    	if old, ok := allVars[v.Name]; ok {
    		if v.Description != "" {
    			allVars[v.Name] = v // last one with a description wins if the same variable name is registered multiple times
    		}
    
    		if old.Description != v.Description || old.DefaultValue != v.DefaultValue || old.Type != v.Type || old.Deprecated != v.Deprecated || old.Hidden != v.Hidden {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  7. pkg/controller/deployment/sync.go

    		return err
    	}
    
    	// If the new replica set is saturated, old replica sets should be fully scaled down.
    	// This case handles replica set adoption during a saturated new replica set.
    	if deploymentutil.IsSaturated(deployment, newRS) {
    		for _, old := range controller.FilterActiveReplicaSets(oldRSs) {
    			if _, _, err := dc.scaleReplicaSetAndRecordEvent(ctx, old, 0, deployment); err != nil {
    				return err
    			}
    		}
    		return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/telemetry/internal/counter/counter.go

    		debugPrintf("releaseLock %s: unlocked\n", c.name)
    		return
    	}
    }
    
    func (c *Counter) add(n uint64) uint64 {
    	count := c.ptr.count
    	for {
    		old := count.Load()
    		sum := old + n
    		if sum < old {
    			sum = ^uint64(0)
    		}
    		if count.CompareAndSwap(old, sum) {
    			runtime.KeepAlive(c.ptr.m)
    			return sum
    		}
    	}
    }
    
    func (c *Counter) invalidate() {
    	for {
    		state := c.state.load()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. pkg/registry/apps/statefulset/strategy_test.go

    			old := tc.oldSS.DeepCopy()
    
    			dropStatefulSetDisabledFields(tc.ss, tc.oldSS)
    
    			// old obj should never be changed
    			if diff := cmp.Diff(tc.oldSS, old); diff != "" {
    				t.Fatalf("%v: old statefulSet changed: %v", tc.name, diff)
    			}
    
    			if diff := cmp.Diff(tc.expectedSS, tc.ss); diff != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/volumebinding/assume_cache_test.go

    	}
    	if err := verifyPV(cache, pvName, newPV); err != nil {
    		t.Fatalf("failed to get PV after assume: %v", err)
    	}
    
    	// Add old PV
    	assumecache.AddTestObject(cache.AssumeCache, pv)
    	if err := verifyPV(cache, pvName, newPV); err != nil {
    		t.Fatalf("failed to get PV after old PV added: %v", err)
    	}
    }
    
    func makeClaim(name, version, namespace string) *v1.PersistentVolumeClaim {
    	return &v1.PersistentVolumeClaim{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top