MCPcopy Create free account
hub / github.com/Monibuca/engine / Recycle

Method Recycle

util/pool.go:193–200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191}
192
193func (list *BLLs) Recycle() {
194 list.Range(func(bll *BLL) bool {
195 bll.Recycle()
196 return true
197 })
198 list.Clear()
199 list.ByteLength = 0
200}
201
202func (list *BLLs) NewReader() *BLLsReader {
203 return &BLLsReader{list.Next, *list.Next.Value.NewReader()}

Callers

nothing calls this directly

Calls 3

RecycleMethod · 0.65
ClearMethod · 0.65
RangeMethod · 0.45

Tested by

no test coverage detected