type sync/atomic.Uint64
10 uses
sync/atomic (current package)
type.go#L138: type Uint64 struct {
type.go#L145: func (x *Uint64) Load() uint64 { return LoadUint64(&x.v) }
type.go#L148: func (x *Uint64) Store(val uint64) { StoreUint64(&x.v, val) }
type.go#L151: func (x *Uint64) Swap(new uint64) (old uint64) { return SwapUint64(&x.v, new) }
type.go#L154: func (x *Uint64) CompareAndSwap(old, new uint64) (swapped bool) {
type.go#L159: func (x *Uint64) Add(delta uint64) (new uint64) { return AddUint64(&x.v, delta) }
sync
waitgroup.go#L26: state atomic.Uint64 // high 32 bits are counter, low 32 bits are waiter count.
go.uber.org/zap/zapcore
sampler.go#L35: counter atomic.Uint64
internal/godebug
godebug.go#L55: nonDefault atomic.Uint64
net/http
server.go#L298: curState atomic.Uint64 // packed (unixtime<<8|uint8(ConnState))
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. |