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

Method contains

cranelift/entity/src/set.rs:91–94  ·  view source on GitHub ↗

Get the element at `k` if it exists.

(&self, k: K)

Source from the content-addressed store, hash-verified

89
90 /// Get the element at `k` if it exists.
91 pub fn contains(&self, k: K) -> bool {
92 let index = k.index();
93 self.bitset.contains(index)
94 }
95
96 /// Is this set completely empty?
97 pub fn is_empty(&self) -> bool {

Callers 10

runMethod · 0.45
process_blockMethod · 0.45
rewrite_useMethod · 0.45
rewriteMethod · 0.45
infer_typevarMethod · 0.45
insert_load_storeFunction · 0.45
generate_blocksMethod · 0.45
validate_symbolFunction · 0.45

Calls 1

indexMethod · 0.45

Tested by 1

runMethod · 0.36