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

Class CBMInternPool

src/foundation/str_intern.c:37–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35} InternEntry;
36
37struct CBMInternPool {
38 CBMArena arena;
39 InternEntry *buckets;
40 uint32_t capacity;
41 uint32_t count;
42 uint32_t mask;
43 size_t total_bytes; /* sum of string lengths stored */
44};
45
46CBMInternPool *cbm_intern_create(void) {
47 CBMInternPool *p = (CBMInternPool *)calloc(CBM_ALLOC_ONE, sizeof(*p));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected