- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,014 for oldR (0.04 sec)
-
src/sync/atomic/doc.go
// AndInt64 atomically performs a bitwise AND operation on *addr using the bitmask provided as mask // and returns the old value. // Consider using the more ergonomic and less error-prone [Int64.And] instead. func AndInt64(addr *int64, mask int64) (old int64) // AndUint64 atomically performs a bitwise AND operation on *addr using the bitmask provided as mask // and returns the old.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 11.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/strategy_test.go
}, "spec": "old", "status": "old", }, }, }, { name: "/status is disabled, spec changes increment generation", statusEnabled: false, old: &unstructured.Unstructured{ Object: map[string]interface{}{ "metadata": generation1(), "spec": "old", "status": "old", }, }, obj: &unstructured.Unstructured{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 8.2K bytes - Viewed (0) -
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) -
src/internal/runtime/atomic/atomic_arm.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 4.8K bytes - Viewed (0) -
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) -
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) -
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) -
src/internal/godebugs/table.go
{Name: "tlsunsafeekm", Package: "crypto/tls", Changed: 22, Old: "1"}, {Name: "winreadlinkvolume", Package: "os", Changed: 22, Old: "0"}, {Name: "winsymlink", Package: "os", Changed: 22, Old: "0"}, {Name: "x509keypairleaf", Package: "crypto/tls", Changed: 23, Old: "0"}, {Name: "x509negativeserial", Package: "crypto/x509", Changed: 23, Old: "1"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:58:43 UTC 2024 - 3.6K bytes - Viewed (0) -
src/sync/map_reference_test.go
m.mu.Unlock() } func (m *RWMutexMap) CompareAndSwap(key, old, new any) (swapped bool) { m.mu.Lock() defer m.mu.Unlock() if m.dirty == nil { return false } value, loaded := m.dirty[key] if loaded && value == old { m.dirty[key] = new return true } return false } func (m *RWMutexMap) CompareAndDelete(key, old any) (deleted bool) { m.mu.Lock() defer m.mu.Unlock()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 01 15:34:22 UTC 2024 - 5.6K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_arm64.s
STLXR R1, (R0), R3 CBNZ R3, load_store_loop MOVD R2, ret+16(FP) RET #endif // bool Cas(uint32 *ptr, uint32 old, uint32 new) // Atomically: // if(*val == old){ // *val = new; // return 1; // } else // return 0; TEXT ·Cas(SB), NOSPLIT, $0-17 MOVD ptr+0(FP), R0 MOVW old+8(FP), R1 MOVW new+12(FP), R2 #ifndef GOARM64_LSE MOVBU internal∕cpu·ARM64+const_offsetARM64HasATOMICS(SB), R4
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 9K bytes - Viewed (0)