type sync/atomic.Bool
20 uses
sync/atomic (current package)
type.go#L11: type Bool struct {
type.go#L17: func (x *Bool) Load() bool { return LoadUint32(&x.v) != 0 }
type.go#L20: func (x *Bool) Store(val bool) { StoreUint32(&x.v, b32(val)) }
type.go#L23: func (x *Bool) Swap(new bool) (old bool) { return SwapUint32(&x.v, b32(new)) != 0 }
type.go#L26: func (x *Bool) CompareAndSwap(old, new bool) (swapped bool) {
crypto/tls
conn.go#L37: isHandshakeComplete atomic.Bool
go.uber.org/multierr
error.go#L209: copyNeeded atomic.Bool
hash/crc32
crc32.go#L81: var haveCastagnoli atomic.Bool
internal/poll
fd_unix.go#L648: var dupCloexecUnsupported atomic.Bool
internal/syscall/unix
getrandom.go#L15: var getrandomUnsupported atomic.Bool
log
log.go#L63: isDiscard atomic.Bool
net/http
client.go#L403: var timedOut atomic.Bool
server.go#L440: canWriteContinue atomic.Bool
server.go#L482: handlerDone atomic.Bool // set true when the handler exits
server.go#L493: didCloseNotify atomic.Bool // atomic (only false->true winner should send)
server.go#L906: closed atomic.Bool
server.go#L907: sawEOF atomic.Bool
server.go#L2713: inShutdown atomic.Bool // true when server is in shutdown
server.go#L2715: disableKeepAlives atomic.Bool
os
exec.go#L24: isdone atomic.Bool // process has been successfully waited on
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. |