8 matches across 1 files for TODO path:compiler/rustc_const_eval/src/interpret/memory.rs
snippet_mode: grep · sorted by relevance
compiler/rustc_const_eval/src/interpret/memory.rs RUST 8 matches · showing 5 view file →
1100 ) -> InterpResult<'tcx> {
1101 let mut done = FxHashSet::default();
1102 let mut todo = start;
1103 while let Some(id) = todo.pop() {
1104 if !done.insert(id) {
· · ·
1103 while let Some(id) = todo.pop() {
1104 if !done.insert(id) {
1105 // We already saw this allocation before, don't process it again.
· · ·
1115 for prov in alloc.provenance().provenances() {
1116 if let Some(id) = prov.get_alloc_id() {
1117 todo.push(id);
1118 }
1119 }
· · ·
1171 let mut reachable = FxHashSet::default();
1172 let global_kind = M::GLOBAL_KIND.map(MemoryKind::Machine);
1173 let mut todo: Vec<_> =
1174 self.memory.alloc_map.filter_map_collect(move |&id, &(kind, _)| {
1175 if Some(kind) == global_kind { Some(id) } else { None }
· · ·
1176 });
1177 todo.extend(static_roots(self));
1178 while let Some(id) = todo.pop() {
1179 if reachable.insert(id) {
+ 3 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.