type sync.Pool
42 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/tls
conn.go#L966: var outBufPool = sync.Pool{
encoding/json
encode.go#L268: 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{
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#L1048: var http2dataChunkPools = [...]sync.Pool{
h2_bundle.go#L1626: var http2fhBytes = sync.Pool{
h2_bundle.go#L3151: var http2littleBuf = sync.Pool{
h2_bundle.go#L3570: var http2bufWriterPool = sync.Pool{
h2_bundle.go#L3643: var http2sorterPool = sync.Pool{New: func() interface{} { return new(http2sorter) }}
h2_bundle.go#L3899: var http2responseWriterStatePool = sync.Pool{
h2_bundle.go#L4952: var http2errChanPool = sync.Pool{
h2_bundle.go#L4956: var http2writeDataPool = sync.Pool{
h2_bundle.go#L8900: var http2bufPools [7]sync.Pool // of *[]byte
header.go#L160: var headerSorterPool = sync.Pool{
request.go#L1045: 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#L2957: framePool *sync.Pool
type.go#L2970: func funcLayout(t *funcType, rcvr *abi.Type) (frametype *abi.Type, framePool *sync.Pool, abid abiDesc) {
type.go#L3009: 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) 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. |