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

Method entry

cranelift/codegen/src/scoped_hash_map.rs:106–111  ·  view source on GitHub ↗

Similar to `FxHashMap::entry`, gets the given key's corresponding entry in the map for in-place manipulation.

(&'a mut self, ctx: &C, key: K)

Source from the content-addressed store, hash-verified

104 /// Similar to `FxHashMap::entry`, gets the given key's corresponding entry in the map for
105 /// in-place manipulation.
106 pub fn entry<'a, C>(&'a mut self, ctx: &C, key: K) -> Entry<'a, K, V>
107 where
108 C: CtxEq<K, K> + CtxHash<K>,
109 {
110 self.entry_with_depth(ctx, key, self.depth())
111 }
112
113 /// Get the entry, setting the scope depth at which to insert.
114 pub fn entry_with_depth<'a, C>(&'a mut self, ctx: &C, key: K, depth: usize) -> Entry<'a, K, V>

Callers 2

entry_with_depthMethod · 0.45
basicFunction · 0.45

Calls 2

entry_with_depthMethod · 0.80
depthMethod · 0.80

Tested by 1

basicFunction · 0.36