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

Method len

nodedb-fts/src/codec/doc_id_map.rs:54–56  ·  view source on GitHub ↗

Number of mapped IDs.

(&self)

Source from the content-addressed store, hash-verified

52
53 /// Number of mapped IDs.
54 pub fn len(&self) -> usize {
55 self.reverse.len()
56 }
57
58 /// Whether the map is empty.
59 pub fn is_empty(&self) -> bool {

Callers 13

get_or_assignMethod · 0.45
to_bytesMethod · 0.45
from_bytesMethod · 0.45
encodeFunction · 0.45
decodeFunction · 0.45
packFunction · 0.45
unpackFunction · 0.45
unpack_sse2Function · 0.45
sse2_matches_scalarFunction · 0.45
sse2_non_multiple_of_4Function · 0.45
unpack_simdFunction · 0.45
unpack_scalarFunction · 0.45

Calls

no outgoing calls

Tested by 2

sse2_matches_scalarFunction · 0.36
sse2_non_multiple_of_4Function · 0.36