Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeusData/codebase-memory-mcp
/ queue_init
Function
queue_init
internal/cbm/ac.c:53–57 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
51
} Queue;
52
53
static void queue_init(Queue *q, int cap) {
54
q->data = (int *)malloc(cap * sizeof(int));
55
q->head = q->tail = 0;
56
q->cap = cap;
57
}
58
static void queue_push(Queue *q, int v) {
59
q->data[q->tail++] = v;
60
}
Callers
1
ac_build_failure
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected