type sync/atomic.Bool
33 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/internal/sysrand
rand.go#L17: var firstUse atomic.Bool
crypto/tls
conn.go#L38: isHandshakeComplete atomic.Bool
crypto/tls/internal/fips140tls
fipstls.go#L13: var required atomic.Bool
go.pact.im/x/supervisor
supervisor.go#L54: stopped atomic.Bool
go.uber.org/multierr
error.go#L209: copyNeeded atomic.Bool
golang.org/x/net/http2
gotrack.go#L31: var disableDebugGoroutines atomic.Bool
google.golang.org/grpc/balancer/endpointsharding
endpointsharding.go#L108: inhibitChildUpdates atomic.Bool
google.golang.org/grpc/internal/grpcsync
event.go#L29: fired atomic.Bool
google.golang.org/grpc/internal/transport
client_stream.go#L47: bytesReceived atomic.Bool // indicates whether any bytes have been received on this stream
client_stream.go#L48: unprocessed atomic.Bool // set if the server sends a refused stream or GOAWAY including this stream
server_stream.go#L51: headerSent atomic.Bool // atomically set when the headers are sent out.
hash/crc32
crc32.go#L81: var haveCastagnoli atomic.Bool
internal/poll
fd_unix.go#L657: var dupCloexecUnsupported atomic.Bool
internal/sync
hashtriemap.go#L543: dead atomic.Bool
internal/syscall/unix
getrandom.go#L19: var getrandomUnsupported atomic.Bool
log
log.go#L63: isDiscard atomic.Bool
net/http
client.go#L399: 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#L3067: inShutdown atomic.Bool // true when server is in shutdown
server.go#L3069: disableKeepAlives atomic.Bool
runtime/trace
trace.go#L153: enabled atomic.Bool
testing
testing.go#L643: hasSub atomic.Bool // whether there are sub-benchmarks.
testing.go#L644: cleanupStarted atomic.Bool // Registered cleanup callbacks have started to execute
testing.go#L659: raceErrorLogged atomic.Bool
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)