| 61 | } |
| 62 | |
| 63 | void cbm_intern_free(CBMInternPool *pool) { |
| 64 | if (!pool) { |
| 65 | return; |
| 66 | } |
| 67 | cbm_arena_destroy(&pool->arena); |
| 68 | free(pool->buckets); |
| 69 | free(pool); |
| 70 | } |
| 71 | |
| 72 | static void intern_resize(CBMInternPool *p) { |
| 73 | uint32_t new_cap = p->capacity * PAIR_LEN; |
no test coverage detected