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

Method packed_bits

nodedb-codec/src/vector_quant/layout.rs:225–228  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

223 /// Slice of the packed-bit region.
224 #[inline]
225 pub fn packed_bits(&self) -> &[u8] {
226 let start = core::mem::size_of::<QuantHeader>();
227 &self.buf[start..start + self.packed_bits_len]
228 }
229
230 /// Number of outlier entries, computed via popcnt of `outlier_bitmask`.
231 #[inline]

Callers 14

packed_bits_ofFunction · 0.80
packed_bits_ofFunction · 0.80
packed_bits_ofFunction · 0.80
distance_preparedMethod · 0.80
distance_preparedMethod · 0.80
distance_preparedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected