MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / dispatch_backtracks_segments

Function dispatch_backtracks_segments

codegraph-kernel/src/cfnptr.rs:1296–1301  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1294 }
1295
1296 #[test]
1297 fn dispatch_backtracks_segments() {
1298 let f = facts("int go(struct c *x){ x->cmd->proc(1); tbl[i](2); (*ops[k])(3); }");
1299 assert!(f.dispatch_fields.contains(&"proc".to_string()));
1300 assert!(f.array_dispatch_names.contains(&"tbl".to_string()));
1301 assert!(f.array_dispatch_names.contains(&"ops".to_string()));
1302 }
1303
1304 #[test]

Callers

nothing calls this directly

Calls 1

factsFunction · 0.85

Tested by

no test coverage detected