type sync.Once

78 uses

	sync (current package)
		once.go#L18: type Once struct {
		once.go#L48: func (o *Once) Do(f func()) {
		once.go#L69: func (o *Once) doSlow(f func()) {
		oncefunc.go#L13: 		once  Once
		oncefunc.go#L44: 		once   Once
		oncefunc.go#L74: 		once  Once

	compress/flate
		inflate.go#L29: var fixedOnce sync.Once

	context
		context.go#L333: 	once sync.Once // either starts running f or stops f from running

	crypto/des
		block.go#L84: var feistelBoxOnce sync.Once

	crypto/ecdh
		ecdh.go#L114: 	publicKeyOnce sync.Once

	crypto/ecdsa
		ecdsa.go#L611: var p224Once sync.Once
		ecdsa.go#L624: var p256Once sync.Once
		ecdsa.go#L637: var p384Once sync.Once
		ecdsa.go#L650: 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#L224: 			sync.Once
		root.go#L13: 	once           sync.Once

	github.com/cenkalti/backoff/v4
		ticker.go#L20: 	stopOnce sync.Once

	github.com/gotd/td/internal/mtproto
		vendored_keys.go#L23: 		Once sync.Once

	github.com/gotd/td/telegram
		typemap.go#L17: 	typesOnce sync.Once

	github.com/gotd/td/telegram/dcs
		dns.go#L24: 	once sync.Once

	github.com/gotd/td/telegram/internal/version
		version.go#L12: 	sync.Once

	github.com/gotd/td/transport
		once_close.go#L12: 	once sync.Once

	github.com/klauspost/compress/flate
		inflate.go#L47: var fixedOnce sync.Once

	go.opentelemetry.io/otel/attribute
		encoder.go#L69: 	defaultEncoderOnce     sync.Once

	go.uber.org/zap/zapcore
		lazy_with.go#L27: 	sync.Once

	golang.org/x/net/proxy
		proxy.go#L127: 	once  sync.Once
		proxy.go#L147: 	e.once = sync.Once{}

	golang.org/x/sync/errgroup
		errgroup.go#L29: 	errOnce sync.Once

	hash/crc32
		crc32.go#L80: var castagnoliOnce sync.Once
		crc32.go#L106: var ieeeOnce sync.Once

	internal/godebug
		godebug.go#L48: 	once sync.Once
		godebug.go#L54: 	nonDefaultOnce sync.Once

	internal/poll
		copy_file_range_linux.go#L14: 	kernelVersion53Once sync.Once
		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#L79: var once sync.Once // guards initMime

	net
		conf.go#L75: 	confOnce sync.Once // guards init of confVal via initConfVal
		dnsclient_unix.go#L339: 	initOnce sync.Once // guards init of resolverConfig
		ipsock.go#L22: 	sync.Once             // guards following
		lookup_unix.go#L16: var onceReadProtocols sync.Once
		mptcpsock_linux.go#L17: 	mptcpOnce      sync.Once
		net.go#L367: 	sync.Once
		net.go#L682: 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#L392: 	var once sync.Once
		h2_bundle.go#L3249: 	http2commonBuildOnce   sync.Once
		h2_bundle.go#L4421: 	shutdownOnce sync.Once
		h2_bundle.go#L6309: 	closeOnce     sync.Once  // for use by Close only
		h2_bundle.go#L7262: 	connPoolOnce  sync.Once
		h2_bundle.go#L7448: 	abortOnce sync.Once
		server.go#L2716: 	nextProtoOnce     sync.Once // guards setupHTTP2_* init
		server.go#L3493: 	once     sync.Once
		transport.go#L279: 	nextProtoOnce      sync.Once
		transport.go#L828: 	envProxyOnce      sync.Once
		transport.go#L843: 	envProxyOnce = sync.Once{}

	net/textproto
		reader.go#L775: 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#L85: var localOnce sync.Once
		zoneinfo.go#L104: var unnamedFixedZonesOnce sync.Once
		zoneinfo.go#L645: var zoneinfoOnce 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#L6963: var recompMapOnce sync.Once