type sync/atomic.Pointer
35 uses
sync/atomic (current package)
type.go#L42: var _ = &Pointer[int]{}
type.go#L47: type Pointer[T any] struct {
type.go#L58: func (x *Pointer[T]) Load() *T { return (*T)(LoadPointer(&x.v)) }
type.go#L61: func (x *Pointer[T]) Store(val *T) { StorePointer(&x.v, unsafe.Pointer(val)) }
type.go#L64: func (x *Pointer[T]) Swap(new *T) (old *T) { return (*T)(SwapPointer(&x.v, unsafe.Pointer(new))) }
type.go#L67: func (x *Pointer[T]) CompareAndSwap(old, new *T) (swapped bool) {
sync
poolqueue.go#L201: tail atomic.Pointer[poolChainElt]
poolqueue.go#L217: next, prev atomic.Pointer[poolChainElt]
crypto/internal/fips140/drbg
rand.go#L23: var drbgInstance atomic.Pointer[Counter]
github.com/coder/websocket
conn.go#L54: readTimeoutStop atomic.Pointer[func() bool]
conn.go#L55: writeTimeoutStop atomic.Pointer[func() bool]
conn.go#L205: func swapTimeoutStop(p *atomic.Pointer[func() bool], newStop *func() bool) {
go.uber.org/atomic
pointer_go119.go#L31: p atomic.Pointer[T]
internal/bisect
bisect.go#L313: dedup atomic.Pointer[dedup]
internal/godebug
godebug.go#L68: value atomic.Pointer[value]
internal/sync
hashtriemap.go#L24: root atomic.Pointer[indirect[K, V]]
hashtriemap.go#L93: var slot *atomic.Pointer[node[K, V]]
hashtriemap.go#L210: var slot *atomic.Pointer[node[K, V]]
hashtriemap.go#L426: func (ht *HashTrieMap[K, V]) find(key K, hash uintptr, valEqual equalFunc, value V) (i *indirect[K, V], hashShift uint, slot *atomic.Pointer[node[K, V]], n *node[K, V]) {
hashtriemap.go#L546: children [nChildren]atomic.Pointer[node[K, V]]
hashtriemap.go#L566: overflow atomic.Pointer[entry[K, V]] // Overflow for hash collisions.
internal/testlog
log.go#L29: var logger atomic.Pointer[Interface]
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#L363: dnsConfig atomic.Pointer[dnsConfig] // parsed resolv.conf structure used in lookups
net/http
csrf.go#L37: bypass atomic.Pointer[ServeMux]
csrf.go#L40: deny atomic.Pointer[Handler]
server.go#L297: curReq atomic.Pointer[response] // (which has a Request in it)
os
file_unix.go#L62: dirinfo atomic.Pointer[dirInfo] // nil unless directory being read
syscall
rlimit.go#L14: var origRlimitNofile atomic.Pointer[Rlimit]
unique
canonmap.go#L21: root atomic.Pointer[indirect[T]]
canonmap.go#L63: var slot *atomic.Pointer[node[T]]
canonmap.go#L183: var slot *atomic.Pointer[node[T]]
canonmap.go#L291: children [nChildren]atomic.Pointer[node[T]]
canonmap.go#L310: overflow atomic.Pointer[entry[T]] // Overflow for hash collisions.
 |
The pages are generated with Golds v0.8.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |