type sync.Once
66 uses
sync (current package)
once.go#L20: type Once struct {
once.go#L50: func (o *Once) Do(f func()) {
once.go#L71: func (o *Once) doSlow(f func()) {
oncefunc.go#L13: once Once
oncefunc.go#L45: once Once
oncefunc.go#L76: once Once
compress/flate
inflate.go#L29: var fixedOnce sync.Once
context
context.go#L338: once sync.Once // either starts running f or stops f from running
crypto/des
block.go#L74: var feistelBoxOnce sync.Once
crypto/ecdh
ecdh.go#L114: publicKeyOnce sync.Once
crypto/ecdsa
ecdsa.go#L616: var p224Once sync.Once
ecdsa.go#L629: var p256Once sync.Once
ecdsa.go#L642: var p384Once sync.Once
ecdsa.go#L655: var p521Once sync.Once
crypto/elliptic
elliptic.go#L224: var initonce sync.Once
crypto/internal/edwards25519
scalarmult.go#L26: initOnce sync.Once
scalarmult.go#L136: initOnce sync.Once
crypto/internal/nistec
p224.go#L111: var _p224BOnce sync.Once
p224.go#L387: var p224GeneratorTableOnce sync.Once
p224_sqrt.go#L13: var p224GGOnce sync.Once
p384.go#L111: var _p384BOnce sync.Once
p384.go#L387: var p384GeneratorTableOnce sync.Once
p521.go#L111: var _p521BOnce sync.Once
p521.go#L387: var p521GeneratorTableOnce sync.Once
crypto/internal/randutil
randutil.go#L15: closedChanOnce sync.Once
crypto/x509
cert_pool.go#L236: sync.Once
root.go#L23: once sync.Once
hash/crc32
crc32.go#L81: var castagnoliOnce sync.Once
crc32.go#L107: var ieeeOnce sync.Once
internal/godebug
godebug.go#L63: once sync.Once
godebug.go#L69: nonDefaultOnce sync.Once
internal/poll
fd_poll_runtime.go#L36: var serverInit sync.Once
io
pipe.go#L44: once sync.Once // Protects closing done
math/big
sqrt.go#L13: sync.Once
mime
type.go#L72: var once sync.Once // guards initMime
net
conf.go#L74: confOnce sync.Once // guards init of confVal via initConfVal
dnsclient_unix.go#L355: initOnce sync.Once // guards init of resolverConfig
ipsock.go#L23: sync.Once // guards following
lookup_unix.go#L15: var onceReadProtocols sync.Once
mptcpsock_linux.go#L17: mptcpOnce sync.Once
net.go#L377: sync.Once
net.go#L797: var threadOnce sync.Once
nss.go#L22: initOnce sync.Once // guards init of nsswitchConfig
pipe.go#L100: once sync.Once // Protects closing localDone
port_unix.go#L16: var onceReadServices sync.Once
unixsock.go#L224: unlinkOnce sync.Once
net/http
client.go#L391: var once sync.Once
h2_bundle.go#L3254: http2commonBuildOnce sync.Once
h2_bundle.go#L4480: shutdownOnce sync.Once
h2_bundle.go#L6365: closeOnce sync.Once // for use by Close only
h2_bundle.go#L7321: connPoolOnce sync.Once
h2_bundle.go#L7546: abortOnce sync.Once
server.go#L2979: nextProtoOnce sync.Once // guards setupHTTP2_* init
server.go#L3766: once sync.Once
transport.go#L286: nextProtoOnce sync.Once
transport.go#L903: envProxyOnce sync.Once
transport.go#L918: envProxyOnce = sync.Once{}
net/textproto
reader.go#L794: var commonHeaderOnce sync.Once
strings
replace.go#L15: once sync.Once // guards buildOnce method
syscall
env_unix.go#L18: envOnce sync.Once
time
zoneinfo.go#L89: var localOnce sync.Once
zoneinfo.go#L108: var unnamedFixedZonesOnce sync.Once
zoneinfo.go#L649: var zoneinfoOnce sync.Once
unique
handle.go#L143: var setupMake sync.Once
vendor/golang.org/x/net/http2/hpack
huffman.go#L129: buildRootOnce sync.Once
vendor/golang.org/x/text/unicode/norm
tables15.0.0.go#L6962: var recompMapOnce sync.Once
![]() |
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. |