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

Function resolve_device_h_from

tests/test_pipeline.c:14835–14849  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14833}
14834
14835static const cbm_gbuf_node_t *resolve_device_h_from(cbm_gbuf_t *gb) {
14836 atomic_int cancelled = 0;
14837 cbm_pipeline_ctx_t ctx = {
14838 .project_name = "p",
14839 .repo_path = "/tmp/p",
14840 .gbuf = gb,
14841 .registry = NULL,
14842 .cancelled = &cancelled,
14843 };
14844 CBMImport imp = {0};
14845 imp.module_path = "linux/device.h";
14846 imp.local_name = "h";
14847 return cbm_pipeline_resolve_import_node(&ctx, "arch/x/bugs.c", "p.arch.x.bugs.c.__file__", &imp,
14848 NULL);
14849}
14850
14851TEST(pipeline_header_include_target_is_independent_of_registration_order) {
14852 cbm_gbuf_t *a = cbm_gbuf_new("p", "/tmp/cbm_include_order_a");

Callers 1

test_pipeline.cFile · 0.85

Calls 1

Tested by

no test coverage detected