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

Method Recycle

util/pool.go:268–271  ·  view source on GitHub ↗

全部回收掉

()

Source from the content-addressed store, hash-verified

266
267// 全部回收掉
268func (list *BLL) Recycle() {
269 list.List.Recycle()
270 list.ByteLength = 0
271}
272
273func (list *BLL) GetByte(index int) (b byte) {
274 list.Range(func(item Buffer) bool {

Callers

nothing calls this directly

Calls 1

RecycleMethod · 0.65

Tested by

no test coverage detected