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

Function gic_open

tests/test_gitignore_checked.c:62–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62static bool gic_open(cbm_ignore_checked_t **owner, const cbm_ignore_checked_limits_t *limits) {
63 cbm_ignore_checked_error_t error;
64 memset(&error, 0xa5, sizeof(error));
65 bool ok =
66 gic_status(cbm_ignore_checked_open(limits, owner, &error), CBM_IGNORE_CHECKED_OK, &error) &&
67 *owner;
68 if (!ok) {
69 cbm_ignore_checked_free(*owner);
70 *owner = NULL;
71 }
72 return ok;
73}
74
75static bool gic_parse(cbm_ignore_checked_t *owner, const void *bytes, size_t length, size_t count,
76 const cbm_ignore_program_t **program) {

Callers 9

gic_semantic_oneFunction · 0.85
gic_replayFunction · 0.85
gic_depth_caseFunction · 0.85
gic_attempt_caseFunction · 0.85
gic_max_depth_boundaryFunction · 0.85
gic_long_runFunction · 0.85
gic_parse_oomFunction · 0.85
gic_oom_quota_firstFunction · 0.85

Calls 3

gic_statusFunction · 0.85
cbm_ignore_checked_openFunction · 0.85
cbm_ignore_checked_freeFunction · 0.85

Tested by

no test coverage detected