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

Function field_cache

internal/cbm/cbm.c:910–915  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

908static CBM_TLS field_id_slot_t *tl_field_ids;
909
910static field_id_slot_t *field_cache(void) {
911 if (!tl_field_ids) {
912 tl_field_ids = cbm_calloc(CBM_MEM_CLASS_OTHER, FIELD_CACHE_SLOTS * sizeof(field_id_slot_t));
913 }
914 return tl_field_ids;
915}
916
917static void cbm_ts_field_cache_release_thread(void) {
918 cbm_free(CBM_MEM_CLASS_OTHER, tl_field_ids);

Callers 1

Calls 1

cbm_callocFunction · 0.85

Tested by

no test coverage detected