MCPcopy Index your code
hub / github.com/dgraph-io/dgraph-benchmarks / Next

Method Next

bitmap/codec.go:341–344  ·  view source on GitHub ↗

Next moves the decoder on to the next block.

()

Source from the content-addressed store, hash-verified

339
340// Next moves the decoder on to the next block.
341func (d *Decoder) Next() []uint64 {
342 d.blockIdx++
343 return d.UnpackBlock()
344}
345
346// BlockIdx returns the index of the block that is currently being decoded.
347func (d *Decoder) BlockIdx() int {

Callers 13

SeekMethod · 0.95
DecodeFunction · 0.95
DecodeToBufferFunction · 0.95
BenchmarkDgraphFunction · 0.80
BenchmarkNeoFunction · 0.80
zipfKeyListFunction · 0.80
runCacheBenchmarkFunction · 0.80
GetSameFunction · 0.80
GetZipfFunction · 0.80
SetSameFunction · 0.80
SetZipfFunction · 0.80
SetGetZipfFunction · 0.80

Calls 1

UnpackBlockMethod · 0.95

Tested by 4

BenchmarkDgraphFunction · 0.64
BenchmarkNeoFunction · 0.64
zipfKeyListFunction · 0.64
runCacheBenchmarkFunction · 0.64