sync.Pool.Put (method)
45 uses
sync (current package)
pool.go#L99: func (p *Pool) Put(x any) {
crypto/tls
conn.go#L997: outBufPool.Put(outBufPtr)
encoding/json
encode.go#L162: defer encodeStatePool.Put(e)
scanner.go#L106: scannerPool.Put(scan)
stream.go#L208: defer encodeStatePool.Put(e)
fmt
print.go#L181: ppFree.Put(p)
scan.go#L414: ssFree.Put(s)
internal/poll
splice_linux.go#L221: splicePipePool.Put(p)
io
io.go#L669: blackHolePool.Put(bufp)
log
log.go#L184: bufferPool.Put(p)
math/big
nat.go#L643: natPool.Put(x)
net/http
h2_bundle.go#L1074: http2dataChunkPools[0].Put((*[1 << 10]byte)(p))
h2_bundle.go#L1076: http2dataChunkPools[1].Put((*[2 << 10]byte)(p))
h2_bundle.go#L1078: http2dataChunkPools[2].Put((*[4 << 10]byte)(p))
h2_bundle.go#L1080: http2dataChunkPools[3].Put((*[8 << 10]byte)(p))
h2_bundle.go#L1082: http2dataChunkPools[4].Put((*[16 << 10]byte)(p))
h2_bundle.go#L1637: defer http2fhBytes.Put(bufp)
h2_bundle.go#L3134: defer http2littleBuf.Put(bp)
h2_bundle.go#L3599: http2bufWriterPool.Put(bw)
h2_bundle.go#L4995: http2errChanPool.Put(ch)
h2_bundle.go#L4997: http2writeDataPool.Put(writeArg)
h2_bundle.go#L6285: http2errChanPool.Put(errc)
h2_bundle.go#L6637: http2sorterPool.Put(sorter)
h2_bundle.go#L6871: http2responseWriterStatePool.Put(rws)
h2_bundle.go#L6978: http2errChanPool.Put(msg.done)
h2_bundle.go#L8933: defer http2bufPools[index].Put(bp)
h2_bundle.go#L8937: defer http2bufPools[index].Put(&buf)
h2_bundle.go#L10802: defer http2sorterPool.Put(sorter)
header.go#L210: headerSorterPool.Put(sorter)
header.go#L223: headerSorterPool.Put(sorter)
request.go#L1058: textprotoReaderPool.Put(r)
server.go#L829: copyBufPool.Put((*[copyBufPoolSize]byte)(b))
server.go#L873: bufioReaderPool.Put(br)
server.go#L909: pool.Put(bw)
os
dir_unix.go#L42: dirBufPool.Put(d.buf)
dir_unix.go#L85: dirBufPool.Put(d.buf)
reflect
value.go#L595: framePool.Put(stackArgs)
value.go#L1130: methodFramePool.Put(methodFrame)
regexp
backtrack.go#L59: bitStatePool.Put(b)
exec.go#L393: onePassPool.Put(m)
regexp.go#L264: 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.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |