sync.Once.Do (method)

130 uses

	sync (current package)
		once.go#L52: func (o *Once) Do(f func()) {
		oncefunc.go#L32: 		once.Do(g)
		oncefunc.go#L62: 		once.Do(g)
		oncefunc.go#L94: 		once.Do(g)

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

	context
		context.go#L326: 		a.once.Do(func() {
		context.go#L351: 	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#L60: 	urandomOnce.Do(func() {

	crypto/x509
		cert_pool.go#L240: 			lazyCert.Do(func() {
		root.go#L31: 	once.Do(initSystemRoots)

	go.pact.im/x/flaky
		debounce.go#L145: 	d.once.Do(func() {

	go.pact.im/x/httpprocess
		httpprocess.go#L74: 	l.once.Do(func() { l.err = l.Listener.Close() })

	go.pact.im/x/maininfo
		buildinfo.go#L32: 	modOnce.Do(readBuildInfo)
		buildinfo.go#L42: 	modOnce.Do(readBuildInfo)

	go.pact.im/x/netchan
		netchan.go#L90: 	l.once.Do(func() { close(l.done) })

	go.pact.im/x/process
		parallel.go#L93: 			once.Do(wg.Done)

	go.pact.im/x/task
		task.go#L79: 					once.Do(func() { errs = make([]error, len(tasks)) })

	go/types
		scope.go#L178: 		lazy.once.Do(func() {

	golang.org/x/net/http2
		server.go#L1475: 	sc.shutdownOnce.Do(func() { sc.sendServeMsg(gracefulShutdownMsg) })
		server.go#L2556: 	b.closeOnce.Do(func() {
		transport.go#L342: 	t.connPoolOnce.Do(t.initConnPool)
		transport.go#L506: 	cs.abortOnce.Do(func() {

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

	golang.org/x/net/internal/httpcommon
		headermap.go#L19: 	commonBuildOnce.Do(buildCommonHeaderMaps)

	golang.org/x/net/trace
		events.go#L423: 	eventsTmplOnce.Do(func() {
		histogram.go#L335: 	distTmplOnce.Do(func() {
		trace.go#L960: 	pageTmplOnce.Do(func() {

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

	golang.org/x/sys/unix
		syscall_unix.go#L78: 	signalNameMapOnce.Do(func() {

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

	golang.org/x/tools/go/packages
		golist.go#L108: 	state.envOnce.Do(func() {
		golist.go#L706: 	state.goVersionOnce.Do(func() {
		golist_overlay.go#L22: 		state.rootsOnce.Do(func() {
		golist_overlay.go#L26: 		state.rootsOnce.Do(func() {

	golang.org/x/tools/internal/gcimporter
		bimport.go#L60: 	fakeLinesOnce.Do(func() {
		exportdata.go#L394: 			listOnce.Do(func() {

	golang.org/x/tools/internal/gocommand
		invoke.go#L48: 	runner.once.Do(func() {

	google.golang.org/genproto/googleapis/rpc/status
		status.pb.go#L146: 	file_google_rpc_status_proto_rawDescOnce.Do(func() {

	google.golang.org/grpc
		server.go#L1942: 	s.channelzRemoveOnce.Do(func() { channelz.RemoveEntry(s.channelz.ID) })

	google.golang.org/grpc/binarylog/grpc_binarylog_v1
		binarylog.pb.go#L930: 	file_grpc_binlog_v1_binarylog_proto_rawDescOnce.Do(func() {

	google.golang.org/grpc/health/grpc_health_v1
		health.pb.go#L294: 	file_grpc_health_v1_health_proto_rawDescOnce.Do(func() {

	google.golang.org/grpc/internal/transport
		handler_server.go#L180: 	ht.closeOnce.Do(func() {

	google.golang.org/protobuf/internal/filedesc
		desc.go#L634: 	s.once.Do(func() {
		desc_lazy.go#L680: 		once.Do(func() {
		desc_list.go#L41: 	p.once.Do(func() {
		desc_list.go#L93: 	p.once.Do(func() {
		desc_list.go#L155: 	p.once.Do(func() {
		desc_list.go#L231: 	p.once.Do(func() {
		desc_list.go#L272: 	p.once.Do(func() {
		desc_list.go#L415: 	p.once.Do(func() {
		desc_list_gen.go#L42: 	p.once.Do(func() {
		desc_list_gen.go#L86: 	p.once.Do(func() {
		desc_list_gen.go#L127: 	p.once.Do(func() {
		desc_list_gen.go#L185: 	p.once.Do(func() {
		desc_list_gen.go#L244: 	p.once.Do(func() {
		desc_list_gen.go#L281: 	p.once.Do(func() {
		desc_list_gen.go#L318: 	p.once.Do(func() {
		desc_list_gen.go#L355: 	p.once.Do(func() {

	google.golang.org/protobuf/types/known/anypb
		any.pb.go#L429: 	file_google_protobuf_any_proto_rawDescOnce.Do(func() {

	google.golang.org/protobuf/types/known/durationpb
		duration.pb.go#L306: 	file_google_protobuf_duration_proto_rawDescOnce.Do(func() {

	google.golang.org/protobuf/types/known/timestamppb
		timestamp.pb.go#L315: 	file_google_protobuf_timestamp_proto_rawDescOnce.Do(func() {

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

	internal/goroot
		gc.go#L123: 	gd.once.Do(gd.init)

	internal/lazyregexp
		lazyre.go#L25: 	r.once.Do(r.build)

	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#L105: 	once.Do(initMime)
		type.go#L147: 	once.Do(initMime)
		type.go#L164: 	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)
		lookup_unix.go#L51: 	onceReadProtocols.Do(readProtocols)
		mptcpsock_linux.go#L30: 	mptcpOnce.Do(initMPTCPavailable)
		net.go#L400: 	listenerBacklogCache.Do(func() { listenerBacklogCache.val = maxListenerBacklog() })
		net.go#L805: 	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
		h2_bundle.go#L3423: 	http2commonBuildOnce.Do(http2buildCommonHeaderMaps)
		h2_bundle.go#L5526: 	sc.shutdownOnce.Do(func() { sc.sendServeMsg(http2gracefulShutdownMsg) })
		h2_bundle.go#L6652: 	b.closeOnce.Do(func() {
		h2_bundle.go#L7764: 	t.connPoolOnce.Do(t.initConnPool)
		h2_bundle.go#L7927: 	cs.abortOnce.Do(func() {
		server.go#L3716: 	s.nextProtoOnce.Do(s.onceSetNextProtoDefaults)
		server.go#L3729: 	s.nextProtoOnce.Do(s.onceSetNextProtoDefaults_Serve)
		server.go#L3926: 	oc.once.Do(oc.close)
		transport.go#L330: 	t.nextProtoOnce.Do(t.onceSetNextProtoDefaults)
		transport.go#L583: 	t.nextProtoOnce.Do(t.onceSetNextProtoDefaults)
		transport.go#L888: 	t.nextProtoOnce.Do(t.onceSetNextProtoDefaults)
		transport.go#L962: 	envProxyOnce.Do(func() {

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

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

	syscall
		env_unix.go#L56: 	envOnce.Do(copyenv)
		env_unix.go#L70: 	envOnce.Do(copyenv)
		env_unix.go#L92: 	envOnce.Do(copyenv)
		env_unix.go#L127: 	envOnce.Do(copyenv)
		env_unix.go#L140: 	envOnce.Do(copyenv)

	testing
		benchmark.go#L276: 	labelsOnce.Do(func() {
		benchmark.go#L828: 		labelsOnce.Do(func() {
		testing.go#L2366: 	m.afterOnce.Do(func() {

	text/template
		funcs.go#L73: 	builtinFuncsOnce.Do(func() {

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

	unique
		handle.go#L46: 		setupMake.Do(registerCleanup)

	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)