Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ val_range
Function
val_range
nodedb-query/src/msgpack_scan/compare.rs:177–179 ·
view source on GitHub ↗
(buf: &[u8])
Source
from the content-addressed store, hash-verified
175
}
176
177
fn val_range(buf: &[u8]) -> (usize, usize) {
178
(0, buf.len())
179
}
180
181
#[test]
182
fn hash_same_bytes_same_hash() {
Callers
2
hash_same_bytes_same_hash
Function · 0.85
hash_different_values_likely_differ
Function · 0.85
Calls
1
len
Method · 0.45
Tested by
2
hash_same_bytes_same_hash
Function · 0.68
hash_different_values_likely_differ
Function · 0.68