sync.Pool.New (field)

62 uses

	sync (current package)
		pool.go#L63: 	New func() any
		pool.go#L154: 	if x == nil && p.New != nil {
		pool.go#L155: 		x = p.New()

	crypto/internal/fips140/drbg
		rand.go#L17: 	New: func() any {

	crypto/tls
		conn.go#L967: 	New: func() any {

	encoding/json
		scanner.go#L88: 	New: func() any {

	fmt
		print.go#L147: 	New: func() any { return new(pp) },
		scan.go#L379: 	New: func() any { return new(ss) },

	github.com/go-pg/pg/v10/internal/pool
		pool.go#L20: 	New: func() interface{} {
		reader.go#L67: 	New: func() interface{} {
		write_buffer.go#L12: 	New: func() interface{} {

	github.com/vmihailenco/msgpack/v5
		decode.go#L35: 	New: func() interface{} {
		encode.go#L45: 	New: func() interface{} {

	go.pact.im/x/zapjournal
		pool.go#L15: 	New: func() any {

	go.uber.org/multierr
		error.go#L179: 	New: func() interface{} {

	go.uber.org/zap
		error.go#L29: var _errArrayElemPool = sync.Pool{New: func() interface{} {
		stacktrace.go#L32: 	New: func() interface{} {

	go.uber.org/zap/buffer
		pool.go#L33: 		New: func() interface{} {

	go.uber.org/zap/zapcore
		console_encoder.go#L32: 	New: func() interface{} {
		entry.go#L36: 	_cePool = sync.Pool{New: func() interface{} {
		error.go#L106: var _errArrayElemPool = sync.Pool{New: func() interface{} {
		json_encoder.go#L37: var _jsonPool = sync.Pool{New: func() interface{} {

	go/printer
		printer.go#L1324: 	New: func() any {

	golang.org/x/net/http2
		databuffer.go#L24: 	{New: func() interface{} { return new([1 << 10]byte) }},
		databuffer.go#L25: 	{New: func() interface{} { return new([2 << 10]byte) }},
		databuffer.go#L26: 	{New: func() interface{} { return new([4 << 10]byte) }},
		databuffer.go#L27: 	{New: func() interface{} { return new([8 << 10]byte) }},
		databuffer.go#L28: 	{New: func() interface{} { return new([16 << 10]byte) }},
		frame.go#L222: 	New: func() interface{} {
		gotrack.go#L71: 	New: func() interface{} {
		http2.go#L258: 	New: func() interface{} {
		http2.go#L328: var sorterPool = sync.Pool{New: func() interface{} { return new(sorter) }}
		server.go#L70: 	New: func() interface{} {
		server.go#L1118: 	New: func() interface{} { return make(chan error, 1) },
		server.go#L1122: 	New: func() interface{} { return new(writeData) },

	golang.org/x/net/http2/hpack
		huffman.go#L15: 	New: func() interface{} { return new(bytes.Buffer) },

	google.golang.org/grpc
		rpc_util.go#L78: 			New: func() interface{} {

	google.golang.org/grpc/internal/transport
		transport.go#L59: 			New: func() interface{} {

	google.golang.org/protobuf/internal/filedesc
		desc_init.go#L450: 	New: func() interface{} { return new(strs.Builder) },

	google.golang.org/protobuf/internal/order
		range.go#L21: 	New: func() interface{} { return new([]messageField) },
		range.go#L72: 	New: func() interface{} { return new([]mapEntry) },

	internal/poll
		splice_linux.go#L191: var splicePipePool = sync.Pool{New: newPoolPipe}

	io
		io.go#L656: 	New: func() any {

	log
		log.go#L166: var bufferPool = sync.Pool{New: func() any { return new([]byte) }}

	net/http
		h2_bundle.go#L1212: 	{New: func() interface{} { return new([1 << 10]byte) }},
		h2_bundle.go#L1213: 	{New: func() interface{} { return new([2 << 10]byte) }},
		h2_bundle.go#L1214: 	{New: func() interface{} { return new([4 << 10]byte) }},
		h2_bundle.go#L1215: 	{New: func() interface{} { return new([8 << 10]byte) }},
		h2_bundle.go#L1216: 	{New: func() interface{} { return new([16 << 10]byte) }},
		h2_bundle.go#L1790: 	New: func() interface{} {
		h2_bundle.go#L3315: 	New: func() interface{} {
		h2_bundle.go#L3758: 	New: func() interface{} {
		h2_bundle.go#L3862: var http2sorterPool = sync.Pool{New: func() interface{} { return new(http2sorter) }}
		h2_bundle.go#L4123: 	New: func() interface{} {
		h2_bundle.go#L5211: 	New: func() interface{} { return make(chan error, 1) },
		h2_bundle.go#L5215: 	New: func() interface{} { return new(http2writeData) },
		header.go#L161: 	New: func() any { return new(headerSorter) },
		server.go#L820: var copyBufPool = sync.Pool{New: func() any { return new([copyBufPoolSize]byte) }}

	os
		dir_unix.go#L33: 	New: func() any {

	reflect
		type.go#L2784: 	framePool = &sync.Pool{New: func() any {

	syscall
		netlink_linux.go#L53: var pageBufPool = &sync.Pool{New: func() any {

	vendor/golang.org/x/net/http2/hpack
		huffman.go#L15: 	New: func() interface{} { return new(bytes.Buffer) },