Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerroEngine/Perro
/ hash
Function
hash
perro_source/api_modules/perro_modules/src/random.rs:16–18 ·
view source on GitHub ↗
(value: T)
Source
from the content-addressed store, hash-verified
14
15
#[inline]
16
pub fn hash<T: HashToU32>(value: T) -> u32 {
17
value.hash_to_u32()
18
}
19
20
#[inline]
21
pub const fn hash_u32(mut value: u32) -> u32 {
Callers
1
random_api_typecheck_and_forward
Function · 0.85
Calls
1
hash_to_u32
Method · 0.80
Tested by
1
random_api_typecheck_and_forward
Function · 0.68