Lines Matching defs:Pool
51 type Pool struct { struct
52 noCopy noCopy
54 local unsafe.Pointer // local fixed-size per-P pool, actual type is [P]poolLocal
55 localSize uintptr // size of the local array
57 victim unsafe.Pointer // local from previous cycle
58 victimSize uintptr // size of victims array
63 New func() any
99 func (p *Pool) Put(x any) {
131 func (p *Pool) Get() any {
160 func (p *Pool) getSlow(pid int) any {
202 func (p *Pool) pin() (*poolLocal, int) {
223 func (p *Pool) pinSlow() (*poolLocal, int) {