- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for Loaduintptr (0.21 sec)
-
src/runtime/lock_sema.go
const ( locked uintptr = 1 active_spin = 4 active_spin_cnt = 30 passive_spin = 1 ) func mutexContended(l *mutex) bool { return atomic.Loaduintptr(&l.key) > locked } func lock(l *mutex) { lockWithRank(l, getLockRank(l)) } func lock2(l *mutex) { gp := getg() if gp.m.locks < 0 { throw("runtime·lock: lock count") } gp.m.locks++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 6.8K bytes - Viewed (0) -
src/runtime/vdso_freebsd_x86.go
//go:nosplit func (th *vdsoTimehands) getHPETTimecounter() (uint32, bool) { idx := int(th.x86_hpet_idx) if idx >= len(hpetDevMap) { return 0, false } p := atomic.Loaduintptr(&hpetDevMap[idx]) if p == 0 { systemstack(func() { initHPETTimecounter(idx) }) p = atomic.Loaduintptr(&hpetDevMap[idx]) } if p == ^uintptr(0) { return 0, false } return *(*uint32)(unsafe.Pointer(p + _HPET_MAIN_COUNTER)), true } //go:systemstack
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 1.9K bytes - Viewed (0) -
src/internal/runtime/atomic/stubs.go
//go:noescape func Storeint32(ptr *int32, new int32) //go:noescape func Storeint64(ptr *int64, new int64) //go:noescape func Storeuintptr(ptr *uintptr, new uintptr) //go:noescape func Loaduintptr(ptr *uintptr) uintptr //go:noescape func Loaduint(ptr *uint) uint // TODO(matloob): Should these functions have the go:noescape annotation? //go:noescape func Loadint32(ptr *int32) int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 1.2K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_wasm.go
// Export some functions via linkname to assembly in sync/atomic. // //go:linkname Load //go:linkname Loadp //go:linkname Load64 //go:linkname Loadint32 //go:linkname Loadint64 //go:linkname Loaduintptr //go:linkname LoadAcquintptr //go:linkname Xadd //go:linkname Xaddint32 //go:linkname Xaddint64 //go:linkname Xadd64 //go:linkname Xadduintptr //go:linkname Xchg //go:linkname Xchg64 //go:linkname Xchgint32
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/atomic_s390x.s
TEXT ·Casuintptr(SB), NOSPLIT, $0-25 BR ·Cas64(SB) // func CasRel(ptr *uint32, old, new uint32) bool TEXT ·CasRel(SB), NOSPLIT, $0-17 BR ·Cas(SB) // func Loaduintptr(ptr *uintptr) uintptr TEXT ·Loaduintptr(SB), NOSPLIT, $0-16 BR ·Load64(SB) // func Loaduint(ptr *uint) uint TEXT ·Loaduint(SB), NOSPLIT, $0-16 BR ·Load64(SB) // func Storeint32(ptr *int32, new int32)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 7.1K bytes - Viewed (0) -
src/sync/atomic/asm.s
JMP internal∕runtime∕atomic·Load(SB) TEXT ·LoadInt64(SB),NOSPLIT,$0 JMP internal∕runtime∕atomic·Load64(SB) TEXT ·LoadUint64(SB),NOSPLIT,$0 JMP internal∕runtime∕atomic·Load64(SB) TEXT ·LoadUintptr(SB),NOSPLIT,$0 JMP internal∕runtime∕atomic·Loaduintptr(SB) TEXT ·LoadPointer(SB),NOSPLIT,$0 JMP internal∕runtime∕atomic·Loadp(SB) TEXT ·StoreInt32(SB),NOSPLIT,$0 JMP internal∕runtime∕atomic·Store(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 3K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_riscv64.s
TEXT ·CasRel(SB), NOSPLIT, $0-17 JMP ·Cas(SB) TEXT ·Loaduintptr(SB),NOSPLIT,$0-16 JMP ·Load64(SB) TEXT ·Storeint32(SB),NOSPLIT,$0-12 JMP ·Store(SB) TEXT ·Storeint64(SB),NOSPLIT,$0-16 JMP ·Store64(SB) TEXT ·Storeuintptr(SB),NOSPLIT,$0-16 JMP ·Store64(SB) TEXT ·Loaduint(SB),NOSPLIT,$0-16 JMP ·Loaduintptr(SB) TEXT ·Loadint32(SB),NOSPLIT,$0-12 JMP ·Load(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 7K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_amd64.s
// license that can be found in the LICENSE file. // Note: some of these functions are semantically inlined // by the compiler (in src/cmd/compile/internal/gc/ssa.go). #include "textflag.h" TEXT ·Loaduintptr(SB), NOSPLIT, $0-16 JMP ·Load64(SB) TEXT ·Loaduint(SB), NOSPLIT, $0-16 JMP ·Load64(SB) TEXT ·Loadint32(SB), NOSPLIT, $0-12 JMP ·Load(SB) TEXT ·Loadint64(SB), NOSPLIT, $0-16 JMP ·Load64(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 5.2K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_arm.s
TEXT ·Casp1(SB),NOSPLIT,$0-13 B ·Cas(SB) TEXT ·CasRel(SB),NOSPLIT,$0-13 B ·Cas(SB) TEXT ·Loadint32(SB),NOSPLIT,$0-8 B ·Load(SB) TEXT ·Loadint64(SB),NOSPLIT,$-4-12 B ·Load64(SB) TEXT ·Loaduintptr(SB),NOSPLIT,$0-8 B ·Load(SB) TEXT ·Loaduint(SB),NOSPLIT,$0-8 B ·Load(SB) TEXT ·Storeint32(SB),NOSPLIT,$0-8 B ·Store(SB) TEXT ·Storeint64(SB),NOSPLIT,$0-12 B ·Store64(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 5.7K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_loong64.s
MOVB R4, ret+24(FP) DBAR RET cas64_fail: MOVV $0, R4 JMP -4(PC) TEXT ·Casuintptr(SB), NOSPLIT, $0-25 JMP ·Cas64(SB) TEXT ·CasRel(SB), NOSPLIT, $0-17 JMP ·Cas(SB) TEXT ·Loaduintptr(SB), NOSPLIT|NOFRAME, $0-16 JMP ·Load64(SB) TEXT ·Loaduint(SB), NOSPLIT|NOFRAME, $0-16 JMP ·Load64(SB) TEXT ·Storeuintptr(SB), NOSPLIT, $0-16 JMP ·Store64(SB) TEXT ·Xadduintptr(SB), NOSPLIT, $0-24
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 6.3K bytes - Viewed (0)