MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / contains_sig

Method contains_sig

cranelift/reader/src/sourcemap.rs:52–54  ·  view source on GitHub ↗

Look up a signature entity.

(&self, sig: SigRef)

Source from the content-addressed store, hash-verified

50
51 /// Look up a signature entity.
52 pub fn contains_sig(&self, sig: SigRef) -> bool {
53 self.locations.contains_key(&sig.into())
54 }
55
56 /// Look up a function entity.
57 pub fn contains_fn(&self, fn_: FuncRef) -> bool {

Callers 2

check_sigMethod · 0.80
lookup_strMethod · 0.80

Calls 1

contains_keyMethod · 0.45

Tested by

no test coverage detected