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

Function fallback_on_zero_extent

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

Source from the content-addressed store, hash-verified

265
266 #[test]
267 fn fallback_on_zero_extent() {
268 let s = vshard_for_array_coord("prices", &[5], &[0]);
269 let expected = array_vshard_for_name("prices");
270 assert_eq!(s, expected, "zero extent must fall back to from_collection");
271 }
272
273 #[test]
274 fn fallback_on_mismatched_dims() {

Callers

nothing calls this directly

Calls 2

vshard_for_array_coordFunction · 0.85
array_vshard_for_nameFunction · 0.85

Tested by

no test coverage detected