MCPcopy Create free account
hub / github.com/dgraph-io/dgraph-benchmarks / BlockIdx

Method BlockIdx

bitmap/codec.go:347–349  ·  view source on GitHub ↗

BlockIdx returns the index of the block that is currently being decoded.

()

Source from the content-addressed store, hash-verified

345
346// BlockIdx returns the index of the block that is currently being decoded.
347func (d *Decoder) BlockIdx() int {
348 return d.blockIdx
349}
350
351// Encode takes in a list of uids and a block size. It would pack these uids into blocks of the
352// given size, with the last block having fewer uids. Within each block, it stores the first uid as

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected