type sync.Pool
84 uses
sync (current package)
pool.go#L51: type Pool struct {
pool.go#L99: func (p *Pool) Put(x any) {
pool.go#L131: func (p *Pool) Get() any {
pool.go#L160: func (p *Pool) getSlow(pid int) any {
pool.go#L202: func (p *Pool) pin() (*poolLocal, int) {
pool.go#L223: func (p *Pool) pinSlow() (*poolLocal, int) {
pool.go#L289: allPools []*Pool
pool.go#L293: oldPools []*Pool
crypto/internal/fips140/drbg
rand.go#L16: var drbgs = sync.Pool{
crypto/tls
conn.go#L966: var outBufPool = sync.Pool{
encoding/json
encode.go#L279: var encodeStatePool sync.Pool
scanner.go#L87: var scannerPool = sync.Pool{
fmt
print.go#L146: var ppFree = sync.Pool{
scan.go#L378: var ssFree = sync.Pool{
github.com/valyala/fastjson
pool.go#L9: pool sync.Pool
pool.go#L33: pool sync.Pool
go.pact.im/x/zapjournal
pool.go#L14: var varsEncoderPool = sync.Pool{
go.uber.org/multierr
error.go#L178: var _bufferPool = sync.Pool{
go.uber.org/zap
error.go#L29: var _errArrayElemPool = sync.Pool{New: func() interface{} {
stacktrace.go#L31: var _stacktracePool = sync.Pool{
go.uber.org/zap/buffer
pool.go#L27: p *sync.Pool
pool.go#L32: return Pool{p: &sync.Pool{
go.uber.org/zap/zapcore
console_encoder.go#L31: var _sliceEncoderPool = sync.Pool{
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#L1323: var printerPool = sync.Pool{
golang.org/x/net/http2
databuffer.go#L23: var dataChunkPools = [...]sync.Pool{
frame.go#L221: var fhBytes = sync.Pool{
gotrack.go#L70: var littleBuf = sync.Pool{
http2.go#L280: var bufWriterPool = sync.Pool{
http2.go#L383: var sorterPool = sync.Pool{New: func() interface{} { return new(sorter) }}
server.go#L75: var responseWriterStatePool = sync.Pool{
server.go#L1159: var errChanPool = sync.Pool{
server.go#L1163: var writeDataPool = sync.Pool{
transport.go#L1844: var bufPools [7]sync.Pool // of *[]byte
golang.org/x/net/http2/hpack
huffman.go#L14: var bufPool = sync.Pool{
google.golang.org/grpc
rpc_util.go#L55: pool sync.Pool
rpc_util.go#L77: pool: sync.Pool{
rpc_util.go#L114: pool sync.Pool
google.golang.org/grpc/internal/transport
controlbuf.go#L44: var itemNodePool = sync.Pool{
http_util.go#L299: pool *sync.Pool
http_util.go#L307: func newBufWriter(conn net.Conn, batchSize int, pool *sync.Pool) *bufWriter {
http_util.go#L396: var writeBufferPoolMap = make(map[int]*sync.Pool)
http_util.go#L407: var pool *sync.Pool
http_util.go#L425: func getWriteBufferPool(size int) *sync.Pool {
http_util.go#L432: pool = &sync.Pool{
google.golang.org/grpc/mem
buffer_pool.go#L116: pool sync.Pool
buffer_pool.go#L140: pool: sync.Pool{
buffer_pool.go#L157: pool sync.Pool
buffers.go#L64: bufferObjectPool = sync.Pool{New: func() any { return new(buffer) }}
buffers.go#L65: refObjectPool = sync.Pool{New: func() any { return new(atomic.Int32) }}
google.golang.org/protobuf/internal/filedesc
desc_init.go#L538: var nameBuilderPool = sync.Pool{
google.golang.org/protobuf/internal/order
range.go#L20: var messageFieldPool = sync.Pool{
range.go#L71: var mapEntryPool = sync.Pool{
internal/poll
splice_linux.go#L191: var splicePipePool = sync.Pool{New: newPoolPipe}
io
io.go#L655: var blackHolePool = sync.Pool{
log
log.go#L166: var bufferPool = sync.Pool{New: func() any { return new([]byte) }}
math/big
nat.go#L646: var natPool sync.Pool
net/http
h2_bundle.go#L1211: var http2dataChunkPools = [...]sync.Pool{
h2_bundle.go#L1789: var http2fhBytes = sync.Pool{
h2_bundle.go#L3314: var http2littleBuf = sync.Pool{
h2_bundle.go#L3757: var http2bufWriterPool = sync.Pool{
h2_bundle.go#L3862: var http2sorterPool = sync.Pool{New: func() interface{} { return new(http2sorter) }}
h2_bundle.go#L4122: var http2responseWriterStatePool = sync.Pool{
h2_bundle.go#L5210: var http2errChanPool = sync.Pool{
h2_bundle.go#L5214: var http2writeDataPool = sync.Pool{
h2_bundle.go#L9305: var http2bufPools [7]sync.Pool // of *[]byte
header.go#L160: var headerSorterPool = sync.Pool{
request.go#L1036: var textprotoReaderPool sync.Pool
server.go#L813: bufioReaderPool sync.Pool
server.go#L814: bufioWriter2kPool sync.Pool
server.go#L815: bufioWriter4kPool sync.Pool
server.go#L820: var copyBufPool = sync.Pool{New: func() any { return new([copyBufPoolSize]byte) }}
server.go#L832: func bufioWriterPool(size int) *sync.Pool {
os
dir_unix.go#L32: var dirBufPool = sync.Pool{
reflect
type.go#L2732: framePool *sync.Pool
type.go#L2745: func funcLayout(t *funcType, rcvr *abi.Type) (frametype *abi.Type, framePool *sync.Pool, abid abiDesc) {
type.go#L2784: framePool = &sync.Pool{New: func() any {
regexp
backtrack.go#L47: var bitStatePool sync.Pool
exec.go#L381: var onePassPool sync.Pool
regexp.go#L226: matchPool [len(matchSize)]sync.Pool
syscall
netlink_linux.go#L53: var pageBufPool = &sync.Pool{New: func() any {
vendor/golang.org/x/net/http2/hpack
huffman.go#L14: var bufPool = sync.Pool{
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)