MCPcopy Create free account
hub / github.com/cosdata/cosdata / new

Method new

src/models/inverted_index.rs:31–36  ·  view source on GitHub ↗
(quantization_bits: u8)

Source from the content-addressed store, hash-verified

29
30impl InvertedIndexNodeData {
31 pub fn new(quantization_bits: u8) -> Self {
32 Self {
33 map: TSHashTable::new(16),
34 max_key: ((1u32 << quantization_bits) - 1) as u8,
35 }
36 }
37}
38
39pub struct InvertedIndexNode {

Callers

nothing calls this directly

Calls 2

FileOffsetClass · 0.85
readMethod · 0.45

Tested by

no test coverage detected