MCPcopy
hub / github.com/dgraph-io/dgraph / Valid

Method Valid

codec/codec.go:371–373  ·  view source on GitHub ↗

Valid returns true if the decoder has not reached the end of the packed data.

()

Source from the content-addressed store, hash-verified

369
370// Valid returns true if the decoder has not reached the end of the packed data.
371func (d *Decoder) Valid() bool {
372 return d.blockIdx < len(d.Pack.Blocks)
373}
374
375// Next moves the decoder on to the next block.
376func (d *Decoder) Next() []uint64 {

Callers 15

ApplyFilterPackedFunction · 0.95
IntersectWithLinPackedFunction · 0.95
DifferencePackedFunction · 0.95
getPredicatesMethod · 0.80
uidToValFunction · 0.80
showAllPostingsAtFunction · 0.80
getMinMaxFunction · 0.80
historyFunction · 0.80
rollupKeyFunction · 0.80
lookupFunction · 0.80
NewFunction · 0.80
VerifySnapshotFunction · 0.80

Calls

no outgoing calls

Tested by 4

PopulateListFunction · 0.64
tokensForTestFunction · 0.64
TestRebuildTokIndexFunction · 0.64