Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 151 for oldR (0.08 sec)

  1. pilot/pkg/model/push_context_test.go

    	env.Init()
    
    	// Init a new push context
    	old := NewPushContext()
    	if err := old.InitContext(env, nil, nil); err != nil {
    		t.Fatal(err)
    	}
    
    	// Create a new one, copying from the old one
    	// Pass a ConfigsUpdated otherwise we would just copy it directly
    	newPush := NewPushContext()
    	if err := newPush.InitContext(env, old, &PushRequest{
    		ConfigsUpdated: sets.Set[ConfigKey]{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go

    		// Contents are identical - do nothing
    		return
    	}
    	// Create a patch to replace the old value with the new one
    	patch[key] = modified
    }
    
    // updatePatchIfMissing iterates over `original` when ignoreDeletions is false.
    // Clear the field whose key is not present in `modified`.
    // original is the old value, maybe either the live cluster object or the last applied configuration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 23:34:23 UTC 2023
    - 75.5K bytes
    - Viewed (0)
  3. src/runtime/mprof.go

    // (For n>1 the details of sampling may change.)
    func SetMutexProfileFraction(rate int) int {
    	if rate < 0 {
    		return int(mutexprofilerate)
    	}
    	old := mutexprofilerate
    	atomic.Store64(&mutexprofilerate, uint64(rate))
    	return int(old)
    }
    
    //go:linkname mutexevent sync.event
    func mutexevent(cycles int64, skip int) {
    	if cycles < 0 {
    		cycles = 0
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (Select1     (AddTupleFirst64   _ tuple)) => (Select1 tuple)
    
    // Atomic compare and swap.
    (AtomicCompareAndSwap32 ptr old new_ mem) => (CMPXCHGLlock ptr old new_ mem)
    (AtomicCompareAndSwap64 ptr old new_ mem) => (CMPXCHGQlock ptr old new_ mem)
    
    // Atomic memory updates.
    (AtomicAnd8  ptr val mem) => (ANDBlock ptr val mem)
    (AtomicAnd32 ptr val mem) => (ANDLlock ptr val mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  5. src/internal/trace/order.go

    		}
    		s.seq = makeSeq(gen, 0) // Reset seq.
    	} else {
    		o.pStates[pid] = &pState{id: pid, status: status, seq: makeSeq(gen, 0)}
    		if gen == o.initialGen {
    			oldState = ProcUndetermined
    		} else {
    			oldState = ProcNotExist
    		}
    	}
    	ev.extra(version.Go122)[0] = uint64(oldState) // Smuggle in the old state for StateTransition.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  6. plugin/pkg/admission/resourcequota/admission_test.go

    	if len(kubeClient.Actions()) != 0 {
    		t.Errorf("Expected no client action on dry-run")
    	}
    }
    
    // TestAdmitHandlesOldObjects verifies that admit handles updates correctly with old objects
    func TestAdmitHandlesOldObjects(t *testing.T) {
    	// in this scenario, the old quota was based on a service type=loadbalancer
    	resourceQuota := &corev1.ResourceQuota{
    		ObjectMeta: metav1.ObjectMeta{Name: "quota", Namespace: "test", ResourceVersion: "124"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  7. pkg/controller/podautoscaler/horizontal.go

    		go wait.UntilWithContext(ctx, a.worker, time.Second)
    	}
    
    	<-ctx.Done()
    }
    
    // obj could be an *v1.HorizontalPodAutoscaler, or a DeletionFinalStateUnknown marker item.
    func (a *HorizontalController) updateHPA(old, cur interface{}) {
    	a.enqueueHPA(cur)
    }
    
    // obj could be an *v1.HorizontalPodAutoscaler, or a DeletionFinalStateUnknown marker item.
    func (a *HorizontalController) enqueueHPA(obj interface{}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    		// and also because -godefs mode still prints the AST.
    		old := *r.Expr
    		*r.Expr = expr
    
    		// Record source-level edit for cgo output.
    		if !r.Done {
    			// Prepend a space in case the earlier code ends
    			// with '/', which would give us a "//" comment.
    			repl := " " + gofmtPos(expr, old.Pos())
    			end := fset.Position(old.End())
    			// Subtract 1 from the column if we are going to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    	r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_PRLIMIT<<4, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(newlimit)), uintptr(unsafe.Pointer(old)))
    	if int64(r0) == -1 {
    		err = errnoErr2(e1, e2)
    	}
    	return
    }
    
    //go:nosplit
    func get_PrlimitAddr() *(func(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    	if info.Rotational == nil || *info.Rotational {
    		s.rotational = true
    		s.walkMu = &sync.Mutex{}
    		s.walkReadMu = &sync.Mutex{}
    	}
    
    	if cleanUp {
    		bgFormatErasureCleanupTmp(s.drivePath) // cleanup any old data.
    	}
    
    	formatData, formatFi, err := formatErasureMigrate(s.drivePath)
    	if err != nil && !errors.Is(err, os.ErrNotExist) {
    		if os.IsPermission(err) {
    			return s, errDiskAccessDenied
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top