MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / block_count

Method block_count

nodedb/src/engine/timeseries/sparse_index/index.rs:148–150  ·  view source on GitHub ↗

Number of blocks.

(&self)

Source from the content-addressed store, hash-verified

146
147 /// Number of blocks.
148 pub fn block_count(&self) -> usize {
149 self.blocks.len()
150 }
151
152 /// Row range for a specific block.
153 pub fn block_row_range(&self, block_idx: usize) -> (usize, usize) {

Callers 3

apply_sparse_skipFunction · 0.45
aggregate_partitionFunction · 0.45

Calls 1

lenMethod · 0.45

Tested by 1