Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 939 for oldR (1.98 sec)

  1. src/internal/runtime/atomic/atomic_riscv64.go

    //go:noescape
    func Anduintptr(ptr *uintptr, val uintptr) uintptr
    
    //go:noescape
    func Oruintptr(ptr *uintptr, val uintptr) uintptr
    
    //go:noescape
    func Cas64(ptr *uint64, old, new uint64) bool
    
    //go:noescape
    func CasRel(ptr *uint32, old, new uint32) bool
    
    //go:noescape
    func Store(ptr *uint32, val uint32)
    
    //go:noescape
    func Store8(ptr *uint8, val uint8)
    
    //go:noescape
    func Store64(ptr *uint64, val uint64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. src/math/big/int_test.go

    func testBitset(t *testing.T, x *Int) {
    	n := x.BitLen()
    	z := new(Int).Set(x)
    	z1 := new(Int).Set(x)
    	for i := 0; i < n+10; i++ {
    		old := z.Bit(i)
    		old1 := altBit(z1, i)
    		if old != old1 {
    			t.Errorf("bitset: inconsistent value for Bit(%s, %d), got %v want %v", z1, i, old, old1)
    		}
    		z := new(Int).SetBit(z, i, 1)
    		z1 := altSetBit(new(Int), z1, i, 1)
    		if z.Bit(i) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  3. 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)
  4. pkg/scheduler/util/assumecache/assume_cache_test.go

    			oldObj: makeObj("pvc1", "5", ""),
    			newObj: makeObj("pvc1", "5", ""),
    		},
    		"success-new-higher-version": {
    			oldObj: makeObj("pvc1", "5", ""),
    			newObj: makeObj("pvc1", "6", ""),
    		},
    		"fail-old-not-found": {
    			oldObj:    makeObj("pvc2", "5", ""),
    			newObj:    makeObj("pvc1", "5", ""),
    			expectErr: ErrNotFound,
    		},
    		"fail-new-lower-version": {
    			oldObj:    makeObj("pvc1", "5", ""),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. pkg/kube/krt/util.go

    	return func(events []Event[I], initialSync bool) {
    		ev := slices.FilterInPlace(events, func(e Event[I]) bool {
    			if e.Old != nil && e.New != nil {
    				if equal(cf(*e.Old), cf(*e.New)) {
    					// Equal under conversion, so we can skip
    					return false
    				}
    			}
    			return true
    		})
    		if len(ev) == 0 {
    			return
    		}
    		handler(ev, initialSync)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 11 08:27:29 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompilerDaemonReuseIntegrationTest.groovy

            then:
            executedAndNotSkipped "${compileTaskPath('main')}", "${compileTaskPath('main2')}"
    
            and:
            assertTwoCompilerDaemonsAreRunning()
    
            def firstBuild = old(runningCompilerDaemons)
            def secondBuild = runningCompilerDaemons
            def diff = firstBuild - secondBuild
            // We should reuse one daemon from the first build
            diff.size() == 1
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. src/internal/runtime/atomic/sys_nonlinux_arm.s

    // license that can be found in the LICENSE file.
    
    //go:build !linux
    
    #include "textflag.h"
    
    // TODO(minux): this is only valid for ARMv6+
    // bool armcas(int32 *val, int32 old, int32 new)
    // Atomically:
    //	if(*val == old){
    //		*val = new;
    //		return 1;
    //	}else
    //		return 0;
    TEXT	·Cas(SB),NOSPLIT,$0
    	JMP	·armcas(SB)
    
    // Non-linux OSes support only single processor machines before ARMv7.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. cmd/kube-controller-manager/names/controller_names.go

    // They can only be changed if absolutely necessary. For example if an inappropriate name was chosen in the past, or if the scope of the controller changes.
    // When a name is changed, the old name should be aliased in app.ControllerDescriptor#GetAliases, while preserving all old aliases.
    // This is done to achieve backwards compatibility
    //
    // USE CASES
    // The following places should use the controller name constants, when:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top