Instantiate a Verstable map of (const char* → void*). The single * include below generates static inline functions named cbm_vt_init, * cbm_vt_cleanup, cbm_vt_get, cbm_vt_insert, etc., plus the cbm_vt * struct itself. */ Verstable allocates its bucket/entry blocks through the memory core; the * table's ctx is the class those blocks are charged to (Verstable hands the * ctx and the block size
| 34 | * 8.5M node keys and 15.8M edge keys on the kernel were memory no class |
| 35 | * could see. */ |
| 36 | static void *ht_alloc_in(size_t size, cbm_mem_class_t *cls) { |
| 37 | return cbm_alloc(*cls, size); |
| 38 | } |
| 39 | static void ht_free_in(void *ptr, size_t size, cbm_mem_class_t *cls) { |
| 40 | (void)size; |
| 41 | cbm_free(*cls, ptr); |
nothing calls this directly
no test coverage detected