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

Method Push

util/pool.go:223–229  ·  view source on GitHub ↗

func (list *BLL) Concat(list2 BLL) { list.Tail.Next = list2.Head list.Tail = list2.Tail list.Length += list2.Length list.ByteLength += list2.ByteLength }

(item LIBP)

Source from the content-addressed store, hash-verified

221// }
222
223func (list *BLL) Push(item LIBP) {
224 if list == nil {
225 return
226 }
227 list.List.Push(item)
228 list.ByteLength += item.Value.Len()
229}
230
231func (list *BLL) Shift() (item LIBP) {
232 if list == nil || list.Length == 0 {

Callers 2

AppendAuBytesMethod · 0.95
PushMethod · 0.95

Calls 2

PushMethod · 0.65
LenMethod · 0.65

Tested by

no test coverage detected