Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ keyed_hash
Function
keyed_hash
crates/common/src/hash.rs:183–187 ·
view source on GitHub ↗
(key: u64, buf: &[u8])
Source
from the content-addressed store, hash-verified
181
}
182
183
pub fn keyed_hash(key: u64, buf: &[u8]) -> u64 {
184
let mut hasher = SipHasher24::new_with_keys(key, 0);
185
buf.hash(&mut hasher);
186
hasher.finish()
187
}
Callers
1
source_hash
Function · 0.85
Calls
2
hash
Method · 0.45
finish
Method · 0.45
Tested by
no test coverage detected