sync/atomic.Bool.Store (method)
40 uses
sync/atomic (current package)
type.go#L20: func (x *Bool) Store(val bool) { StoreUint32(&x.v, b32(val)) }
crypto/tls
conn.go#L1290: c.isHandshakeComplete.Store(false)
handshake_client.go#L631: c.isHandshakeComplete.Store(true)
handshake_client_tls13.go#L157: c.isHandshakeComplete.Store(true)
handshake_server.go#L129: c.isHandshakeComplete.Store(true)
handshake_server_tls13.go#L101: c.isHandshakeComplete.Store(true)
crypto/tls/internal/fips140tls
fipstls.go#L24: required.Store(true)
fipstls.go#L36: required.Store(false)
google.golang.org/grpc/balancer/endpointsharding
endpointsharding.go#L142: es.inhibitChildUpdates.Store(true)
endpointsharding.go#L144: es.inhibitChildUpdates.Store(false)
endpointsharding.go#L209: es.inhibitChildUpdates.Store(true)
endpointsharding.go#L211: es.inhibitChildUpdates.Store(false)
google.golang.org/grpc/internal/transport
http2_client.go#L782: s.unprocessed.Store(true)
http2_client.go#L1245: s.unprocessed.Store(true)
http2_client.go#L1391: stream.unprocessed.Store(true)
http2_client.go#L1442: s.bytesReceived.Store(true)
hash/crc32
crc32.go#L97: haveCastagnoli.Store(true)
internal/poll
fd_unix.go#L671: dupCloexecUnsupported.Store(true)
internal/sync
hashtriemap.go#L349: i.dead.Store(true)
hashtriemap.go#L411: i.dead.Store(true)
internal/syscall/unix
getrandom.go#L42: getrandomUnsupported.Store(true)
log
log.go#L84: l.isDiscard.Store(w == io.Discard)
net/http
client.go#L407: timedOut.Store(true)
server.go#L573: w.canWriteContinue.Store(false)
server.go#L970: w.canWriteContinue.Store(false)
server.go#L976: ecr.sawEOF.Store(true)
server.go#L982: ecr.closed.Store(true)
server.go#L1709: w.handlerDone.Store(true)
server.go#L2079: w.canWriteContinue.Store(true)
server.go#L3091: s.inShutdown.Store(true)
server.go#L3141: s.inShutdown.Store(true)
server.go#L3625: s.disableKeepAlives.Store(false)
server.go#L3628: s.disableKeepAlives.Store(true)
runtime/trace
trace.go#L137: tracing.enabled.Store(true)
trace.go#L146: tracing.enabled.Store(false)
testing
benchmark.go#L792: b.hasSub.Store(true)
benchmark.go#L824: sub.hasSub.Store(true)
testing.go#L1409: c.cleanupStarted.Store(true)
testing.go#L1410: defer c.cleanupStarted.Store(false)
testing.go#L1811: t.hasSub.Store(true)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)