sync.Once.Do (method)

135 uses

	sync (current package)
		once.go#L42: func (o *Once) Do(f func()) {

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

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

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

	crypto/elliptic
		elliptic.go#L457: 	initonce.Do(initAll)
		elliptic.go#L470: 	initonce.Do(initAll)
		elliptic.go#L482: 	initonce.Do(initAll)
		elliptic.go#L494: 	initonce.Do(initAll)

	crypto/internal/randutil
		randutil.go#L26: 	closedChanOnce.Do(func() {

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

	github.com/aws/aws-sdk-go-v2/aws/transport/http
		client.go#L67: 	b.initOnce.Do(b.build)

	github.com/aws/aws-sdk-go-v2/service/s3
		api_op_SelectObjectContent.go#L375: 	es.closeOnce.Do(es.safeClose)
		eventstream.go#L141: 	r.closeOnce.Do(r.safeClose)

	github.com/go-pg/pg/v10
		listener.go#L261: 	ln.chOnce.Do(func() {

	github.com/go-pg/pg/v10/orm
		tables.go#L28: 	inp.init1Once.Do(func() {
		tables.go#L37: 	inp.init2Once.Do(func() {

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

	go.pact.im/x/jsonlazy
		jsonlazy.go#L54: 	m.once.Do(func() {

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

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

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

	go/types
		methodlist.go#L75: 	(*l.guards)[i].Do(func() {
		named.go#L49: 	t.once.Do(func() {
		scope.go#L254: 		lazy.once.Do(func() {

	golang.org/x/net/http2
		headermap.go#L19: 	commonBuildOnce.Do(buildCommonHeaderMaps)
		server.go#L1393: 	sc.shutdownOnce.Do(func() { sc.sendServeMsg(gracefulShutdownMsg) })
		server.go#L2434: 	b.closeOnce.Do(func() {
		transport.go#L277: 	t.connPoolOnce.Do(t.initConnPool)
		transport.go#L418: 	cs.abortOnce.Do(func() {

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

	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#L76: 			g.errOnce.Do(func() {
		errgroup.go#L105: 			g.errOnce.Do(func() {

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

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

	golang.org/x/tools/go/packages
		golist.go#L105: 	state.envOnce.Do(func() {
		golist.go#L760: 	state.goVersionOnce.Do(func() {
		golist_overlay.go#L325: 		state.rootsOnce.Do(func() {
		golist_overlay.go#L329: 		state.rootsOnce.Do(func() {
		packages.go#L839: 	lpkg.loadOnce.Do(func() {

	golang.org/x/tools/internal/gcimporter
		bimport.go#L376: 	fakeLinesOnce.Do(func() {
		bimport.go#L998: 	predeclOnce.Do(func() {
		gcimporter.go#L54: 			listOnce.Do(func() {

	golang.org/x/tools/internal/gocommand
		invoke.go#L44: 	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#L1797: 	s.channelzRemoveOnce.Do(func() { channelz.RemoveEntry(s.channelzID) })
		server.go#L1835: 	s.channelzRemoveOnce.Do(func() { channelz.RemoveEntry(s.channelzID) })

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

	google.golang.org/grpc/internal/grpcsync
		event.go#L40: 	e.o.Do(func() {
		oncefunc.go#L30: 		once.Do(f)

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

	google.golang.org/protobuf/internal/filedesc
		desc.go#L519: 	s.once.Do(func() {
		desc_lazy.go#L690: 		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#L41: 	p.once.Do(func() {
		desc_list_gen.go#L85: 	p.once.Do(func() {
		desc_list_gen.go#L126: 	p.once.Do(func() {
		desc_list_gen.go#L184: 	p.once.Do(func() {
		desc_list_gen.go#L233: 	p.once.Do(func() {
		desc_list_gen.go#L270: 	p.once.Do(func() {
		desc_list_gen.go#L307: 	p.once.Do(func() {
		desc_list_gen.go#L344: 	p.once.Do(func() {

	google.golang.org/protobuf/internal/impl
		codec_field.go#L125: 		once.Do(func() {
		message_reflect_field.go#L349: 		once.Do(func() {

	google.golang.org/protobuf/types/descriptorpb
		descriptor.pb.go#L3495: 	file_google_protobuf_descriptor_proto_rawDescOnce.Do(func() {

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

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

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

	hash/crc32
		crc32.go#L131: 		ieeeOnce.Do(ieeeInit)
		crc32.go#L134: 		castagnoliOnce.Do(castagnoliInit)
		crc32.go#L153: 		ieeeOnce.Do(ieeeInit)
		crc32.go#L221: 		ieeeOnce.Do(ieeeInit)
		crc32.go#L256: 	ieeeOnce.Do(ieeeInit)

	html
		escape.go#L188: 	populateMapsOnce.Do(populateMaps)

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

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

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

	internal/sysinfo
		sysinfo.go#L22: 	cpu.once.Do(func() {

	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#L112: 	once.Do(initMime)
		type.go#L154: 	once.Do(initMime)
		type.go#L171: 	once.Do(initMime)

	net
		conf.go#L43: 	confOnce.Do(initConfVal)
		dnsclient_unix.go#L354: 	conf.initOnce.Do(conf.init)
		ipsock.go#L33: 	ipStackCaps.Once.Do(ipStackCaps.probe)
		ipsock.go#L40: 	ipStackCaps.Once.Do(ipStackCaps.probe)
		ipsock.go#L55: 	ipStackCaps.Once.Do(ipStackCaps.probe)
		lookup_unix.go#L54: 	onceReadProtocols.Do(readProtocols)
		net.go#L377: 	listenerBacklogCache.Do(func() { listenerBacklogCache.val = maxListenerBacklog() })
		net.go#L676: 	threadOnce.Do(func() {
		pipe.go#L236: 	p.once.Do(func() { close(p.localDone) })
		port_unix.go#L55: 	onceReadServices.Do(readServices)
		unixsock_posix.go#L185: 	ln.unlinkOnce.Do(func() {

	net/http
		client.go#L386: 		once.Do(func() {
		h2_bundle.go#L3172: 	http2commonBuildOnce.Do(http2buildCommonHeaderMaps)
		h2_bundle.go#L5028: 	sc.shutdownOnce.Do(func() { sc.sendServeMsg(http2gracefulShutdownMsg) })
		h2_bundle.go#L6949: 	t.connPoolOnce.Do(t.initConnPool)
		h2_bundle.go#L7088: 	cs.abortOnce.Do(func() {
		server.go#L3273: 	srv.nextProtoOnce.Do(srv.onceSetNextProtoDefaults)
		server.go#L3286: 	srv.nextProtoOnce.Do(srv.onceSetNextProtoDefaults_Serve)
		server.go#L3475: 	oc.once.Do(oc.close)
		transport.go#L309: 	t.nextProtoOnce.Do(t.onceSetNextProtoDefaults)
		transport.go#L505: 	t.nextProtoOnce.Do(t.onceSetNextProtoDefaults)
		transport.go#L764: 	t.nextProtoOnce.Do(t.onceSetNextProtoDefaults)
		transport.go#L821: 	envProxyOnce.Do(func() {

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

	os/exec
		exec.go#L603: 	c.once.Do(c.close)

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

	syscall
		env_unix.go#L61: 	envOnce.Do(copyenv)
		env_unix.go#L75: 	envOnce.Do(copyenv)
		env_unix.go#L97: 	envOnce.Do(copyenv)
		env_unix.go#L132: 	envOnce.Do(copyenv) // prevent copyenv in Getenv/Setenv
		env_unix.go#L145: 	envOnce.Do(copyenv)

	testing
		benchmark.go#L264: 	labelsOnce.Do(func() {
		benchmark.go#L662: 		labelsOnce.Do(func() {
		testing.go#L1922: 	m.afterOnce.Do(func() {

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

	time
		zoneinfo.go#L92: 		localOnce.Do(initLocal)
		zoneinfo.go#L653: 	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)