sync.Pool.New (field)

48 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#L25: 	New: func() any {

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

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

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

	github.com/coder/websocket/internal/bpool
		bpool.go#L9: 	New: func() any {

	github.com/go-faster/jx
		jx.go#L18: 		New: func() interface{} {
		jx.go#L23: 		New: func() interface{} {
		jx.go#L28: 		New: func() interface{} {

	github.com/gotd/td/bin
		pool.go#L15: 			New: func() interface{} {

	github.com/gotd/td/crypto
		sha256.go#L20: 	New: func() interface{} {

	github.com/gotd/td/proto
		gzip.go#L25: 			New: func() interface{} {
		gzip.go#L77: 	gzipBufPool = sync.Pool{New: func() interface{} {

	github.com/klauspost/compress/flate
		stateless.go#L59: 	New: func() any {
		stateless.go#L66: 	New: func() any {

	github.com/klauspost/compress/zstd
		blockdec.go#L57: 	huffDecoderPool = sync.Pool{New: func() any {
		blockdec.go#L61: 	fseDecoderPool = sync.Pool{New: func() any {
		zip.go#L22: var zipReaderPool = sync.Pool{New: func() any {

	github.com/refraction-networking/utls
		conn.go#L968: 	New: func() any {

	go.opentelemetry.io/otel/attribute
		encoder.go#L81: 				New: func() any {

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

	internal/poll
		splice_linux.go#L187: 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#L1207: 	{New: func() interface{} { return new([1 << 10]byte) }},
		h2_bundle.go#L1208: 	{New: func() interface{} { return new([2 << 10]byte) }},
		h2_bundle.go#L1209: 	{New: func() interface{} { return new([4 << 10]byte) }},
		h2_bundle.go#L1210: 	{New: func() interface{} { return new([8 << 10]byte) }},
		h2_bundle.go#L1211: 	{New: func() interface{} { return new([16 << 10]byte) }},
		h2_bundle.go#L1785: 	New: func() interface{} {
		h2_bundle.go#L3382: 	New: func() interface{} {
		h2_bundle.go#L3727: 	New: func() interface{} {
		h2_bundle.go#L3825: var http2sorterPool = sync.Pool{New: func() interface{} { return new(http2sorter) }}
		h2_bundle.go#L4058: 	New: func() interface{} {
		h2_bundle.go#L4204: 	New: func() any { return make(chan error, 1) },
		h2_bundle.go#L4236: 		errChanPool: sync.Pool{New: func() any { return make(chan error, 1) }},
		h2_bundle.go#L5144: 	New: func() interface{} { return new(http2writeData) },
		h2_bundle.go#L10448: var http2gzipPool = sync.Pool{New: func() any { return new(gzip.Reader) }}
		header.go#L161: 	New: func() any { return new(headerSorter) },
		server.go#L834: var copyBufPool = sync.Pool{New: func() any { return new([copyBufPoolSize]byte) }}
		transport.go#L3128: var gzipPool = sync.Pool{New: func() any { return new(gzip.Reader) }}

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

	reflect
		type.go#L2871: 	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) },