func sync/atomic.StorePointer
13 uses
sync/atomic (current package)
doc.go#L192: func StorePointer(addr *unsafe.Pointer, val unsafe.Pointer)
type.go#L57: func (x *Pointer[T]) Store(val *T) { StorePointer(&x.v, unsafe.Pointer(val)) }
value.go#L65: StorePointer(&vp.data, vlp.data)
value.go#L66: StorePointer(&vp.typ, vlp.typ)
value.go#L80: StorePointer(&vp.data, vlp.data)
value.go#L109: StorePointer(&vp.data, np.data)
value.go#L110: StorePointer(&vp.typ, np.typ)
value.go#L161: StorePointer(&vp.data, np.data)
value.go#L162: StorePointer(&vp.typ, np.typ)
sync
pool.go#L231: atomic.StorePointer(&p.local, unsafe.Pointer(&local[0])) // store-release
poolqueue.go#L181: atomic.StorePointer(&slot.typ, nil)
poolqueue.go#L221: atomic.StorePointer((*unsafe.Pointer)(unsafe.Pointer(pp)), unsafe.Pointer(v))
go.uber.org/atomic
unsafe_pointer.go#L47: atomic.StorePointer(&p.v, val)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |