sync.Pool.Put (method)
60 uses
sync (current package)
pool.go#L95: func (p *Pool) Put(x any) {
crypto/tls
conn.go#L993: outBufPool.Put(outBufPtr)
encoding/json
encode.go#L160: defer encodeStatePool.Put(e)
scanner.go#L106: scannerPool.Put(scan)
stream.go#L207: defer encodeStatePool.Put(e)
fmt
print.go#L181: ppFree.Put(p)
scan.go#L414: ssFree.Put(s)
github.com/go-faster/jx
jx.go#L42: decPool.Put(d)
jx.go#L54: encPool.Put(e)
jx.go#L65: writerPool.Put(e)
github.com/gotd/td/bin
pool.go#L28: b.pool.Put(buf)
github.com/gotd/td/internal/crypto
sha256.go#L12: defer sha256Pool.Put(h)
github.com/gotd/td/internal/proto
gzip.go#L40: g.writers.Put(w)
gzip.go#L54: g.readers.Put(reader)
gzip.go#L61: g.readers.Put(w)
gzip.go#L89: defer gzipBufPool.Put(buf)
github.com/klauspost/compress/flate
stateless.go#L74: bitWriterPool.Put(bw)
go.opentelemetry.io/otel/attribute
encoder.go#L104: defer d.pool.Put(buf)
set.go#L196: sortables.Put(srt)
set.go#L225: sortables.Put(srt)
go.uber.org/multierr
error.go#L234: _bufferPool.Put(buff)
go.uber.org/zap/internal/pool
pool.go#L57: p.pool.Put(x)
internal/poll
splice_linux.go#L226: splicePipePool.Put(p)
io
io.go#L661: blackHolePool.Put(bufp)
log
log.go#L184: bufferPool.Put(p)
math/big
nat.go#L656: natPool.Put(x)
net/http
h2_bundle.go#L1074: http2dataChunkPools[i].Put(p)
h2_bundle.go#L1630: defer http2fhBytes.Put(bufp)
h2_bundle.go#L3129: defer http2littleBuf.Put(bp)
h2_bundle.go#L3601: http2bufWriterPool.Put(bw)
h2_bundle.go#L4946: http2errChanPool.Put(ch)
h2_bundle.go#L4948: http2writeDataPool.Put(writeArg)
h2_bundle.go#L6229: http2errChanPool.Put(errc)
h2_bundle.go#L6587: http2sorterPool.Put(sorter)
h2_bundle.go#L6831: http2responseWriterStatePool.Put(rws)
h2_bundle.go#L6939: http2errChanPool.Put(msg.done)
h2_bundle.go#L8787: defer http2bufPool.Put(bp)
h2_bundle.go#L8791: defer http2bufPool.Put(&buf)
h2_bundle.go#L10595: defer http2sorterPool.Put(sorter)
header.go#L216: headerSorterPool.Put(sorter)
header.go#L229: headerSorterPool.Put(sorter)
request.go#L1014: textprotoReaderPool.Put(r)
server.go#L581: defer copyBufPool.Put(bufp)
server.go#L841: bufioReaderPool.Put(br)
server.go#L859: pool.Put(bw)
nhooyr.io/websocket
compress.go#L148: flateReaderPool.Put(fr)
compress.go#L164: flateWriterPool.Put(w)
compress.go#L212: swPool[cap(sw.buf)].Put(sw)
dial.go#L314: bufioReaderPool.Put(br)
dial.go#L329: bufioWriterPool.Put(bw)
os
dir_unix.go#L39: dirBufPool.Put(d.buf)
reflect
value.go#L607: framePool.Put(stackArgs)
value.go#L1142: methodFramePool.Put(methodFrame)
regexp
backtrack.go#L59: bitStatePool.Put(b)
exec.go#L393: onePassPool.Put(m)
regexp.go#L270: matchPool[re.mpool].Put(m)
syscall
netlink_linux.go#L85: defer pageBufPool.Put(rbNew)
vendor/golang.org/x/net/http2/hpack
hpack.go#L521: bufPool.Put(buf)
huffman.go#L24: defer bufPool.Put(buf)
huffman.go#L35: defer bufPool.Put(buf)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |