type sync.Pool
67 uses
sync (current package)
pool.go#L49: type Pool struct {
pool.go#L95: func (p *Pool) Put(x any) {
pool.go#L127: func (p *Pool) Get() any {
pool.go#L156: func (p *Pool) getSlow(pid int) any {
pool.go#L198: func (p *Pool) pin() (*poolLocal, int) {
pool.go#L212: func (p *Pool) pinSlow() (*poolLocal, int) {
pool.go#L268: allPools []*Pool
pool.go#L272: oldPools []*Pool
crypto/tls
conn.go#L962: var outBufPool = sync.Pool{
encoding/json
encode.go#L265: 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/go-faster/jx
jx.go#L17: encPool = &sync.Pool{
jx.go#L22: writerPool = &sync.Pool{
jx.go#L27: decPool = &sync.Pool{
github.com/gotd/td/bin
pool.go#L7: pool sync.Pool
pool.go#L14: pool: sync.Pool{
github.com/gotd/td/internal/crypto
sha256.go#L19: var sha256Pool = &sync.Pool{
github.com/gotd/td/internal/proto
gzip.go#L18: writers sync.Pool
gzip.go#L19: readers sync.Pool
gzip.go#L24: writers: sync.Pool{
gzip.go#L29: readers: sync.Pool{},
gzip.go#L77: gzipBufPool = sync.Pool{New: func() interface{} {
github.com/klauspost/compress/flate
stateless.go#L56: var bitWriterPool = sync.Pool{
go.opentelemetry.io/otel/attribute
encoder.go#L52: pool sync.Pool // *bytes.Buffer
encoder.go#L91: pool: sync.Pool{
set.go#L62: sortables = sync.Pool{
go.uber.org/multierr
error.go#L177: var _bufferPool = sync.Pool{
go.uber.org/zap/internal/pool
pool.go#L35: pool sync.Pool
pool.go#L42: pool: sync.Pool{
internal/poll
splice_linux.go#L193: var splicePipePool = sync.Pool{New: newPoolPipe}
io
io.go#L647: var blackHolePool = sync.Pool{
log
log.go#L166: var bufferPool = sync.Pool{New: func() any { return new([]byte) }}
math/big
nat.go#L659: var natPool sync.Pool
net/http
h2_bundle.go#L1052: http2dataChunkPools = [...]sync.Pool{
h2_bundle.go#L1619: var http2fhBytes = sync.Pool{
h2_bundle.go#L3146: var http2littleBuf = sync.Pool{
h2_bundle.go#L3572: var http2bufWriterPool = sync.Pool{
h2_bundle.go#L3645: var http2sorterPool = sync.Pool{New: func() interface{} { return new(http2sorter) }}
h2_bundle.go#L3881: var http2responseWriterStatePool = sync.Pool{
h2_bundle.go#L4903: var http2errChanPool = sync.Pool{
h2_bundle.go#L4907: var http2writeDataPool = sync.Pool{
h2_bundle.go#L8768: var http2bufPool sync.Pool // of *[]byte
header.go#L166: var headerSorterPool = sync.Pool{
request.go#L1001: var textprotoReaderPool sync.Pool
server.go#L806: bufioReaderPool sync.Pool
server.go#L807: bufioWriter2kPool sync.Pool
server.go#L808: bufioWriter4kPool sync.Pool
server.go#L811: var copyBufPool = sync.Pool{
server.go#L818: func bufioWriterPool(size int) *sync.Pool {
nhooyr.io/websocket
compress.go#L136: var flateReaderPool sync.Pool
compress.go#L151: var flateWriterPool sync.Pool
compress.go#L172: var swPool = map[int]*sync.Pool{}
compress.go#L174: func slidingWindowPool(n int) *sync.Pool {
compress.go#L182: p = &sync.Pool{}
dial.go#L302: var bufioReaderPool sync.Pool
dial.go#L317: var bufioWriterPool sync.Pool
os
dir_unix.go#L29: var dirBufPool = sync.Pool{
reflect
type.go#L2786: framePool *sync.Pool
type.go#L2799: func funcLayout(t *funcType, rcvr *abi.Type) (frametype *abi.Type, framePool *sync.Pool, abid abiDesc) {
type.go#L2838: framePool = &sync.Pool{New: func() any {
regexp
backtrack.go#L47: var bitStatePool sync.Pool
exec.go#L381: var onePassPool sync.Pool
regexp.go#L232: 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.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. |