sync/atomic.Bool.Load (method)

58 uses

	sync/atomic (current package)
		type.go#L19: func (x *Bool) Load() bool { return LoadUint32(&x.v) != 0 }

	sync
		once.go#L67: 	if !o.done.Load() {
		once.go#L76: 	if !o.done.Load() {

	crypto/tls
		conn.go#L613: 	handshakeComplete := c.isHandshakeComplete.Load()
		conn.go#L1226: 	if !c.isHandshakeComplete.Load() {
		conn.go#L1446: 	if c.isHandshakeComplete.Load() {
		conn.go#L1464: 	if !c.isHandshakeComplete.Load() {
		conn.go#L1523: 	if c.isHandshakeComplete.Load() {
		conn.go#L1555: 	if c.isHandshakeComplete.Load() {
		conn.go#L1571: 	if c.handshakeErr == nil && !c.isHandshakeComplete.Load() {
		conn.go#L1574: 	if c.handshakeErr != nil && c.isHandshakeComplete.Load() {
		conn.go#L1618: 	state.HandshakeComplete = c.isHandshakeComplete.Load()
		conn.go#L1674: 	if !c.isHandshakeComplete.Load() {
		quic.go#L328: 	if !c.isHandshakeComplete.Load() {

	crypto/tls/internal/fips140tls
		fipstls.go#L32: 	return required.Load()

	database/sql
		sql.go#L2001: 	if c.done.Load() {
		sql.go#L2225: 	return tx.done.Load()
		sql.go#L2294: 		if tx.done.Load() {

	golang.org/x/net/http2
		gotrack.go#L36: 	if !DebugGoroutines || disableDebugGoroutines.Load() {
		gotrack.go#L43: 	if !DebugGoroutines || disableDebugGoroutines.Load() {
		gotrack.go#L52: 	if !DebugGoroutines || disableDebugGoroutines.Load() {

	google.golang.org/grpc/balancer/endpointsharding
		endpointsharding.go#L246: 	if es.inhibitChildUpdates.Load() {

	google.golang.org/grpc/internal/grpcsync
		event.go#L52: 	return e.fired.Load()

	google.golang.org/grpc/internal/transport
		client_stream.go#L120: 	return s.bytesReceived.Load()
		client_stream.go#L126: 	return s.unprocessed.Load()
		server_stream.go#L82: 	return s.headerSent.Load()

	hash/crc32
		crc32.go#L204: 	case haveCastagnoli.Load() && tab == castagnoliTable:

	internal/poll
		fd_unix.go#L654: 	if syscall.F_DUPFD_CLOEXEC != 0 && !dupCloexecUnsupported.Load() {

	internal/sync
		hashtriemap.go#L129: 		if (n == nil || n.isEntry) && !i.dead.Load() {
		hashtriemap.go#L237: 		if (n == nil || n.isEntry) && !i.dead.Load() {
		hashtriemap.go#L463: 		if !i.dead.Load() && (n == nil || n.isEntry) {

	internal/syscall/unix
		getrandom.go#L33: 	if getrandomUnsupported.Load() {

	log
		log.go#L202: 	if l.isDiscard.Load() {

	net/http
		client.go#L419: 	return stopTimer, timedOut.Load
		h2_bundle.go#L3336: 	if !http2DebugGoroutines || http2disableDebugGoroutines.Load() {
		h2_bundle.go#L3343: 	if !http2DebugGoroutines || http2disableDebugGoroutines.Load() {
		h2_bundle.go#L3352: 	if !http2DebugGoroutines || http2disableDebugGoroutines.Load() {
		server.go#L940: 	if ecr.closed.Load() {
		server.go#L944: 	if w.canWriteContinue.Load() {
		server.go#L946: 		if w.canWriteContinue.Load() {
		server.go#L1327: 	if w.handlerDone.Load() && !trailers && !hasTE && bodyAllowedForStatus(w.status) && !header.has("Content-Length") && (!isHEAD || len(p) > 0) {
		server.go#L1374: 	if ecr, ok := w.req.Body.(*expectContinueReader); ok && !ecr.sawEOF.Load() {
		server.go#L1638: 	if w.canWriteContinue.Load() {
		server.go#L2202: 	if w.handlerDone.Load() {
		server.go#L2227: 	if w.handlerDone.Load() {
		server.go#L3622: 	return !s.disableKeepAlives.Load() && !s.shuttingDown()
		server.go#L3626: 	return s.inShutdown.Load()
		transport.go#L733: 			if b, ok := req.Body.(*readTrackingBody); ok && !b.didClose.Load() {
		transport.go#L797: 	if req.Body == nil || req.Body == NoBody || (!req.Body.(*readTrackingBody).didRead && !req.Body.(*readTrackingBody).didClose.Load()) {
		transport.go#L800: 	if !req.Body.(*readTrackingBody).didClose.Load() {

	net/http/httputil
		reverseproxy.go#L983: 	if ncr.closed.Load() {

	runtime/trace
		annotation.go#L181: 	return tracing.enabled.Load()
		subscribe.go#L108: 	if t.enabled.Load() {

	testing
		benchmark.go#L257: 	if b.hasSub.Load() || finished {
		testing.go#L2024: 		if t.parent != nil && !t.hasSub.Load() {
		testing.go#L2054: 	if t.cleanupStarted.Load() {
		testing.go#L2126: 	if t.cleanupStarted.Load() {

	unique
		canonmap.go#L99: 		if (n == nil || n.isEntry) && !i.dead.Load() {