type sync/atomic.Bool
19 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#L38: isHandshakeComplete atomic.Bool
hash/crc32
crc32.go#L82: var haveCastagnoli atomic.Bool
internal/concurrent
hashtriemap.go#L320: dead atomic.Bool
internal/poll
fd_unix.go#L657: 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#L402: var timedOut atomic.Bool
server.go#L441: 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#L956: closed atomic.Bool
server.go#L957: sawEOF atomic.Bool
server.go#L2976: inShutdown atomic.Bool // true when server is in shutdown
server.go#L2978: disableKeepAlives atomic.Bool
![]() |
The pages are generated with Golds v0.7.6. (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. |