MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / add_device_header

Function add_device_header

tests/test_pipeline.c:14826–14833  ·  view source on GitHub ↗

`#include ` from arch/x/bugs.c: two headers end with the * include path (include/linux/device.h, tools/virtio/linux/device.h) and each * declares `struct device`. The exact-file lookup returned the first matching * node in by-name bucket order — the workers' merge order, different run to * run: 5,821 kernel IMPORTS edges moved between two indexes of one tree and * the CALLS re

Source from the content-addressed store, hash-verified

14824 * the CALLS resolved through their import maps moved with them. The target is
14825 * the least nested File node, whichever order the nodes were registered in. */
14826static void add_device_header(cbm_gbuf_t *gb, const char *rel, const char *qn_stem) {
14827 char fqn[256];
14828 snprintf(fqn, sizeof(fqn), "%s.h.__file__", qn_stem);
14829 cbm_gbuf_upsert_node(gb, "File", "device.h", fqn, rel, 0, 0, "{}");
14830 char cqn[256];
14831 snprintf(cqn, sizeof(cqn), "%s.device", qn_stem);
14832 cbm_gbuf_upsert_node(gb, "Class", "device", cqn, rel, 10, 40, "{}");
14833}
14834
14835static const cbm_gbuf_node_t *resolve_device_h_from(cbm_gbuf_t *gb) {
14836 atomic_int cancelled = 0;

Callers 1

test_pipeline.cFile · 0.85

Calls 1

cbm_gbuf_upsert_nodeFunction · 0.85

Tested by

no test coverage detected