Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeusData/codebase-memory-mcp
/ cbm_ac_num_patterns
Function
cbm_ac_num_patterns
internal/cbm/ac.c:418–420 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
416
}
417
418
int cbm_ac_num_patterns(const CBMAutomaton *ac) {
419
return ac ? ac->num_patterns : 0;
420
}
421
422
// cbm_ac_table_bytes returns the approximate memory used by the goto table.
423
int cbm_ac_table_bytes(const CBMAutomaton *ac) {
Callers
1
test_ac.c
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected