sync.Pool.New (field)

40 uses

	sync (current package)
		pool.go#L61: 	New func() any
		pool.go#L150: 	if x == nil && p.New != nil {
		pool.go#L151: 		x = p.New()

	crypto/tls
		conn.go#L963: 	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-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/internal/crypto
		sha256.go#L20: 	New: func() interface{} {

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

	github.com/klauspost/compress/flate
		stateless.go#L57: 	New: func() interface{} {

	go.opentelemetry.io/otel/attribute
		encoder.go#L92: 				New: func() interface{} {
		set.go#L63: 		New: func() interface{} { return new(Sortable) },

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

	go.uber.org/zap/internal/pool
		pool.go#L43: 			New: func() any {

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

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

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

	net/http
		h2_bundle.go#L1053: 		{New: func() interface{} { return make([]byte, 1<<10) }},
		h2_bundle.go#L1054: 		{New: func() interface{} { return make([]byte, 2<<10) }},
		h2_bundle.go#L1055: 		{New: func() interface{} { return make([]byte, 4<<10) }},
		h2_bundle.go#L1056: 		{New: func() interface{} { return make([]byte, 8<<10) }},
		h2_bundle.go#L1057: 		{New: func() interface{} { return make([]byte, 16<<10) }},
		h2_bundle.go#L1620: 	New: func() interface{} {
		h2_bundle.go#L3147: 	New: func() interface{} {
		h2_bundle.go#L3573: 	New: func() interface{} {
		h2_bundle.go#L3645: var http2sorterPool = sync.Pool{New: func() interface{} { return new(http2sorter) }}
		h2_bundle.go#L3882: 	New: func() interface{} {
		h2_bundle.go#L4904: 	New: func() interface{} { return make(chan error, 1) },
		h2_bundle.go#L4908: 	New: func() interface{} { return new(http2writeData) },
		header.go#L167: 	New: func() any { return new(headerSorter) },
		server.go#L812: 	New: func() any {

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

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