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

Function cv2_poll

src/mcp/test_impact_coverage.c:656–663  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

654}
655
656static bool cv2_poll(cv2_context_t *ctx) {
657 if (ctx->status != CBM_COVERAGE_PARSE_OK)
658 return false;
659 ctx->work = 0;
660 if (ctx->cancelled && ctx->cancelled(ctx->cancel_context))
661 return cv2_fail(ctx, CBM_COVERAGE_PARSE_CANCELLED);
662 return true;
663}
664
665static bool cv2_work(cv2_context_t *ctx, unsigned units) {
666 ctx->work += units;

Callers 6

cv2_workFunction · 0.85
cv2_copyFunction · 0.85
cv2_zeroFunction · 0.85
cv2_arrayFunction · 0.85
cv2_hashFunction · 0.85

Calls 2

cv2_failFunction · 0.85
cancelledMethod · 0.80

Tested by

no test coverage detected