MCPcopy Create free account
hub / github.com/acking-you/static_flow / hash_stack_key

Function hash_stack_key

crates/backend/src/memory_profiler.rs:946–950  ·  view source on GitHub ↗
(stack: &StackKey)

Source from the content-addressed store, hash-verified

944}
945
946fn hash_stack_key(stack: &StackKey) -> u64 {
947 let mut hasher = DefaultHasher::new();
948 stack.hash(&mut hasher);
949 hasher.finish()
950}
951
952fn ratio(value: u64, total: u64) -> f64 {
953 if total == 0 {

Callers

nothing calls this directly

Calls 1

finishMethod · 0.45

Tested by

no test coverage detected