type sync.Pool
67 uses
sync (current package)
pool.go#L44: type Pool struct {
pool.go#L90: func (p *Pool) Put(x interface{}) {
pool.go#L124: func (p *Pool) Get() interface{} {
pool.go#L153: func (p *Pool) getSlow(pid int) interface{} {
pool.go#L195: func (p *Pool) pin() (*poolLocal, int) {
pool.go#L209: func (p *Pool) pinSlow() (*poolLocal, int) {
pool.go#L265: allPools []*Pool
pool.go#L269: oldPools []*Pool
archive/zip
register.go#L28: var flateWriterPool sync.Pool
register.go#L66: var flateReaderPool sync.Pool
crypto/tls
conn.go#L929: var outBufPool = sync.Pool{
encoding/gob
encode.go#L42: var encBufferPool = sync.Pool{
encoding/json
encode.go#L302: var encodeStatePool sync.Pool
scanner.go#L85: var scannerPool = sync.Pool{
fmt
print.go#L131: var ppFree = sync.Pool{
scan.go#L378: var ssFree = sync.Pool{
github.com/go-git/go-git/v5
worktree.go#L516: var copyBufferPool = sync.Pool{
github.com/go-git/go-git/v5/plumbing/format/packfile
common.go#L65: var bufPool = sync.Pool{
common.go#L73: var zlibReaderPool = sync.Pool{
scanner.go#L340: var byteSlicePool = sync.Pool{
github.com/go-git/go-git/v5/plumbing/object
common.go#L8: var bufPool = sync.Pool{
github.com/go-redis/redis/v8/internal/pool
pool.go#L19: var timers = sync.Pool{
github.com/prometheus/client_golang/prometheus/promhttp
http.go#L54: var gzipPool = sync.Pool{
github.com/prometheus/common/expfmt
text_create.go#L45: bufPool = sync.Pool{
text_create.go#L50: numBufPool = sync.Pool{
go.opentelemetry.io/otel/label
encoder.go#L54: pool sync.Pool // *bytes.Buffer
encoder.go#L94: pool: sync.Pool{
golang.org/x/net/http2
databuffer.go#L31: dataChunkPools = [...]sync.Pool{
frame.go#L221: var fhBytes = sync.Pool{
gotrack.go#L70: var littleBuf = sync.Pool{
http2.go#L261: var bufWriterPool = sync.Pool{
http2.go#L332: var sorterPool = sync.Pool{New: func() interface{} { return new(sorter) }}
server.go#L69: var responseWriterStatePool = sync.Pool{
server.go#L988: var errChanPool = sync.Pool{
server.go#L992: var writeDataPool = sync.Pool{
golang.org/x/net/http2/hpack
huffman.go#L14: var bufPool = sync.Pool{
google.golang.org/grpc
rpc_util.go#L57: pool sync.Pool
rpc_util.go#L79: pool: sync.Pool{
rpc_util.go#L116: pool sync.Pool
google.golang.org/grpc/encoding/proto
proto.go#L103: var protoBufferPool = &sync.Pool{
google.golang.org/grpc/internal/transport
transport.go#L47: pool sync.Pool
transport.go#L52: pool: sync.Pool{
google.golang.org/protobuf/internal/filedesc
desc_init.go#L449: var nameBuilderPool = sync.Pool{
io
io.go#L587: var blackHolePool = sync.Pool{
math/big
nat.go#L694: var natPool sync.Pool
net/http
h2_bundle.go#L974: http2dataChunkPools = [...]sync.Pool{
h2_bundle.go#L1461: var http2fhBytes = sync.Pool{
h2_bundle.go#L2926: var http2littleBuf = sync.Pool{
h2_bundle.go#L3333: var http2bufWriterPool = sync.Pool{
h2_bundle.go#L3406: var http2sorterPool = sync.Pool{New: func() interface{} { return new(http2sorter) }}
h2_bundle.go#L3635: var http2responseWriterStatePool = sync.Pool{
h2_bundle.go#L4559: var http2errChanPool = sync.Pool{
h2_bundle.go#L4563: var http2writeDataPool = sync.Pool{
header.go#L156: var headerSorterPool = sync.Pool{
request.go#L989: var textprotoReaderPool sync.Pool
server.go#L815: bufioReaderPool sync.Pool
server.go#L816: bufioWriter2kPool sync.Pool
server.go#L817: bufioWriter4kPool sync.Pool
server.go#L820: var copyBufPool = sync.Pool{
server.go#L827: func bufioWriterPool(size int) *sync.Pool {
reflect
type.go#L2990: framePool *sync.Pool
type.go#L3001: func funcLayout(t *funcType, rcvr *rtype) (frametype *rtype, argSize, retOffset uintptr, stk *bitVector, framePool *sync.Pool) {
type.go#L3062: framePool = &sync.Pool{New: func() interface{} {
regexp
backtrack.go#L47: var bitStatePool sync.Pool
exec.go#L381: var onePassPool sync.Pool
regexp.go#L228: matchPool [len(matchSize)]sync.Pool
vendor/golang.org/x/net/http2/hpack
huffman.go#L14: var bufPool = sync.Pool{
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |