Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ key_hash
Method
key_hash
crates/vm/src/dict_inner.rs:851–853 ·
view source on GitHub ↗
(&self, vm: &VirtualMachine)
Source
from the content-addressed store, hash-verified
849
850
#[inline(always)]
851
fn key_hash(&self, vm: &VirtualMachine) -> PyResult<HashValue> {
852
self.hash(vm)
853
}
854
855
#[inline(always)]
856
fn key_is(&self, other: &PyObject) -> bool {
Callers
11
insert
Method · 0.80
contains
Method · 0.80
get
Method · 0.80
hint_for_key
Method · 0.80
get_chain
Method · 0.80
remove_if
Method · 0.80
delete_or_insert
Method · 0.80
setdefault
Method · 0.80
setdefault_entry
Method · 0.80
pop
Method · 0.80
check_hash_equivalence
Function · 0.80
Calls
8
hash_usize
Function · 0.85
as_pystr
Method · 0.80
hash_str
Method · 0.80
hash_bytes
Method · 0.80
hash
Method · 0.45
as_str
Method · 0.45
as_bytes
Method · 0.45
as_slice
Method · 0.45
Tested by
no test coverage detected