Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ ctx_eq
Method
ctx_eq
cranelift/codegen/src/ctxhash.rs:36–38 ·
view source on GitHub ↗
(&self, a: &V, b: &V)
Source
from the content-addressed store, hash-verified
34
35
impl<V: Eq + Hash> CtxEq<V, V> for NullCtx {
36
fn ctx_eq(&self, a: &V, b: &V) -> bool {
37
a.eq(b)
38
}
39
}
40
impl<V: Eq + Hash> CtxHash<V> for NullCtx {
41
fn ctx_hash<H: Hasher>(&self, state: &mut H, value: &V) {
Callers
3
insert
Method · 0.45
get
Method · 0.45
entry
Method · 0.45
Calls
1
eq
Method · 0.45
Tested by
no test coverage detected