- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 796 for oldR (0.41 sec)
-
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) -
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) -
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) -
src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tlog.go
} // Fetch hashes. old, err := r.ReadHashes(indexes) if err != nil { return nil, err } if len(old) != len(indexes) { return nil, fmt.Errorf("tlog: ReadHashes(%d indexes) = %d hashes", len(indexes), len(old)) } // Build new hashes. for i := 0; i < m; i++ { h = NodeHash(old[m-1-i], h) hashes = append(hashes, h) } return hashes, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 12 20:38:21 UTC 2023 - 17.9K bytes - Viewed (0) -
pkg/controller/deployment/rolling_test.go
}, { // expect unhealthy replicas from old replica sets been cleaned up deploymentReplicas: 10, maxUnavailable: intstr.FromInt32(2), oldReplicas: 10, newReplicas: 0, readyPodsFromOldRS: 8, readyPodsFromNewRS: 0, scaleExpected: true, expectedOldReplicas: 8, }, { // expect 1 unhealthy replica from old replica sets been cleaned up, and 1 ready pod been scaled down
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 09:10:50 UTC 2023 - 11K bytes - Viewed (0) -
src/cmd/go/internal/modcmd/vendor.go
if replacementWritten[r.Old] { // We already recorded this replacement. continue } replacementWritten[r.Old] = true rNew := modload.Replacement(r.Old) if rNew == (module.Version{}) { // There is no replacement. Don't try to write it. continue } line := moduleLine(r.Old, rNew) buf.WriteString(line) if cfg.BuildV {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 14:19:59 UTC 2024 - 14.5K bytes - Viewed (0) -
pkg/kube/krt/collection.go
iKey := GetKey(ev.Latest()) iObj := h.parent.GetKey(iKey) if iObj == nil { ev.Event = controllers.EventDelete if ev.Old == nil { // This was an add, now its a Delete. Make sure we don't have Old and New nil, which we claim to be illegal ev.Old = ev.New } ev.New = nil } else { ev.New = iObj } items[idx] = ev } h.onPrimaryInputEventLocked(items) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 19.4K bytes - Viewed (0) -
src/runtime/sys_linux_mips64x.s
MOVW how+0(FP), R4 MOVV new+8(FP), R5 MOVV old+16(FP), R6 MOVW size+24(FP), R7 MOVV $SYS_rt_sigprocmask, R2 SYSCALL BEQ R7, 2(PC) MOVV R0, 0xf1(R0) // crash RET TEXT runtime·rt_sigaction(SB),NOSPLIT|NOFRAME,$0-36 MOVV sig+0(FP), R4 MOVV new+8(FP), R5 MOVV old+16(FP), R6 MOVV size+24(FP), R7 MOVV $SYS_rt_sigaction, R2 SYSCALL BEQ R7, 2(PC)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 18 20:57:24 UTC 2022 - 12K bytes - Viewed (0) -
pkg/apis/networking/validation/validation.go
func ValidateIPAddressUpdate(update, old *networking.IPAddress) field.ErrorList { var allErrs field.ErrorList allErrs = append(allErrs, apivalidation.ValidateObjectMetaUpdate(&update.ObjectMeta, &old.ObjectMeta, field.NewPath("metadata"))...) allErrs = append(allErrs, apivalidation.ValidateImmutableField(update.Spec.ParentRef, old.Spec.ParentRef, field.NewPath("spec").Child("parentRef"))...) return allErrs }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 07 14:48:01 UTC 2024 - 31.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
} /** * Increments by one the value currently associated with {@code key}, and returns the old value. */ @CanIgnoreReturnValue public long getAndIncrement(K key) { return getAndAdd(key, 1); } /** * Decrements by one the value currently associated with {@code key}, and returns the old value. */ @CanIgnoreReturnValue public long getAndDecrement(K key) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 11.8K bytes - Viewed (0)