MCPcopy
hub / github.com/openacid/slim / getLabels

Method getLabels

trie/slimtrie_query.go:578–581  ·  view source on GitHub ↗
(qr *querySession)

Source from the content-addressed store, hash-verified

576}
577
578func (st *SlimTrie) getLabels(qr *querySession) []uint64 {
579 bm, _ := st.getInnerBM(qr)
580 return bmtree.Decode(qr.to-qr.from, bm)
581}
582
583// getInnerBM retrieves the inner node bitmap cached by a querySession, and the size of bitmap.
584func (st *SlimTrie) getInnerBM(qr *querySession) ([]uint64, int32) {

Callers 1

StringMethod · 0.95

Calls 2

getInnerBMMethod · 0.95
DecodeMethod · 0.65

Tested by

no test coverage detected