- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 252 for Cas (0.09 sec)
-
src/internal/runtime/atomic/atomic_wasm.go
//go:linkname Xaddint32 //go:linkname Xaddint64 //go:linkname Xadd64 //go:linkname Xadduintptr //go:linkname Xchg //go:linkname Xchg64 //go:linkname Xchgint32 //go:linkname Xchgint64 //go:linkname Xchguintptr //go:linkname Cas //go:linkname Cas64 //go:linkname Casint32 //go:linkname Casint64 //go:linkname Casuintptr //go:linkname Store //go:linkname Store64 //go:linkname Storeint32 //go:linkname Storeint64 //go:linkname Storeuintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 5.4K bytes - Viewed (0) -
src/internal/runtime/atomic/stubs.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !wasm package atomic import "unsafe" //go:noescape func Cas(ptr *uint32, old, new uint32) bool // NO go:noescape annotation; see atomic_pointer.go. func Casp1(ptr *unsafe.Pointer, old, new unsafe.Pointer) bool //go:noescape func Casint32(ptr *int32, old, new int32) bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 1.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/InterruptibleTask.java
@ElementTypesAreNonnullByDefault // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause // getDeclaredField to throw a NoSuchFieldException when the field is definitely there. // Since this class only needs CAS on one field, we can avoid this bug by extending AtomicReference // instead of using an AtomicReferenceFieldUpdater. This reference stores Thread instances // and DONE/INTERRUPTED - they have a common ancestor of Runnable.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Sep 29 21:34:48 UTC 2023 - 9.9K bytes - Viewed (0) -
src/runtime/lock_futex.go
for i := 0; i < spin; i++ { for l.key == mutex_unlocked { if atomic.Cas(key32(&l.key), mutex_unlocked, wait) { timer.end() return } } procyield(active_spin_cnt) } // Try for lock, rescheduling. for i := 0; i < passive_spin; i++ { for l.key == mutex_unlocked { if atomic.Cas(key32(&l.key), mutex_unlocked, wait) { timer.end() return } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:34 UTC 2024 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
@ElementTypesAreNonnullByDefault // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause // getDeclaredField to throw a NoSuchFieldException when the field is definitely there. // Since this class only needs CAS on one field, we can avoid this bug by extending AtomicReference // instead of using an AtomicReferenceFieldUpdater. This reference stores Thread instances // and DONE/INTERRUPTED - they have a common ancestor of Runnable.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Sep 29 21:34:48 UTC 2023 - 9.9K bytes - Viewed (0) -
src/crypto/tls/handshake_messages.go
data = data[2:] if len(data) < int(casLength) { return false } cas := make([]byte, casLength) copy(cas, data) data = data[casLength:] m.certificateAuthorities = nil for len(cas) > 0 { if len(cas) < 2 { return false } caLen := uint16(cas[0])<<8 | uint16(cas[1]) cas = cas[2:] if len(cas) < int(caLen) { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 51.8K bytes - Viewed (0) -
docs/fr/docs/advanced/index.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 1.3K bytes - Viewed (0) -
docs/fr/docs/deployment/index.md
et de le réparer, d'arrêter et de redémarrer le serveur de développement, _etc._ ## Stratégies de déploiement Il existe plusieurs façons de procéder, en fonction de votre cas d'utilisation spécifique et des outils que vous utilisez. Vous pouvez **déployer un serveur** vous-même en utilisant une combinaison d'outils, vous pouvez utiliser un **service
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Jun 24 14:47:15 UTC 2023 - 1.5K bytes - Viewed (0) -
src/runtime/sema_test.go
}() for SemNwait(&sema) == 0 { Gosched() // wait for goroutine to block in Semacquire } // The crux of the test: we release the semaphore with handoff // and immediately perform a CAS both here and in the waiter; we // want the CAS in the waiter to execute first. Semrelease1(&sema, true, 0) atomic.CompareAndSwapUint32(&res, 0, 2) wg.Wait() // wait for goroutines to finish to avoid data races
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 21 19:37:22 UTC 2022 - 4.2K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_ppc64x.s
MOVD 0(R3), R3 CMP R3, R3, CR7 BC 4, 30, 1(PC) // bne- cr7, 0x4 ISYNC MOVD R3, ret+8(FP) RET // 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), R3 MOVWZ old+8(FP), R4 MOVWZ new+12(FP), R5 LWSYNC cas_again: LWAR (R3), R6 CMPW R6, R4
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 7.5K bytes - Viewed (0)