sync.Pool.Get (method)
34 uses
sync (current package)
pool.go#L124: func (p *Pool) Get() interface{} {
crypto/tls
conn.go#L938: outBufPtr := outBufPool.Get().(*[]byte)
encoding/gob
encode.go#L417: data := encBufferPool.Get().(*encBuffer)
encoding/json
encode.go#L305: if v := encodeStatePool.Get(); v != nil {
scanner.go#L92: scan := scannerPool.Get().(*scanner)
fmt
print.go#L137: p := ppFree.Get().(*pp)
scan.go#L384: s = ssFree.Get().(*ss)
go.etcd.io/bbolt
db.go#L923: buf = db.pagePool.Get().([]byte)
io
io.go#L595: bufp := blackHolePool.Get().(*[]byte)
math/big
nat.go#L680: if v := natPool.Get(); v != nil {
net/http
h2_bundle.go#L990: return http2dataChunkPools[i].Get().([]byte)
h2_bundle.go#L1471: bufp := http2fhBytes.Get().(*[]byte)
h2_bundle.go#L2908: bp := http2littleBuf.Get().(*[]byte)
h2_bundle.go#L3348: bw := http2bufWriterPool.Get().(*bufio.Writer)
h2_bundle.go#L4570: ch := http2errChanPool.Get().(chan error)
h2_bundle.go#L4571: writeArg := http2writeDataPool.Get().(*http2writeData)
h2_bundle.go#L5687: rws := http2responseWriterStatePool.Get().(*http2responseWriterState)
h2_bundle.go#L5747: errc = http2errChanPool.Get().(chan error)
h2_bundle.go#L6124: sorter := http2sorterPool.Get().(*http2sorter)
h2_bundle.go#L6368: done: http2errChanPool.Get().(chan error),
h2_bundle.go#L9585: sorter := http2sorterPool.Get().(*http2sorter)
header.go#L164: hs = headerSorterPool.Get().(*headerSorter)
request.go#L992: if v := textprotoReaderPool.Get(); v != nil {
server.go#L568: bufp := copyBufPool.Get().(*[]byte)
server.go#L838: if v := bufioReaderPool.Get(); v != nil {
server.go#L856: if v := pool.Get(); v != nil {
reflect
value.go#L439: args = framePool.Get().(unsafe.Pointer)
value.go#L716: scratch := framePool.Get().(unsafe.Pointer)
regexp
backtrack.go#L50: b, ok := bitStatePool.Get().(*bitState)
exec.go#L384: m, ok := onePassPool.Get().(*onePassMachine)
regexp.go#L235: m, ok := matchPool[re.mpool].Get().(*machine)
vendor/golang.org/x/net/http2/hpack
hpack.go#L493: buf := bufPool.Get().(*bytes.Buffer)
huffman.go#L22: buf := bufPool.Get().(*bytes.Buffer)
huffman.go#L33: buf := bufPool.Get().(*bytes.Buffer)
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)