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

Function decode_hilbert_prefix

nodedb-array/src/coord/decode.rs:13–15  ·  view source on GitHub ↗
(idx: u64, n_dims: usize, bits: u32)

Source from the content-addressed store, hash-verified

11use crate::error::ArrayResult;
12
13pub fn decode_hilbert_prefix(idx: u64, n_dims: usize, bits: u32) -> ArrayResult<Vec<u64>> {
14 hilbert::decode(idx, n_dims, bits)
15}
16
17pub fn decode_zorder_prefix(idx: u64, n_dims: usize, bits: u32) -> ArrayResult<Vec<u64>> {
18 zorder::decode(idx, n_dims, bits)

Callers

nothing calls this directly

Calls 1

decodeFunction · 0.70

Tested by

no test coverage detected