type sync/atomic.Pointer
14 uses
sync/atomic (current package)
type.go#L40: var _ = &Pointer[int]{}
type.go#L43: type Pointer[T any] struct {
type.go#L54: func (x *Pointer[T]) Load() *T { return (*T)(LoadPointer(&x.v)) }
type.go#L57: func (x *Pointer[T]) Store(val *T) { StorePointer(&x.v, unsafe.Pointer(val)) }
type.go#L60: func (x *Pointer[T]) Swap(new *T) (old *T) { return (*T)(SwapPointer(&x.v, unsafe.Pointer(new))) }
type.go#L63: func (x *Pointer[T]) CompareAndSwap(old, new *T) (swapped bool) {
sync
map.go#L47: read atomic.Pointer[readOnly]
map.go#L101: p atomic.Pointer[any]
go.uber.org/atomic
pointer_go119.go#L31: p atomic.Pointer[T]
internal/godebug
godebug.go#L53: value atomic.Pointer[value]
log
log.go#L61: prefix atomic.Pointer[string] // prefix on each line to identify the logger (but see Lmsgprefix)
math/rand
rand.go#L312: var globalRandGenerator atomic.Pointer[Rand]
net
dnsclient_unix.go#L346: dnsConfig atomic.Pointer[dnsConfig] // parsed resolv.conf structure used in lookups
net/http
server.go#L296: curReq atomic.Pointer[response] // (which has a Request in it)
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. |