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

Function all_vshards_in_range

nodedb-cluster/src/array_routing.rs:300–305  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

298
299 #[test]
300 fn all_vshards_in_range() {
301 for t in 0u64..1024 {
302 let s = vshard_for_array_tile("arr", t);
303 assert!(s < VSHARD_COUNT, "vshard {s} out of range for tile {t}");
304 }
305 }
306}

Callers

nothing calls this directly

Calls 1

vshard_for_array_tileFunction · 0.85

Tested by

no test coverage detected