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

Function make_dict

nodedb-array/src/codec/coord_rle.rs:207–209  ·  view source on GitHub ↗
(indices: Vec<u32>, values: Vec<CoordValue>)

Source from the content-addressed store, hash-verified

205 use crate::types::coord::value::CoordValue;
206
207 fn make_dict(indices: Vec<u32>, values: Vec<CoordValue>) -> DimDict {
208 DimDict { values, indices }
209 }
210
211 fn roundtrip(dict: &DimDict) -> DimDict {
212 let mut buf = Vec::new();

Callers 7

empty_dict_roundtripFunction · 0.70
single_entry_roundtripFunction · 0.70
long_run_uses_rleFunction · 0.70
mixed_runs_roundtripFunction · 0.70
large_rle_roundtripFunction · 0.70

Calls

no outgoing calls

Tested by 7

empty_dict_roundtripFunction · 0.56
single_entry_roundtripFunction · 0.56
long_run_uses_rleFunction · 0.56
mixed_runs_roundtripFunction · 0.56
large_rle_roundtripFunction · 0.56