MCPcopy Create free account
hub / github.com/SeaQL/FireDBG.for.Rust / insert

Method insert

debugger/src/debugger.rs:122–130  ·  view source on GitHub ↗
(&'a mut self, sb_fn_id: &SBFunctionId, get_type: F)

Source from the content-addressed store, hash-verified

120 }
121
122 fn insert<'a, F>(&'a mut self, sb_fn_id: &SBFunctionId, get_type: F)
123 where
124 F: FnOnce() -> SBType,
125 {
126 if !self.cache.contains_key(sb_fn_id) {
127 let ty = get_type();
128 self.cache.insert(*sb_fn_id, ty);
129 }
130 }
131}
132
133impl Debugger {

Callers 14

runFunction · 0.80
get_union_typeFunction · 0.80
get_sb_typeFunction · 0.80
cache_sb_typeFunction · 0.80
register_breakpointFunction · 0.80
set_envMethod · 0.80
struct_vMethod · 0.80
union_vMethod · 0.80
liftMethod · 0.80
get_layout_ofFunction · 0.80
p_alloc_envMethod · 0.80
parse_trace_configFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected