sync.Once.Do (method)

83 uses

	sync (current package)
		once.go#L52: func (o *Once) Do(f func()) {
		oncefunc.go#L22: 		d.once.Do(func() {
		oncefunc.go#L58: 		d.once.Do(func() {
		oncefunc.go#L93: 		d.once.Do(func() {

	compress/flate
		inflate.go#L767: 	fixedOnce.Do(func() {

	context
		context.go#L332: 		a.once.Do(func() {
		context.go#L357: 	a.once.Do(func() {

	crypto/des
		block.go#L218: 	feistelBoxOnce.Do(initFeistelBox)

	crypto/elliptic
		elliptic.go#L241: 	initonce.Do(initAll)
		elliptic.go#L254: 	initonce.Do(initAll)
		elliptic.go#L266: 	initonce.Do(initAll)
		elliptic.go#L278: 	initonce.Do(initAll)

	crypto/internal/fips140/edwards25519
		scalarmult.go#L12: 	basepointTablePrecomp.initOnce.Do(func() {
		scalarmult.go#L128: 	basepointNafTablePrecomp.initOnce.Do(func() {

	crypto/internal/fips140/nistec
		p224.go#L114: 	_p224BOnce.Do(func() {
		p224.go#L393: 	p224GeneratorTableOnce.Do(func() {
		p224_sqrt.go#L27: 	p224GGOnce.Do(func() {
		p384.go#L114: 	_p384BOnce.Do(func() {
		p384.go#L393: 	p384GeneratorTableOnce.Do(func() {
		p521.go#L114: 	_p521BOnce.Do(func() {
		p521.go#L393: 	p521GeneratorTableOnce.Do(func() {

	crypto/internal/sysrand
		rand.go#L63: 	urandomOnce.Do(func() {

	crypto/x509
		cert_pool.go#L240: 			lazyCert.Do(func() {
		root.go#L32: 	once.Do(initSystemRoots)
		root.go#L103: 	once.Do(func() { panic("unreachable") }) // asserts that system roots were indeed loaded before.

	github.com/cenkalti/backoff/v4
		ticker.go#L55: 	t.stopOnce.Do(func() { close(t.stop) })

	github.com/gotd/td/mtproto
		vendored_keys.go#L43: 	parsedKeys.Once.Do(func() {

	github.com/gotd/td/telegram
		tdlib_json.go#L25: 	tdlibToTelegramMapOnce.Do(func() {
		typemap.go#L21: 	typesOnce.Do(func() {

	github.com/gotd/td/telegram/dcs
		dns.go#L30: 	dnsKey.once.Do(func() {

	github.com/gotd/td/telegram/downloader
		parallel.go#L28: 		typOnce.Do(func() {

	github.com/gotd/td/telegram/internal/version
		version.go#L19: 	versionOnce.Do(func() {

	github.com/gotd/td/transport
		once_close.go#L17: 	o.once.Do(func() {

	github.com/klauspost/compress/flate
		inflate.go#L776: 	fixedOnce.Do(func() {

	github.com/klauspost/compress/zstd
		encoder.go#L521: 	e.init.Do(e.initialize)
		fse_predefined.go#L76: 	predef.Do(func() {

	github.com/refraction-networking/utls
		u_ech.go#L67: 	g.initOnce.Do(func() {

	go.opentelemetry.io/otel/attribute
		encoder.go#L78: 	defaultEncoderOnce.Do(func() {

	golang.org/x/net/proxy
		proxy.go#L132: 	e.once.Do(e.init)

	golang.org/x/sync/errgroup
		errgroup.go#L94: 			g.errOnce.Do(func() {
		errgroup.go#L123: 			g.errOnce.Do(func() {

	internal/godebug
		godebug.go#L122: 	s.nonDefaultOnce.Do(s.register)
		godebug.go#L158: 	s.once.Do(func() {

	internal/poll
		fd_poll_runtime.go#L39: 	serverInit.Do(runtime_pollServerInit)

	io
		pipe.go#L72: 	p.once.Do(func() { close(p.done) })
		pipe.go#L103: 	p.once.Do(func() { close(p.done) })

	math/big
		sqrt.go#L18: 	threeOnce.Do(func() {

	mime
		type.go#L165: 	once.Do(initMime)
		type.go#L220: 	once.Do(initMime)
		type.go#L237: 	once.Do(initMime)

	net
		conf.go#L79: 	confOnce.Do(initConfVal)
		dnsclient_unix.go#L389: 	conf.initOnce.Do(conf.init)
		ipsock.go#L34: 	ipStackCaps.Once.Do(ipStackCaps.probe)
		ipsock.go#L41: 	ipStackCaps.Once.Do(ipStackCaps.probe)
		ipsock.go#L56: 	ipStackCaps.Once.Do(ipStackCaps.probe)
		mptcpsock_linux.go#L30: 	mptcpOnce.Do(initMPTCPavailable)
		net.go#L405: 	listenerBacklogCache.Do(func() { listenerBacklogCache.val = maxListenerBacklog() })
		net.go#L810: 	threadOnce.Do(func() {
		nss.go#L50: 	conf.initOnce.Do(conf.init)
		pipe.go#L236: 	p.once.Do(func() { close(p.localDone) })
		port_unix.go#L55: 	onceReadServices.Do(readServices)
		unixsock_posix.go#L191: 	ln.unlinkOnce.Do(func() {

	net/http
		clientconn.go#L114: 	t.nextProtoOnce.Do(t.onceSetNextProtoDefaults)
		h2_bundle.go#L5455: 	sc.shutdownOnce.Do(func() { sc.sendServeMsg(http2gracefulShutdownMsg) })
		h2_bundle.go#L6535: 	b.closeOnce.Do(func() {
		h2_bundle.go#L7589: 	t.connPoolOnce.Do(t.initConnPool)
		h2_bundle.go#L7767: 	cs.abortOnce.Do(func() {
		server.go#L3726: 	s.nextProtoOnce.Do(s.onceSetNextProtoDefaults)
		server.go#L3739: 	s.nextProtoOnce.Do(s.onceSetNextProtoDefaults_Serve)
		server.go#L3936: 	oc.once.Do(oc.close)
		transport.go#L338: 	t.nextProtoOnce.Do(t.onceSetNextProtoDefaults)
		transport.go#L591: 	t.nextProtoOnce.Do(t.onceSetNextProtoDefaults)
		transport.go#L898: 	t.nextProtoOnce.Do(t.onceSetNextProtoDefaults)
		transport.go#L972: 	envProxyOnce.Do(func() {

	net/http/internal/httpcommon
		httpcommon.go#L75: 	commonBuildOnce.Do(buildCommonHeaderMaps)

	net/textproto
		reader.go#L787: 	commonHeaderOnce.Do(initCommonHeader)

	strings
		replace.go#L96: 	r.once.Do(r.buildOnce)
		replace.go#L102: 	r.once.Do(r.buildOnce)

	time
		zoneinfo.go#L96: 		localOnce.Do(initLocal)
		zoneinfo.go#L119: 		unnamedFixedZonesOnce.Do(func() {
		zoneinfo.go#L675: 	zoneinfoOnce.Do(func() {

	vendor/golang.org/x/net/http2/hpack
		huffman.go#L134: 	buildRootOnce.Do(buildRootHuffmanNode)

	vendor/golang.org/x/text/unicode/norm
		composition.go#L466: 	recompMapOnce.Do(buildRecompMap)