Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,827 for oldB (0.08 sec)

  1. pkg/registry/rbac/helpers_test.go

    		obj      func() runtime.Object
    		old      func() runtime.Object
    		expected bool
    	}{
    		{
    			name: "same",
    			obj: func() runtime.Object {
    				return newPod()
    			},
    			old: func() runtime.Object {
    				return newPod()
    			},
    			expected: true,
    		},
    		{
    			name: "different managedFields",
    			obj: func() runtime.Object {
    				return newPod()
    			},
    			old: func() runtime.Object {
    				obj := newPod()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 20:12:50 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  2. src/sync/atomic/type.go

    // And atomically performs a bitwise AND operation on x using the bitmask
    // provided as mask and returns the old value.
    func (x *Int32) And(mask int32) (old int32) { return AndInt32(&x.v, mask) }
    
    // Or atomically performs a bitwise OR operation on x using the bitmask
    // provided as mask and returns the old value.
    func (x *Int32) Or(mask int32) (old int32) { return OrInt32(&x.v, mask) }
    
    // An Int64 is an atomic int64. The zero value is zero.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/list_legacy_mod.txt

    package y
    -- old/p1/p1.go --
    package p1
    
    import _ "old/p2"
    import _ "new/p1"
    import _ "new"
    -- old/p2/p2.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 16 16:15:13 UTC 2022
    - 1K bytes
    - Viewed (0)
  4. src/internal/poll/fd_mutex.go

    		mutexSema = &mu.wsema
    	}
    	for {
    		old := atomic.LoadUint64(&mu.state)
    		if old&mutexBit == 0 || old&mutexRefMask == 0 {
    			panic("inconsistent poll.fdMutex")
    		}
    		// Drop lock, drop reference and wake read waiter if present.
    		new := (old &^ mutexBit) - mutexRef
    		if old&mutexMask != 0 {
    			new -= mutexWait
    		}
    		if atomic.CompareAndSwapUint64(&mu.state, old, new) {
    			if old&mutexMask != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 20 16:55:30 UTC 2018
    - 6.4K bytes
    - Viewed (0)
  5. pkg/registry/core/resourcequota/strategy.go

    	newResourcequota := obj.(*api.ResourceQuota)
    	oldResourcequota := old.(*api.ResourceQuota)
    	newResourcequota.Spec = oldResourcequota.Spec
    }
    
    func (resourcequotaStatusStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList {
    	return validation.ValidateResourceQuotaStatusUpdate(obj.(*api.ResourceQuota), old.(*api.ResourceQuota))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 18 17:07:29 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  6. src/internal/runtime/atomic/atomic_arm.go

    	word |= ^mask
    	for {
    		old := *addr32
    		if Cas(addr32, old, old&word) {
    			return
    		}
    	}
    }
    
    //go:nosplit
    func Or(addr *uint32, v uint32) {
    	for {
    		old := *addr
    		if Cas(addr, old, old|v) {
    			return
    		}
    	}
    }
    
    //go:nosplit
    func And(addr *uint32, v uint32) {
    	for {
    		old := *addr
    		if Cas(addr, old, old&v) {
    			return
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/internal/runtime/atomic/atomic_mipsx.go

    	unlock()
    	return
    }
    
    //go:nosplit
    func Or64(addr *uint64, val uint64) (old uint64) {
    	for {
    		old = *addr
    		if Cas64(addr, old, old|val) {
    			return old
    		}
    	}
    }
    
    //go:nosplit
    func And64(addr *uint64, val uint64) (old uint64) {
    	for {
    		old = *addr
    		if Cas64(addr, old, old&val) {
    			return old
    		}
    	}
    }
    
    //go:noescape
    func Xadd(ptr *uint32, delta int32) uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 20:08:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/internal/runtime/atomic/atomic_ppc64x.s

    // Atomically:
    //	old := *ptr;
    //	*ptr = new;
    //	return old;
    TEXT ·Xchg(SB), NOSPLIT, $0-20
    	MOVD	ptr+0(FP), R4
    	MOVW	new+8(FP), R5
    	LWSYNC
    	LWAR	(R4), R3
    	STWCCC	R5, (R4)
    	BNE	-2(PC)
    	ISYNC
    	MOVW	R3, ret+16(FP)
    	RET
    
    // uint64 Xchg64(ptr *uint64, new uint64)
    // Atomically:
    //	old := *ptr;
    //	*ptr = new;
    //	return old;
    TEXT ·Xchg64(SB), NOSPLIT, $0-24
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. src/sync/mutex.go

    			if !awoke && old&mutexWoken == 0 && old>>mutexWaiterShift != 0 &&
    				atomic.CompareAndSwapInt32(&m.state, old, old|mutexWoken) {
    				awoke = true
    			}
    			runtime_doSpin()
    			iter++
    			old = m.state
    			continue
    		}
    		new := old
    		// Don't try to acquire starving mutex, new arriving goroutines must queue.
    		if old&mutexStarving == 0 {
    			new |= mutexLocked
    		}
    		if old&(mutexLocked|mutexStarving) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/ClasspathCompareStrategyTest.groovy

        }
    
        def "reordering"() {
            expect:
            changes(
                ["one-new": fingerprint("one"), "two-new": fingerprint("two"), "three-new": fingerprint("three")],
                ["one-old": fingerprint("one"), "three-old": fingerprint("three"), "two-old": fingerprint("two")]
            ) == [removed("three-old": "three"), added("two-new": "two"), removed("two-old": "two"), added("three-new": "three")]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 8.6K bytes
    - Viewed (0)
Back to top