Branch Coverage

hashmap_generic.h
Criterion Covered Total %
branch 2183 4120 52.9


line true false branch
107 0 860275 if (len >= 16) {
118 0 0 } while (p <= end - 16);
127 836534 860275 while (p + 4 <= end) {
134 1334815 860275 while (p < end) {
219 288 18 for (i = 0; i < capacity; i++) {
256 16 for (i = 0; i < capacity; i++) {
176 11 for (i = 0; i < capacity; i++) {
176 11 for (i = 0; i < capacity; i++) {
2719872 85 for (i = 0; i < capacity; i++) {
2719824 82 for (i = 0; i < capacity; i++) {
2719952 90 for (i = 0; i < capacity; i++) {
2719968 91 for (i = 0; i < capacity; i++) {
2719824 82 for (i = 0; i < capacity; i++) {
10591536 360 for (i = 0; i < capacity; i++) {
4292832 121 for (i = 0; i < capacity; i++) {
2719856 84 for (i = 0; i < capacity; i++) {
1605712 80 for (i = 0; i < capacity; i++) {
2003104 118 for (i = 0; i < capacity; i++) {
243 27 0 if (node->key != NULL && node->key != HM_STR_TOMBSTONE) {
27 0 if (node->key != NULL && node->key != HM_STR_TOMBSTONE) {
80024 0 if (node->key != NULL && node->key != HM_STR_TOMBSTONE) {
80024 0 if (node->key != NULL && node->key != HM_STR_TOMBSTONE) {
80025 0 if (node->key != NULL && node->key != HM_STR_TOMBSTONE) {
80025 0 if (node->key != NULL && node->key != HM_STR_TOMBSTONE) {
80032 0 if (node->key != NULL && node->key != HM_STR_TOMBSTONE) {
80032 0 if (node->key != NULL && node->key != HM_STR_TOMBSTONE) {
80024 0 if (node->key != NULL && node->key != HM_STR_TOMBSTONE) {
80024 0 if (node->key != NULL && node->key != HM_STR_TOMBSTONE) {
249 80012 0 if (node->value != NULL) {
80025 0 if (node->value != NULL) {
80013 0 if (node->value != NULL) {
60012 0 if (node->value != NULL) {
254 27 0 if (node->value != NULL && map->free_value_fn) {
27 0 if (node->value != NULL && map->free_value_fn) {
24 0 if (node->value != NULL && map->free_value_fn) {
24 0 if (node->value != NULL && map->free_value_fn) {
19 0 if (node->value != NULL && map->free_value_fn) {
19 0 if (node->value != NULL && map->free_value_fn) {
19 0 if (node->value != NULL && map->free_value_fn) {
19 0 if (node->value != NULL && map->free_value_fn) {
267 1 0 if (p != HM_LRU_NONE) map->lru_next[p] = n;
1 0 if (p != HM_LRU_NONE) map->lru_next[p] = n;
1 0 if (p != HM_LRU_NONE) map->lru_next[p] = n;
1 0 if (p != HM_LRU_NONE) map->lru_next[p] = n;
1 0 if (p != HM_LRU_NONE) map->lru_next[p] = n;
1 0 if (p != HM_LRU_NONE) map->lru_next[p] = n;
1 0 if (p != HM_LRU_NONE) map->lru_next[p] = n;
3 0 if (p != HM_LRU_NONE) map->lru_next[p] = n;
1 0 if (p != HM_LRU_NONE) map->lru_next[p] = n;
2610 2 if (p != HM_LRU_NONE) map->lru_next[p] = n;
1 0 if (p != HM_LRU_NONE) map->lru_next[p] = n;
3 0 if (p != HM_LRU_NONE) map->lru_next[p] = n;
1 0 if (p != HM_LRU_NONE) map->lru_next[p] = n;
1 0 if (p != HM_LRU_NONE) map->lru_next[p] = n;
269 0 1 if (n != HM_LRU_NONE) map->lru_prev[n] = p;
0 1 if (n != HM_LRU_NONE) map->lru_prev[n] = p;
0 1 if (n != HM_LRU_NONE) map->lru_prev[n] = p;
0 1 if (n != HM_LRU_NONE) map->lru_prev[n] = p;
0 1 if (n != HM_LRU_NONE) map->lru_prev[n] = p;
0 1 if (n != HM_LRU_NONE) map->lru_prev[n] = p;
0 1 if (n != HM_LRU_NONE) map->lru_prev[n] = p;
1 2 if (n != HM_LRU_NONE) map->lru_prev[n] = p;
0 1 if (n != HM_LRU_NONE) map->lru_prev[n] = p;
9 2603 if (n != HM_LRU_NONE) map->lru_prev[n] = p;
0 1 if (n != HM_LRU_NONE) map->lru_prev[n] = p;
1 2 if (n != HM_LRU_NONE) map->lru_prev[n] = p;
0 1 if (n != HM_LRU_NONE) map->lru_prev[n] = p;
0 1 if (n != HM_LRU_NONE) map->lru_prev[n] = p;
278 3 1 if (map->lru_head != HM_LRU_NONE)
3 1 if (map->lru_head != HM_LRU_NONE)
3 1 if (map->lru_head != HM_LRU_NONE)
3 1 if (map->lru_head != HM_LRU_NONE)
2 1 if (map->lru_head != HM_LRU_NONE)
2 1 if (map->lru_head != HM_LRU_NONE)
3 1 if (map->lru_head != HM_LRU_NONE)
5 1 if (map->lru_head != HM_LRU_NONE)
2 1 if (map->lru_head != HM_LRU_NONE)
2766 19 if (map->lru_head != HM_LRU_NONE)
3 1 if (map->lru_head != HM_LRU_NONE)
5 1 if (map->lru_head != HM_LRU_NONE)
2 1 if (map->lru_head != HM_LRU_NONE)
3 1 if (map->lru_head != HM_LRU_NONE)
286 1 0 if (map->lru_head == idx) return;
1 0 if (map->lru_head == idx) return;
1 0 if (map->lru_head == idx) return;
1 0 if (map->lru_head == idx) return;
0 0 if (map->lru_head == idx) return;
0 0 if (map->lru_head == idx) return;
1 0 if (map->lru_head == idx) return;
0 2 if (map->lru_head == idx) return;
1 0 if (map->lru_head == idx) return;
6 111 if (map->lru_head == idx) return;
0 0 if (map->lru_head == idx) return;
0 2 if (map->lru_head == idx) return;
0 0 if (map->lru_head == idx) return;
0 0 if (map->lru_head == idx) return;
304 2 3 if (map->expires_at) map->expires_at[index] = 0;
2 3 if (map->expires_at) map->expires_at[index] = 0;
1 3 if (map->expires_at) map->expires_at[index] = 0;
1 3 if (map->expires_at) map->expires_at[index] = 0;
0 80003 if (map->expires_at) map->expires_at[index] = 0;
0 80002 if (map->expires_at) map->expires_at[index] = 0;
2 80003 if (map->expires_at) map->expires_at[index] = 0;
1 80004 if (map->expires_at) map->expires_at[index] = 0;
0 80002 if (map->expires_at) map->expires_at[index] = 0;
13 282510 if (map->expires_at) map->expires_at[index] = 0;
1 150003 if (map->expires_at) map->expires_at[index] = 0;
1 80003 if (map->expires_at) map->expires_at[index] = 0;
0 60002 if (map->expires_at) map->expires_at[index] = 0;
1 80004 if (map->expires_at) map->expires_at[index] = 0;
312 0 1 if (victim == HM_LRU_NONE) return;
0 1 if (victim == HM_LRU_NONE) return;
0 1 if (victim == HM_LRU_NONE) return;
0 1 if (victim == HM_LRU_NONE) return;
0 1 if (victim == HM_LRU_NONE) return;
0 1 if (victim == HM_LRU_NONE) return;
0 1 if (victim == HM_LRU_NONE) return;
0 1 if (victim == HM_LRU_NONE) return;
0 1 if (victim == HM_LRU_NONE) return;
0 2494 if (victim == HM_LRU_NONE) return;
0 1 if (victim == HM_LRU_NONE) return;
0 1 if (victim == HM_LRU_NONE) return;
0 1 if (victim == HM_LRU_NONE) return;
0 1 if (victim == HM_LRU_NONE) return;
322 0 2 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 2 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 1 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 1 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 0 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 0 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 2 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 1 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 0 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
2 10 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 1 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 1 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 0 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 1 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
324 2 0 if (map->tombstones > map->capacity / 4 ||
2 0 if (map->tombstones > map->capacity / 4 ||
1 0 if (map->tombstones > map->capacity / 4 ||
1 0 if (map->tombstones > map->capacity / 4 ||
0 0 if (map->tombstones > map->capacity / 4 ||
0 0 if (map->tombstones > map->capacity / 4 ||
2 0 if (map->tombstones > map->capacity / 4 ||
1 0 if (map->tombstones > map->capacity / 4 ||
0 0 if (map->tombstones > map->capacity / 4 ||
12 0 if (map->tombstones > map->capacity / 4 ||
1 0 if (map->tombstones > map->capacity / 4 ||
1 0 if (map->tombstones > map->capacity / 4 ||
0 0 if (map->tombstones > map->capacity / 4 ||
1 0 if (map->tombstones > map->capacity / 4 ||
325 1 1 (map->size > 0 && map->tombstones > map->size)) {
0 1 (map->size > 0 && map->tombstones > map->size)) {
1 1 (map->size > 0 && map->tombstones > map->size)) {
0 1 (map->size > 0 && map->tombstones > map->size)) {
0 1 (map->size > 0 && map->tombstones > map->size)) {
0 0 (map->size > 0 && map->tombstones > map->size)) {
0 1 (map->size > 0 && map->tombstones > map->size)) {
0 0 (map->size > 0 && map->tombstones > map->size)) {
0 0 (map->size > 0 && map->tombstones > map->size)) {
0 0 (map->size > 0 && map->tombstones > map->size)) {
0 0 (map->size > 0 && map->tombstones > map->size)) {
0 0 (map->size > 0 && map->tombstones > map->size)) {
1 1 (map->size > 0 && map->tombstones > map->size)) {
0 1 (map->size > 0 && map->tombstones > map->size)) {
0 1 (map->size > 0 && map->tombstones > map->size)) {
0 0 (map->size > 0 && map->tombstones > map->size)) {
0 0 (map->size > 0 && map->tombstones > map->size)) {
0 0 (map->size > 0 && map->tombstones > map->size)) {
4 8 (map->size > 0 && map->tombstones > map->size)) {
0 4 (map->size > 0 && map->tombstones > map->size)) {
0 1 (map->size > 0 && map->tombstones > map->size)) {
0 0 (map->size > 0 && map->tombstones > map->size)) {
0 1 (map->size > 0 && map->tombstones > map->size)) {
0 0 (map->size > 0 && map->tombstones > map->size)) {
0 0 (map->size > 0 && map->tombstones > map->size)) {
0 0 (map->size > 0 && map->tombstones > map->size)) {
0 1 (map->size > 0 && map->tombstones > map->size)) {
0 0 (map->size > 0 && map->tombstones > map->size)) {
334 0 17 if (!map) return NULL;
0 15 if (!map) return NULL;
0 10 if (!map) return NULL;
0 10 if (!map) return NULL;
0 12 if (!map) return NULL;
0 8 if (!map) return NULL;
0 16 if (!map) return NULL;
0 18 if (!map) return NULL;
0 9 if (!map) return NULL;
0 61 if (!map) return NULL;
0 17 if (!map) return NULL;
0 11 if (!map) return NULL;
0 8 if (!map) return NULL;
0 15 if (!map) return NULL;
353 0 17 if (!map->nodes) { free(map); return NULL; }
0 15 if (!map->nodes) { free(map); return NULL; }
0 10 if (!map->nodes) { free(map); return NULL; }
0 10 if (!map->nodes) { free(map); return NULL; }
0 12 if (!map->nodes) { free(map); return NULL; }
0 8 if (!map->nodes) { free(map); return NULL; }
0 16 if (!map->nodes) { free(map); return NULL; }
0 18 if (!map->nodes) { free(map); return NULL; }
0 9 if (!map->nodes) { free(map); return NULL; }
0 61 if (!map->nodes) { free(map); return NULL; }
0 17 if (!map->nodes) { free(map); return NULL; }
0 11 if (!map->nodes) { free(map); return NULL; }
0 8 if (!map->nodes) { free(map); return NULL; }
0 15 if (!map->nodes) { free(map); return NULL; }
356 1 16 if (max_size > 0) {
1 14 if (max_size > 0) {
1 9 if (max_size > 0) {
1 9 if (max_size > 0) {
1 11 if (max_size > 0) {
1 7 if (max_size > 0) {
1 15 if (max_size > 0) {
1 17 if (max_size > 0) {
1 8 if (max_size > 0) {
19 42 if (max_size > 0) {
1 16 if (max_size > 0) {
1 10 if (max_size > 0) {
1 7 if (max_size > 0) {
1 14 if (max_size > 0) {
359 1 0 if (!map->lru_prev || !map->lru_next) {
0 1 if (!map->lru_prev || !map->lru_next) {
1 0 if (!map->lru_prev || !map->lru_next) {
0 1 if (!map->lru_prev || !map->lru_next) {
1 0 if (!map->lru_prev || !map->lru_next) {
0 1 if (!map->lru_prev || !map->lru_next) {
1 0 if (!map->lru_prev || !map->lru_next) {
0 1 if (!map->lru_prev || !map->lru_next) {
1 0 if (!map->lru_prev || !map->lru_next) {
0 1 if (!map->lru_prev || !map->lru_next) {
1 0 if (!map->lru_prev || !map->lru_next) {
0 1 if (!map->lru_prev || !map->lru_next) {
1 0 if (!map->lru_prev || !map->lru_next) {
0 1 if (!map->lru_prev || !map->lru_next) {
1 0 if (!map->lru_prev || !map->lru_next) {
0 1 if (!map->lru_prev || !map->lru_next) {
1 0 if (!map->lru_prev || !map->lru_next) {
0 1 if (!map->lru_prev || !map->lru_next) {
19 0 if (!map->lru_prev || !map->lru_next) {
0 19 if (!map->lru_prev || !map->lru_next) {
1 0 if (!map->lru_prev || !map->lru_next) {
0 1 if (!map->lru_prev || !map->lru_next) {
1 0 if (!map->lru_prev || !map->lru_next) {
0 1 if (!map->lru_prev || !map->lru_next) {
1 0 if (!map->lru_prev || !map->lru_next) {
0 1 if (!map->lru_prev || !map->lru_next) {
1 0 if (!map->lru_prev || !map->lru_next) {
0 1 if (!map->lru_prev || !map->lru_next) {
368 1 16 if (default_ttl > 0) {
1 14 if (default_ttl > 0) {
1 9 if (default_ttl > 0) {
1 9 if (default_ttl > 0) {
0 12 if (default_ttl > 0) {
0 8 if (default_ttl > 0) {
1 15 if (default_ttl > 0) {
1 17 if (default_ttl > 0) {
0 9 if (default_ttl > 0) {
15 46 if (default_ttl > 0) {
0 17 if (default_ttl > 0) {
1 10 if (default_ttl > 0) {
0 8 if (default_ttl > 0) {
1 14 if (default_ttl > 0) {
370 0 1 if (!map->expires_at) {
0 1 if (!map->expires_at) {
0 1 if (!map->expires_at) {
0 1 if (!map->expires_at) {
0 0 if (!map->expires_at) {
0 0 if (!map->expires_at) {
0 1 if (!map->expires_at) {
0 1 if (!map->expires_at) {
0 0 if (!map->expires_at) {
0 15 if (!map->expires_at) {
0 0 if (!map->expires_at) {
0 1 if (!map->expires_at) {
0 0 if (!map->expires_at) {
0 1 if (!map->expires_at) {
381 0 17 if (!map) return;
0 15 if (!map) return;
0 10 if (!map) return;
0 10 if (!map) return;
0 12 if (!map) return;
0 8 if (!map) return;
0 16 if (!map) return;
0 18 if (!map) return;
0 9 if (!map) return;
0 61 if (!map) return;
0 17 if (!map) return;
0 11 if (!map) return;
0 8 if (!map) return;
0 15 if (!map) return;
385 272 17 for (i = 0; i < map->capacity; i++) {
240 15 for (i = 0; i < map->capacity; i++) {
160 10 for (i = 0; i < map->capacity; i++) {
160 10 for (i = 0; i < map->capacity; i++) {
147616 12 for (i = 0; i < map->capacity; i++) {
147552 8 for (i = 0; i < map->capacity; i++) {
147680 16 for (i = 0; i < map->capacity; i++) {
147712 18 for (i = 0; i < map->capacity; i++) {
147568 9 for (i = 0; i < map->capacity; i++) {
147600 11 for (i = 0; i < map->capacity; i++) {
82016 8 for (i = 0; i < map->capacity; i++) {
386 25 247 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
21 4 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
23 217 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
18 5 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
18 142 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
14 4 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
18 142 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
14 4 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
26 147590 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
21 5 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
14 147538 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
9 5 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
26 147654 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
19 7 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
32 147680 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
27 5 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
16 147552 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
11 5 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
25 147575 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
20 5 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
14 82002 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
9 5 if (HM_SLOT_IS_LIVE(&map->nodes[i])) {
402 0 1 if (!map) return;
0 1 if (!map) return;
0 1 if (!map) return;
0 1 if (!map) return;
0 0 if (!map) return;
0 1 if (!map) return;
0 1 if (!map) return;
0 0 if (!map) return;
0 0 if (!map) return;
0 4 if (!map) return;
0 1 if (!map) return;
0 0 if (!map) return;
0 1 if (!map) return;
0 1 if (!map) return;
406 16 1 for (i = 0; i < map->capacity; i++) {
16 1 for (i = 0; i < map->capacity; i++) {
16 1 for (i = 0; i < map->capacity; i++) {
16 1 for (i = 0; i < map->capacity; i++) {
0 0 for (i = 0; i < map->capacity; i++) {
16 1 for (i = 0; i < map->capacity; i++) {
16 1 for (i = 0; i < map->capacity; i++) {
0 0 for (i = 0; i < map->capacity; i++) {
0 0 for (i = 0; i < map->capacity; i++) {
0 0 for (i = 0; i < map->capacity; i++) {
16 1 for (i = 0; i < map->capacity; i++) {
407 1 15 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
1 0 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
1 15 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
1 0 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
1 15 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
1 0 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
1 15 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
1 0 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
0 0 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
0 0 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
1 15 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
1 0 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
1 15 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
1 0 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
0 0 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
0 0 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
0 0 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
0 0 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
0 0 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
0 0 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
1 15 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
1 0 if (HM_SLOT_IS_LIVE(&map->nodes[i]))
416 0 1 if (map->lru_prev) {
0 1 if (map->lru_prev) {
0 1 if (map->lru_prev) {
0 1 if (map->lru_prev) {
0 0 if (map->lru_prev) {
0 1 if (map->lru_prev) {
0 1 if (map->lru_prev) {
0 0 if (map->lru_prev) {
0 0 if (map->lru_prev) {
1 3 if (map->lru_prev) {
0 1 if (map->lru_prev) {
0 0 if (map->lru_prev) {
0 1 if (map->lru_prev) {
0 1 if (map->lru_prev) {
422 0 1 if (map->expires_at)
0 1 if (map->expires_at)
0 1 if (map->expires_at)
0 1 if (map->expires_at)
0 0 if (map->expires_at)
0 1 if (map->expires_at)
0 1 if (map->expires_at)
0 0 if (map->expires_at)
0 0 if (map->expires_at)
1 3 if (map->expires_at)
0 1 if (map->expires_at)
0 0 if (map->expires_at)
0 1 if (map->expires_at)
0 1 if (map->expires_at)
432 0 0 size_t new_capacity = grow ? old_capacity * 2 : old_capacity;
0 0 size_t new_capacity = grow ? old_capacity * 2 : old_capacity;
0 0 size_t new_capacity = grow ? old_capacity * 2 : old_capacity;
0 0 size_t new_capacity = grow ? old_capacity * 2 : old_capacity;
23 50 size_t new_capacity = grow ? old_capacity * 2 : old_capacity;
23 50 size_t new_capacity = grow ? old_capacity * 2 : old_capacity;
23 50 size_t new_capacity = grow ? old_capacity * 2 : old_capacity;
23 50 size_t new_capacity = grow ? old_capacity * 2 : old_capacity;
23 50 size_t new_capacity = grow ? old_capacity * 2 : old_capacity;
42 253 size_t new_capacity = grow ? old_capacity * 2 : old_capacity;
24 79 size_t new_capacity = grow ? old_capacity * 2 : old_capacity;
23 50 size_t new_capacity = grow ? old_capacity * 2 : old_capacity;
22 49 size_t new_capacity = grow ? old_capacity * 2 : old_capacity;
29 73 size_t new_capacity = grow ? old_capacity * 2 : old_capacity;
435 0 0 if (!new_nodes) return false;
0 0 if (!new_nodes) return false;
0 0 if (!new_nodes) return false;
0 0 if (!new_nodes) return false;
0 73 if (!new_nodes) return false;
0 73 if (!new_nodes) return false;
0 73 if (!new_nodes) return false;
0 73 if (!new_nodes) return false;
0 73 if (!new_nodes) return false;
0 295 if (!new_nodes) return false;
0 103 if (!new_nodes) return false;
0 73 if (!new_nodes) return false;
0 71 if (!new_nodes) return false;
0 102 if (!new_nodes) return false;
441 0 0 if (map->lru_prev) {
0 0 if (map->lru_prev) {
0 0 if (map->lru_prev) {
0 0 if (map->lru_prev) {
0 73 if (map->lru_prev) {
0 73 if (map->lru_prev) {
0 73 if (map->lru_prev) {
0 73 if (map->lru_prev) {
0 73 if (map->lru_prev) {
150 145 if (map->lru_prev) {
0 103 if (map->lru_prev) {
0 73 if (map->lru_prev) {
0 71 if (map->lru_prev) {
0 102 if (map->lru_prev) {
445 0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
150 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
150 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 150 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
0 0 if (!new_lru_prev || !new_lru_next || !old_to_new) {
456 0 0 if (map->expires_at) {
0 0 if (map->expires_at) {
0 0 if (map->expires_at) {
0 0 if (map->expires_at) {
0 73 if (map->expires_at) {
0 73 if (map->expires_at) {
0 73 if (map->expires_at) {
0 73 if (map->expires_at) {
0 73 if (map->expires_at) {
0 295 if (map->expires_at) {
0 103 if (map->expires_at) {
0 73 if (map->expires_at) {
0 71 if (map->expires_at) {
0 102 if (map->expires_at) {
458 0 0 if (!new_expires_at) {
0 0 if (!new_expires_at) {
0 0 if (!new_expires_at) {
0 0 if (!new_expires_at) {
0 0 if (!new_expires_at) {
0 0 if (!new_expires_at) {
0 0 if (!new_expires_at) {
0 0 if (!new_expires_at) {
0 0 if (!new_expires_at) {
0 0 if (!new_expires_at) {
0 0 if (!new_expires_at) {
0 0 if (!new_expires_at) {
0 0 if (!new_expires_at) {
0 0 if (!new_expires_at) {
469 0 0 for (i = 0; i < old_capacity; i++) {
0 0 for (i = 0; i < old_capacity; i++) {
0 0 for (i = 0; i < old_capacity; i++) {
0 0 for (i = 0; i < old_capacity; i++) {
2572256 73 for (i = 0; i < old_capacity; i++) {
2572256 73 for (i = 0; i < old_capacity; i++) {
2572256 73 for (i = 0; i < old_capacity; i++) {
2572256 73 for (i = 0; i < old_capacity; i++) {
2572256 73 for (i = 0; i < old_capacity; i++) {
10180688 295 for (i = 0; i < old_capacity; i++) {
4128736 103 for (i = 0; i < old_capacity; i++) {
2572256 73 for (i = 0; i < old_capacity; i++) {
1523680 71 for (i = 0; i < old_capacity; i++) {
1918928 102 for (i = 0; i < old_capacity; i++) {
470 0 0 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
0 0 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
0 0 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
0 0 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
0 0 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
0 0 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
0 0 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
0 0 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
275912 2296344 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
195917 79995 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
275912 2296344 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
195917 79995 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
275912 2296344 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
195917 79995 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
275912 2296344 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
195917 79995 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
275912 2296344 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
195917 79995 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
877111 9303577 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
595452 281659 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
440813 3687923 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
290820 149993 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
275912 2296344 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
195917 79995 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
186760 1336920 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
126765 59995 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
231862 1687066 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
151869 79993 if (HM_SLOT_IS_LIVE(&old_nodes[i])) {
473 0 0 while (new_nodes[index].key != HM_EMPTY_KEY)
0 0 while (new_nodes[index].key != HM_EMPTY_KEY)
0 0 while (new_nodes[index].key != HM_EMPTY_KEY)
43146 195917 while (new_nodes[index].key != HM_EMPTY_KEY)
43146 195917 while (new_nodes[index].key != HM_EMPTY_KEY)
117340 595452 while (new_nodes[index].key != HM_EMPTY_KEY)
61263 290820 while (new_nodes[index].key != HM_EMPTY_KEY)
27574 126765 while (new_nodes[index].key != HM_EMPTY_KEY)
32217 151869 while (new_nodes[index].key != HM_EMPTY_KEY)
477 0 0 while (new_nodes[index].key != NULL)
42728 195917 while (new_nodes[index].key != NULL)
42728 195917 while (new_nodes[index].key != NULL)
42728 195917 while (new_nodes[index].key != NULL)
42728 195917 while (new_nodes[index].key != NULL)
481 0 0 if (old_to_new) old_to_new[i] = (uint32_t)index;
0 0 if (old_to_new) old_to_new[i] = (uint32_t)index;
0 0 if (old_to_new) old_to_new[i] = (uint32_t)index;
0 0 if (old_to_new) old_to_new[i] = (uint32_t)index;
0 195917 if (old_to_new) old_to_new[i] = (uint32_t)index;
0 195917 if (old_to_new) old_to_new[i] = (uint32_t)index;
0 195917 if (old_to_new) old_to_new[i] = (uint32_t)index;
0 195917 if (old_to_new) old_to_new[i] = (uint32_t)index;
0 195917 if (old_to_new) old_to_new[i] = (uint32_t)index;
3016 592436 if (old_to_new) old_to_new[i] = (uint32_t)index;
0 290820 if (old_to_new) old_to_new[i] = (uint32_t)index;
0 195917 if (old_to_new) old_to_new[i] = (uint32_t)index;
0 126765 if (old_to_new) old_to_new[i] = (uint32_t)index;
0 151869 if (old_to_new) old_to_new[i] = (uint32_t)index;
482 0 0 if (new_expires_at)
0 0 if (new_expires_at)
0 0 if (new_expires_at)
0 0 if (new_expires_at)
0 195917 if (new_expires_at)
0 195917 if (new_expires_at)
0 195917 if (new_expires_at)
0 195917 if (new_expires_at)
0 195917 if (new_expires_at)
0 595452 if (new_expires_at)
0 290820 if (new_expires_at)
0 195917 if (new_expires_at)
0 126765 if (new_expires_at)
0 151869 if (new_expires_at)
489 0 0 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 0 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 0 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 0 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 0 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 0 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 0 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 0 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 73 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 0 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 73 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 0 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 73 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 0 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 73 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 0 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 73 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 0 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
150 145 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
150 0 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 103 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 0 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 73 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 0 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 71 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 0 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 102 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
0 0 if (map->lru_prev && map->lru_head != HM_LRU_NONE) {
495 0 0 while (old_idx != HM_LRU_NONE) {
0 0 while (old_idx != HM_LRU_NONE) {
0 0 while (old_idx != HM_LRU_NONE) {
0 0 while (old_idx != HM_LRU_NONE) {
0 0 while (old_idx != HM_LRU_NONE) {
0 0 while (old_idx != HM_LRU_NONE) {
0 0 while (old_idx != HM_LRU_NONE) {
0 0 while (old_idx != HM_LRU_NONE) {
0 0 while (old_idx != HM_LRU_NONE) {
3016 150 while (old_idx != HM_LRU_NONE) {
0 0 while (old_idx != HM_LRU_NONE) {
0 0 while (old_idx != HM_LRU_NONE) {
0 0 while (old_idx != HM_LRU_NONE) {
0 0 while (old_idx != HM_LRU_NONE) {
498 0 0 if (ni != HM_LRU_NONE) {
0 0 if (ni != HM_LRU_NONE) {
0 0 if (ni != HM_LRU_NONE) {
0 0 if (ni != HM_LRU_NONE) {
0 0 if (ni != HM_LRU_NONE) {
0 0 if (ni != HM_LRU_NONE) {
0 0 if (ni != HM_LRU_NONE) {
0 0 if (ni != HM_LRU_NONE) {
0 0 if (ni != HM_LRU_NONE) {
3016 0 if (ni != HM_LRU_NONE) {
0 0 if (ni != HM_LRU_NONE) {
0 0 if (ni != HM_LRU_NONE) {
0 0 if (ni != HM_LRU_NONE) {
0 0 if (ni != HM_LRU_NONE) {
501 0 0 if (prev_new != HM_LRU_NONE) new_lru_next[prev_new] = ni;
0 0 if (prev_new != HM_LRU_NONE) new_lru_next[prev_new] = ni;
0 0 if (prev_new != HM_LRU_NONE) new_lru_next[prev_new] = ni;
0 0 if (prev_new != HM_LRU_NONE) new_lru_next[prev_new] = ni;
0 0 if (prev_new != HM_LRU_NONE) new_lru_next[prev_new] = ni;
0 0 if (prev_new != HM_LRU_NONE) new_lru_next[prev_new] = ni;
0 0 if (prev_new != HM_LRU_NONE) new_lru_next[prev_new] = ni;
0 0 if (prev_new != HM_LRU_NONE) new_lru_next[prev_new] = ni;
0 0 if (prev_new != HM_LRU_NONE) new_lru_next[prev_new] = ni;
2866 150 if (prev_new != HM_LRU_NONE) new_lru_next[prev_new] = ni;
0 0 if (prev_new != HM_LRU_NONE) new_lru_next[prev_new] = ni;
0 0 if (prev_new != HM_LRU_NONE) new_lru_next[prev_new] = ni;
0 0 if (prev_new != HM_LRU_NONE) new_lru_next[prev_new] = ni;
0 0 if (prev_new != HM_LRU_NONE) new_lru_next[prev_new] = ni;
514 0 0 } else if (map->lru_prev) {
0 0 } else if (map->lru_prev) {
0 0 } else if (map->lru_prev) {
0 0 } else if (map->lru_prev) {
0 73 } else if (map->lru_prev) {
0 73 } else if (map->lru_prev) {
0 73 } else if (map->lru_prev) {
0 73 } else if (map->lru_prev) {
0 73 } else if (map->lru_prev) {
0 145 } else if (map->lru_prev) {
0 103 } else if (map->lru_prev) {
0 73 } else if (map->lru_prev) {
0 71 } else if (map->lru_prev) {
0 102 } else if (map->lru_prev) {
521 0 0 if (map->expires_at) {
0 0 if (map->expires_at) {
0 0 if (map->expires_at) {
0 0 if (map->expires_at) {
0 73 if (map->expires_at) {
0 73 if (map->expires_at) {
0 73 if (map->expires_at) {
0 73 if (map->expires_at) {
0 73 if (map->expires_at) {
0 295 if (map->expires_at) {
0 103 if (map->expires_at) {
0 73 if (map->expires_at) {
0 71 if (map->expires_at) {
0 102 if (map->expires_at) {
554 19 11 if (k == key) return index;
14 10 if (k == key) return index;
14 10 if (k == key) return index;
130007 22540 if (k == key) return index;
130009 22541 if (k == key) return index;
400184 53121 if (k == key) return index;
200021 30861 if (k == key) return index;
90007 18949 if (k == key) return index;
110027 21186 if (k == key) return index;
555 5 6 if (k == HM_EMPTY_KEY) return index;
4 6 if (k == HM_EMPTY_KEY) return index;
4 6 if (k == HM_EMPTY_KEY) return index;
4 22536 if (k == HM_EMPTY_KEY) return index;
5 22536 if (k == HM_EMPTY_KEY) return index;
28 53093 if (k == HM_EMPTY_KEY) return index;
11 30850 if (k == HM_EMPTY_KEY) return index;
5 18944 if (k == HM_EMPTY_KEY) return index;
13 21173 if (k == HM_EMPTY_KEY) return index;
557 6 0 } while (index != original_index);
6 0 } while (index != original_index);
6 0 } while (index != original_index);
22536 0 } while (index != original_index);
22536 0 } while (index != original_index);
53093 0 } while (index != original_index);
30850 0 } while (index != original_index);
18944 0 } while (index != original_index);
21173 0 } while (index != original_index);
571 5 27 if (nodes[index].key == NULL) return index; /* empty */
10 152169 if (nodes[index].key == NULL) return index; /* empty */
6 152161 if (nodes[index].key == NULL) return index; /* empty */
15 172176 if (nodes[index].key == NULL) return index; /* empty */
10 152171 if (nodes[index].key == NULL) return index; /* empty */
572 24 3 if (nodes[index].key != HM_STR_TOMBSTONE &&
145424 6745 if (nodes[index].key != HM_STR_TOMBSTONE &&
145416 6745 if (nodes[index].key != HM_STR_TOMBSTONE &&
165429 6747 if (nodes[index].key != HM_STR_TOMBSTONE &&
145424 6747 if (nodes[index].key != HM_STR_TOMBSTONE &&
573 23 1 nodes[index].key_hash == key_hash &&
130023 15401 nodes[index].key_hash == key_hash &&
130017 15399 nodes[index].key_hash == key_hash &&
150028 15401 nodes[index].key_hash == key_hash &&
130024 15400 nodes[index].key_hash == key_hash &&
574 23 0 HM_UNPACK_LEN(nodes[index].key_len) == key_len &&
130023 0 HM_UNPACK_LEN(nodes[index].key_len) == key_len &&
130017 0 HM_UNPACK_LEN(nodes[index].key_len) == key_len &&
150028 0 HM_UNPACK_LEN(nodes[index].key_len) == key_len &&
130024 0 HM_UNPACK_LEN(nodes[index].key_len) == key_len &&
575 23 0 memcmp(nodes[index].key, key, key_len) == 0) {
130023 0 memcmp(nodes[index].key, key, key_len) == 0) {
130017 0 memcmp(nodes[index].key, key, key_len) == 0) {
150028 0 memcmp(nodes[index].key, key, key_len) == 0) {
130024 0 memcmp(nodes[index].key, key, key_len) == 0) {
579 4 0 } while (index != original_index);
22146 0 } while (index != original_index);
22144 0 } while (index != original_index);
22148 0 } while (index != original_index);
22147 0 } while (index != original_index);
598 2 25 if (k == key) {
2 20 if (k == key) {
2 20 if (k == key) {
1 250792 if (k == key) {
1 250793 if (k == key) {
6 893016 if (k == key) {
1 390101 if (k == key) {
1 169906 if (k == key) {
1 209438 if (k == key) {
602 25 0 if (k == HM_EMPTY_KEY) {
20 0 if (k == HM_EMPTY_KEY) {
20 0 if (k == HM_EMPTY_KEY) {
80013 170779 if (k == HM_EMPTY_KEY) {
80014 170779 if (k == HM_EMPTY_KEY) {
385226 507790 if (k == HM_EMPTY_KEY) {
150023 240078 if (k == HM_EMPTY_KEY) {
60013 109893 if (k == HM_EMPTY_KEY) {
81024 128414 if (k == HM_EMPTY_KEY) {
604 0 25 return (first_tombstone < map->capacity) ? first_tombstone : index;
0 20 return (first_tombstone < map->capacity) ? first_tombstone : index;
0 20 return (first_tombstone < map->capacity) ? first_tombstone : index;
2 80011 return (first_tombstone < map->capacity) ? first_tombstone : index;
2 80012 return (first_tombstone < map->capacity) ? first_tombstone : index;
1398 383828 return (first_tombstone < map->capacity) ? first_tombstone : index;
4 150019 return (first_tombstone < map->capacity) ? first_tombstone : index;
2 60011 return (first_tombstone < map->capacity) ? first_tombstone : index;
4 81020 return (first_tombstone < map->capacity) ? first_tombstone : index;
606 0 0 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
0 0 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
0 0 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
0 0 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
0 0 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
0 0 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
2 170777 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
2 0 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
2 170777 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
2 0 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
2649 505141 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
1398 1251 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
4 240074 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
4 0 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
2 109891 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
2 0 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
4 128410 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
4 0 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
610 0 0 } while (index != original_index);
0 0 } while (index != original_index);
0 0 } while (index != original_index);
170779 0 } while (index != original_index);
170779 0 } while (index != original_index);
507790 0 } while (index != original_index);
240078 0 } while (index != original_index);
109893 0 } while (index != original_index);
128414 0 } while (index != original_index);
627 28 3 if (nodes[index].key == NULL) {
80020 168916 if (nodes[index].key == NULL) {
80026 168918 if (nodes[index].key == NULL) {
80023 168916 if (nodes[index].key == NULL) {
80019 168915 if (nodes[index].key == NULL) {
629 1 27 return (first_tombstone < map->capacity) ? first_tombstone : index;
3 80017 return (first_tombstone < map->capacity) ? first_tombstone : index;
3 80023 return (first_tombstone < map->capacity) ? first_tombstone : index;
3 80020 return (first_tombstone < map->capacity) ? first_tombstone : index;
2 80017 return (first_tombstone < map->capacity) ? first_tombstone : index;
631 1 2 if (nodes[index].key == HM_STR_TOMBSTONE) {
3 168913 if (nodes[index].key == HM_STR_TOMBSTONE) {
3 168915 if (nodes[index].key == HM_STR_TOMBSTONE) {
3 168913 if (nodes[index].key == HM_STR_TOMBSTONE) {
2 168913 if (nodes[index].key == HM_STR_TOMBSTONE) {
632 1 0 if (first_tombstone >= map->capacity) first_tombstone = index;
3 0 if (first_tombstone >= map->capacity) first_tombstone = index;
3 0 if (first_tombstone >= map->capacity) first_tombstone = index;
3 0 if (first_tombstone >= map->capacity) first_tombstone = index;
2 0 if (first_tombstone >= map->capacity) first_tombstone = index;
633 2 0 } else if (nodes[index].key_hash == key_hash &&
1 168912 } else if (nodes[index].key_hash == key_hash &&
2 168913 } else if (nodes[index].key_hash == key_hash &&
1 168912 } else if (nodes[index].key_hash == key_hash &&
1 168912 } else if (nodes[index].key_hash == key_hash &&
634 2 0 HM_UNPACK_LEN(nodes[index].key_len) == key_len &&
1 0 HM_UNPACK_LEN(nodes[index].key_len) == key_len &&
2 0 HM_UNPACK_LEN(nodes[index].key_len) == key_len &&
1 0 HM_UNPACK_LEN(nodes[index].key_len) == key_len &&
1 0 HM_UNPACK_LEN(nodes[index].key_len) == key_len &&
635 2 0 memcmp(nodes[index].key, key, key_len) == 0) {
1 0 memcmp(nodes[index].key, key, key_len) == 0) {
2 0 memcmp(nodes[index].key, key, key_len) == 0) {
1 0 memcmp(nodes[index].key, key, key_len) == 0) {
1 0 memcmp(nodes[index].key, key, key_len) == 0) {
640 1 0 } while (index != original_index);
168915 0 } while (index != original_index);
168916 0 } while (index != original_index);
168915 0 } while (index != original_index);
168914 0 } while (index != original_index);
661 28 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
27 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
1 26 if (!map || HM_IS_RESERVED_KEY(key)) return false;
23 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
22 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
1 21 if (!map || HM_IS_RESERVED_KEY(key)) return false;
23 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
22 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
1 21 if (!map || HM_IS_RESERVED_KEY(key)) return false;
80015 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
80014 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
1 80013 if (!map || HM_IS_RESERVED_KEY(key)) return false;
80016 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
80015 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
1 80014 if (!map || HM_IS_RESERVED_KEY(key)) return false;
382741 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
382740 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
1 382739 if (!map || HM_IS_RESERVED_KEY(key)) return false;
150026 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
150024 2 if (!map || HM_IS_RESERVED_KEY(key)) return false;
1 150023 if (!map || HM_IS_RESERVED_KEY(key)) return false;
60015 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
60014 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
1 60013 if (!map || HM_IS_RESERVED_KEY(key)) return false;
81027 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
81025 2 if (!map || HM_IS_RESERVED_KEY(key)) return false;
1 81024 if (!map || HM_IS_RESERVED_KEY(key)) return false;
663 0 26 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
0 21 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
0 21 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
23 79990 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
23 79991 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
187 382552 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
24 149999 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
22 59991 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
29 80995 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
664 0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 23 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 23 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
150 37 if (map->max_size > 0 && map->tombstones > 0) {
145 5 if (map->max_size > 0 && map->tombstones > 0) {
0 24 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 22 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 29 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
665 0 0 if (!HM_FN(compact)(map)) return false;
0 0 if (!HM_FN(compact)(map)) return false;
0 0 if (!HM_FN(compact)(map)) return false;
0 0 if (!HM_FN(compact)(map)) return false;
0 0 if (!HM_FN(compact)(map)) return false;
0 145 if (!HM_FN(compact)(map)) return false;
0 0 if (!HM_FN(compact)(map)) return false;
0 0 if (!HM_FN(compact)(map)) return false;
0 0 if (!HM_FN(compact)(map)) return false;
667 0 0 if (!HM_FN(resize)(map)) return false;
0 0 if (!HM_FN(resize)(map)) return false;
0 0 if (!HM_FN(resize)(map)) return false;
0 23 if (!HM_FN(resize)(map)) return false;
0 23 if (!HM_FN(resize)(map)) return false;
0 42 if (!HM_FN(resize)(map)) return false;
0 24 if (!HM_FN(resize)(map)) return false;
0 22 if (!HM_FN(resize)(map)) return false;
0 29 if (!HM_FN(resize)(map)) return false;
673 0 26 if (index >= map->capacity) return false;
0 21 if (index >= map->capacity) return false;
0 21 if (index >= map->capacity) return false;
0 80013 if (index >= map->capacity) return false;
0 80014 if (index >= map->capacity) return false;
0 382739 if (index >= map->capacity) return false;
0 150023 if (index >= map->capacity) return false;
0 60013 if (index >= map->capacity) return false;
0 81024 if (index >= map->capacity) return false;
676 24 2 if (!found && map->max_size > 0 && map->size >= map->max_size) {
4 20 if (!found && map->max_size > 0 && map->size >= map->max_size) {
1 3 if (!found && map->max_size > 0 && map->size >= map->max_size) {
19 2 if (!found && map->max_size > 0 && map->size >= map->max_size) {
4 15 if (!found && map->max_size > 0 && map->size >= map->max_size) {
1 3 if (!found && map->max_size > 0 && map->size >= map->max_size) {
19 2 if (!found && map->max_size > 0 && map->size >= map->max_size) {
4 15 if (!found && map->max_size > 0 && map->size >= map->max_size) {
1 3 if (!found && map->max_size > 0 && map->size >= map->max_size) {
80012 1 if (!found && map->max_size > 0 && map->size >= map->max_size) {
3 80009 if (!found && map->max_size > 0 && map->size >= map->max_size) {
1 2 if (!found && map->max_size > 0 && map->size >= map->max_size) {
80013 1 if (!found && map->max_size > 0 && map->size >= map->max_size) {
3 80010 if (!found && map->max_size > 0 && map->size >= map->max_size) {
1 2 if (!found && map->max_size > 0 && map->size >= map->max_size) {
382733 6 if (!found && map->max_size > 0 && map->size >= map->max_size) {
2673 380060 if (!found && map->max_size > 0 && map->size >= map->max_size) {
2493 180 if (!found && map->max_size > 0 && map->size >= map->max_size) {
150022 1 if (!found && map->max_size > 0 && map->size >= map->max_size) {
4 150018 if (!found && map->max_size > 0 && map->size >= map->max_size) {
1 3 if (!found && map->max_size > 0 && map->size >= map->max_size) {
60012 1 if (!found && map->max_size > 0 && map->size >= map->max_size) {
3 60009 if (!found && map->max_size > 0 && map->size >= map->max_size) {
1 2 if (!found && map->max_size > 0 && map->size >= map->max_size) {
81023 1 if (!found && map->max_size > 0 && map->size >= map->max_size) {
4 81019 if (!found && map->max_size > 0 && map->size >= map->max_size) {
1 3 if (!found && map->max_size > 0 && map->size >= map->max_size) {
680 0 1 if (index >= map->capacity) return false;
0 1 if (index >= map->capacity) return false;
0 1 if (index >= map->capacity) return false;
0 1 if (index >= map->capacity) return false;
0 1 if (index >= map->capacity) return false;
0 2493 if (index >= map->capacity) return false;
0 1 if (index >= map->capacity) return false;
0 1 if (index >= map->capacity) return false;
0 1 if (index >= map->capacity) return false;
687 80013 0 if (value && val_len > 0) {
80012 1 if (value && val_len > 0) {
80014 0 if (value && val_len > 0) {
80013 1 if (value && val_len > 0) {
60013 0 if (value && val_len > 0) {
60013 0 if (value && val_len > 0) {
689 0 80012 if (!new_val) return false;
0 80013 if (!new_val) return false;
0 60013 if (!new_val) return false;
691 1 80011 new_val_len = HM_PACK_LEN(val_len, val_utf8);
1 80012 new_val_len = HM_PACK_LEN(val_len, val_utf8);
1 60012 new_val_len = HM_PACK_LEN(val_len, val_utf8);
692 1 0 } else if (value) {
1 0 } else if (value) {
0 0 } else if (value) {
694 0 1 if (!new_val) return false;
0 1 if (!new_val) return false;
0 0 if (!new_val) return false;
696 0 1 new_val_len = HM_PACK_LEN(0, val_utf8);
0 1 new_val_len = HM_PACK_LEN(0, val_utf8);
0 0 new_val_len = HM_PACK_LEN(0, val_utf8);
700 2 24 if (found) {
2 19 if (found) {
2 19 if (found) {
1 80012 if (found) {
1 80013 if (found) {
382733 6 if (found) {
150022 1 if (found) {
1 60012 if (found) {
81023 1 if (found) {
702 1 0 if (map->nodes[index].value) free(map->nodes[index].value);
1 0 if (map->nodes[index].value) free(map->nodes[index].value);
1 0 if (map->nodes[index].value) free(map->nodes[index].value);
704 2 0 if (map->nodes[index].value && map->free_value_fn)
2 0 if (map->nodes[index].value && map->free_value_fn)
2 0 if (map->nodes[index].value && map->free_value_fn)
2 0 if (map->nodes[index].value && map->free_value_fn)
2 0 if (map->nodes[index].value && map->free_value_fn)
2 0 if (map->nodes[index].value && map->free_value_fn)
708 0 24 if (map->nodes[index].key == HM_TOMBSTONE_KEY) {
0 19 if (map->nodes[index].key == HM_TOMBSTONE_KEY) {
0 19 if (map->nodes[index].key == HM_TOMBSTONE_KEY) {
2 80010 if (map->nodes[index].key == HM_TOMBSTONE_KEY) {
2 80011 if (map->nodes[index].key == HM_TOMBSTONE_KEY) {
739 381994 if (map->nodes[index].key == HM_TOMBSTONE_KEY) {
4 150018 if (map->nodes[index].key == HM_TOMBSTONE_KEY) {
2 60010 if (map->nodes[index].key == HM_TOMBSTONE_KEY) {
4 81019 if (map->nodes[index].key == HM_TOMBSTONE_KEY) {
723 4 22 if (map->lru_prev) {
4 17 if (map->lru_prev) {
4 17 if (map->lru_prev) {
3 80010 if (map->lru_prev) {
3 80011 if (map->lru_prev) {
2676 380063 if (map->lru_prev) {
4 150019 if (map->lru_prev) {
3 60010 if (map->lru_prev) {
4 81020 if (map->lru_prev) {
724 0 4 if (found) HM_FN(lru_promote)(map, (uint32_t)index);
0 4 if (found) HM_FN(lru_promote)(map, (uint32_t)index);
0 4 if (found) HM_FN(lru_promote)(map, (uint32_t)index);
0 3 if (found) HM_FN(lru_promote)(map, (uint32_t)index);
0 3 if (found) HM_FN(lru_promote)(map, (uint32_t)index);
3 2673 if (found) HM_FN(lru_promote)(map, (uint32_t)index);
0 4 if (found) HM_FN(lru_promote)(map, (uint32_t)index);
0 3 if (found) HM_FN(lru_promote)(map, (uint32_t)index);
0 4 if (found) HM_FN(lru_promote)(map, (uint32_t)index);
728 1 25 if (entry_ttl > 0 && !map->expires_at)
1 0 if (entry_ttl > 0 && !map->expires_at)
0 21 if (entry_ttl > 0 && !map->expires_at)
0 0 if (entry_ttl > 0 && !map->expires_at)
0 21 if (entry_ttl > 0 && !map->expires_at)
0 0 if (entry_ttl > 0 && !map->expires_at)
0 80013 if (entry_ttl > 0 && !map->expires_at)
0 0 if (entry_ttl > 0 && !map->expires_at)
0 80014 if (entry_ttl > 0 && !map->expires_at)
0 0 if (entry_ttl > 0 && !map->expires_at)
7 382732 if (entry_ttl > 0 && !map->expires_at)
6 1 if (entry_ttl > 0 && !map->expires_at)
1 150022 if (entry_ttl > 0 && !map->expires_at)
1 0 if (entry_ttl > 0 && !map->expires_at)
0 60013 if (entry_ttl > 0 && !map->expires_at)
0 0 if (entry_ttl > 0 && !map->expires_at)
0 81024 if (entry_ttl > 0 && !map->expires_at)
0 0 if (entry_ttl > 0 && !map->expires_at)
730 3 23 if (map->expires_at) {
1 20 if (map->expires_at) {
1 20 if (map->expires_at) {
0 80013 if (map->expires_at) {
0 80014 if (map->expires_at) {
35 382704 if (map->expires_at) {
1 150022 if (map->expires_at) {
0 60013 if (map->expires_at) {
1 81023 if (map->expires_at) {
731 2 1 uint32_t ttl = entry_ttl > 0 ? entry_ttl : map->default_ttl;
1 0 uint32_t ttl = entry_ttl > 0 ? entry_ttl : map->default_ttl;
1 0 uint32_t ttl = entry_ttl > 0 ? entry_ttl : map->default_ttl;
0 0 uint32_t ttl = entry_ttl > 0 ? entry_ttl : map->default_ttl;
0 0 uint32_t ttl = entry_ttl > 0 ? entry_ttl : map->default_ttl;
28 7 uint32_t ttl = entry_ttl > 0 ? entry_ttl : map->default_ttl;
0 1 uint32_t ttl = entry_ttl > 0 ? entry_ttl : map->default_ttl;
0 0 uint32_t ttl = entry_ttl > 0 ? entry_ttl : map->default_ttl;
1 0 uint32_t ttl = entry_ttl > 0 ? entry_ttl : map->default_ttl;
732 3 0 if (ttl > 0)
1 0 if (ttl > 0)
1 0 if (ttl > 0)
0 0 if (ttl > 0)
0 0 if (ttl > 0)
31 4 if (ttl > 0)
1 0 if (ttl > 0)
0 0 if (ttl > 0)
1 0 if (ttl > 0)
753 29 0 if (!map || !key) return false;
0 29 if (!map || !key) return false;
80020 0 if (!map || !key) return false;
0 80020 if (!map || !key) return false;
80027 0 if (!map || !key) return false;
0 80027 if (!map || !key) return false;
80023 0 if (!map || !key) return false;
0 80023 if (!map || !key) return false;
80019 0 if (!map || !key) return false;
0 80019 if (!map || !key) return false;
755 0 29 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
23 79997 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
23 80004 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
23 80000 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
23 79996 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
756 0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 23 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 23 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 23 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 23 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
757 0 0 if (!HM_FN(compact)(map)) return false;
0 0 if (!HM_FN(compact)(map)) return false;
0 0 if (!HM_FN(compact)(map)) return false;
0 0 if (!HM_FN(compact)(map)) return false;
0 0 if (!HM_FN(compact)(map)) return false;
759 0 0 if (!HM_FN(resize)(map)) return false;
0 23 if (!HM_FN(resize)(map)) return false;
0 23 if (!HM_FN(resize)(map)) return false;
0 23 if (!HM_FN(resize)(map)) return false;
0 23 if (!HM_FN(resize)(map)) return false;
765 0 29 if (index >= map->capacity) return false;
0 80020 if (index >= map->capacity) return false;
0 80027 if (index >= map->capacity) return false;
0 80023 if (index >= map->capacity) return false;
0 80019 if (index >= map->capacity) return false;
768 27 2 if (!found && map->max_size > 0 && map->size >= map->max_size) {
4 23 if (!found && map->max_size > 0 && map->size >= map->max_size) {
1 3 if (!found && map->max_size > 0 && map->size >= map->max_size) {
80019 1 if (!found && map->max_size > 0 && map->size >= map->max_size) {
3 80016 if (!found && map->max_size > 0 && map->size >= map->max_size) {
1 2 if (!found && map->max_size > 0 && map->size >= map->max_size) {
80025 2 if (!found && map->max_size > 0 && map->size >= map->max_size) {
4 80021 if (!found && map->max_size > 0 && map->size >= map->max_size) {
1 3 if (!found && map->max_size > 0 && map->size >= map->max_size) {
80022 1 if (!found && map->max_size > 0 && map->size >= map->max_size) {
4 80018 if (!found && map->max_size > 0 && map->size >= map->max_size) {
1 3 if (!found && map->max_size > 0 && map->size >= map->max_size) {
80018 1 if (!found && map->max_size > 0 && map->size >= map->max_size) {
4 80014 if (!found && map->max_size > 0 && map->size >= map->max_size) {
1 3 if (!found && map->max_size > 0 && map->size >= map->max_size) {
772 0 1 if (index >= map->capacity) return false;
0 1 if (index >= map->capacity) return false;
0 1 if (index >= map->capacity) return false;
0 1 if (index >= map->capacity) return false;
0 1 if (index >= map->capacity) return false;
779 80027 0 if (value && val_len > 0) {
80026 1 if (value && val_len > 0) {
781 0 80026 if (!new_val) return false;
783 3 80023 new_val_len = HM_PACK_LEN(val_len, val_utf8);
784 1 0 } else if (value) {
786 0 1 if (!new_val) return false;
788 0 1 new_val_len = HM_PACK_LEN(0, val_utf8);
792 2 27 if (found) {
1 80019 if (found) {
2 80025 if (found) {
1 80022 if (found) {
1 80018 if (found) {
794 2 0 if (map->nodes[index].value) free(map->nodes[index].value);
796 2 0 if (map->nodes[index].value && map->free_value_fn)
2 0 if (map->nodes[index].value && map->free_value_fn)
799 0 2 map->nodes[index].key_len = HM_PACK_LEN(key_len, key_utf8);
0 1 map->nodes[index].key_len = HM_PACK_LEN(key_len, key_utf8);
0 2 map->nodes[index].key_len = HM_PACK_LEN(key_len, key_utf8);
0 1 map->nodes[index].key_len = HM_PACK_LEN(key_len, key_utf8);
0 1 map->nodes[index].key_len = HM_PACK_LEN(key_len, key_utf8);
802 0 27 if (!new_key) {
0 80019 if (!new_key) {
0 80025 if (!new_key) {
0 80022 if (!new_key) {
0 80018 if (!new_key) {
810 1 26 if (HM_SLOT_IS_TOMBSTONE(&map->nodes[index])) {
3 80016 if (HM_SLOT_IS_TOMBSTONE(&map->nodes[index])) {
3 80022 if (HM_SLOT_IS_TOMBSTONE(&map->nodes[index])) {
3 80019 if (HM_SLOT_IS_TOMBSTONE(&map->nodes[index])) {
2 80016 if (HM_SLOT_IS_TOMBSTONE(&map->nodes[index])) {
815 1 26 map->nodes[index].key_len = HM_PACK_LEN(key_len, key_utf8);
1 80018 map->nodes[index].key_len = HM_PACK_LEN(key_len, key_utf8);
3 80022 map->nodes[index].key_len = HM_PACK_LEN(key_len, key_utf8);
1 80021 map->nodes[index].key_len = HM_PACK_LEN(key_len, key_utf8);
1 80017 map->nodes[index].key_len = HM_PACK_LEN(key_len, key_utf8);
827 4 25 if (map->lru_prev) {
3 80017 if (map->lru_prev) {
4 80023 if (map->lru_prev) {
4 80019 if (map->lru_prev) {
4 80015 if (map->lru_prev) {
828 0 4 if (found) HM_FN(lru_promote)(map, (uint32_t)index);
0 3 if (found) HM_FN(lru_promote)(map, (uint32_t)index);
0 4 if (found) HM_FN(lru_promote)(map, (uint32_t)index);
0 4 if (found) HM_FN(lru_promote)(map, (uint32_t)index);
0 4 if (found) HM_FN(lru_promote)(map, (uint32_t)index);
832 1 28 if (entry_ttl > 0 && !map->expires_at)
1 0 if (entry_ttl > 0 && !map->expires_at)
0 80020 if (entry_ttl > 0 && !map->expires_at)
0 0 if (entry_ttl > 0 && !map->expires_at)
2 80025 if (entry_ttl > 0 && !map->expires_at)
2 0 if (entry_ttl > 0 && !map->expires_at)
0 80023 if (entry_ttl > 0 && !map->expires_at)
0 0 if (entry_ttl > 0 && !map->expires_at)
0 80019 if (entry_ttl > 0 && !map->expires_at)
0 0 if (entry_ttl > 0 && !map->expires_at)
834 3 26 if (map->expires_at) {
0 80020 if (map->expires_at) {
5 80022 if (map->expires_at) {
1 80022 if (map->expires_at) {
1 80018 if (map->expires_at) {
835 2 1 uint32_t ttl = entry_ttl > 0 ? entry_ttl : map->default_ttl;
0 0 uint32_t ttl = entry_ttl > 0 ? entry_ttl : map->default_ttl;
3 2 uint32_t ttl = entry_ttl > 0 ? entry_ttl : map->default_ttl;
1 0 uint32_t ttl = entry_ttl > 0 ? entry_ttl : map->default_ttl;
1 0 uint32_t ttl = entry_ttl > 0 ? entry_ttl : map->default_ttl;
836 3 0 if (ttl > 0)
0 0 if (ttl > 0)
3 2 if (ttl > 0)
1 0 if (ttl > 0)
1 0 if (ttl > 0)
854 50008 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
50007 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
0 50007 if (!map || HM_IS_RESERVED_KEY(key)) return false;
50011 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
50010 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
0 50010 if (!map || HM_IS_RESERVED_KEY(key)) return false;
30008 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
30007 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
0 30007 if (!map || HM_IS_RESERVED_KEY(key)) return false;
857 50007 0 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
2 50005 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
50010 0 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
3 50007 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
30007 0 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
3 30004 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
860 0 50005 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 50007 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 30004 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
861 0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
866 0 50005 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
1 50006 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
0 30004 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
875 18 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
18 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
17 1 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
0 17 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
12 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
12 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
12 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
0 12 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
12 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
12 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
12 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
0 12 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
878 17 0 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
3 14 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
12 0 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
2 10 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
12 0 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
2 10 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
881 2 12 if (map->expires_at && map->expires_at[index] &&
2 0 if (map->expires_at && map->expires_at[index] &&
1 9 if (map->expires_at && map->expires_at[index] &&
1 0 if (map->expires_at && map->expires_at[index] &&
1 9 if (map->expires_at && map->expires_at[index] &&
1 0 if (map->expires_at && map->expires_at[index] &&
882 2 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
1 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
1 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
887 1 11 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
1 8 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
1 8 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
894 100162 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
100162 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
100161 1 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
0 100161 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
50012 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
50012 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
50010 2 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
0 50010 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
30015 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
30015 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
30013 2 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
0 30013 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
897 100161 0 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
15 100146 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
50010 0 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
4 50006 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
30013 0 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
5 30008 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
900 23 100123 if (map->expires_at && map->expires_at[index] &&
19 4 if (map->expires_at && map->expires_at[index] &&
2 50004 if (map->expires_at && map->expires_at[index] &&
2 0 if (map->expires_at && map->expires_at[index] &&
2 30006 if (map->expires_at && map->expires_at[index] &&
2 0 if (map->expires_at && map->expires_at[index] &&
901 10 9 (uint32_t)time(NULL) >= map->expires_at[index]) {
1 1 (uint32_t)time(NULL) >= map->expires_at[index]) {
1 1 (uint32_t)time(NULL) >= map->expires_at[index]) {
906 113 100023 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
0 50005 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
0 30007 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
919 50018 0 if (!map || !key) return false;
0 50018 if (!map || !key) return false;
922 50018 0 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
4 50014 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
925 5 50009 if (map->expires_at && map->expires_at[index] &&
3 2 if (map->expires_at && map->expires_at[index] &&
926 2 1 (uint32_t)time(NULL) >= map->expires_at[index]) {
931 1 50011 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
942 20 0 if (!map || !key || !out_value) return false;
20 0 if (!map || !key || !out_value) return false;
0 20 if (!map || !key || !out_value) return false;
945 20 0 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
3 17 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
948 2 15 if (map->expires_at && map->expires_at[index] &&
2 0 if (map->expires_at && map->expires_at[index] &&
949 2 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
954 1 14 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
963 50009 0 if (!map || !key || !out_value) return false;
50009 0 if (!map || !key || !out_value) return false;
0 50009 if (!map || !key || !out_value) return false;
50014 0 if (!map || !key || !out_value) return false;
50014 0 if (!map || !key || !out_value) return false;
0 50014 if (!map || !key || !out_value) return false;
50008 0 if (!map || !key || !out_value) return false;
50008 0 if (!map || !key || !out_value) return false;
0 50008 if (!map || !key || !out_value) return false;
966 50009 0 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
3 50006 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
50014 0 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
3 50011 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
50008 0 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
2 50006 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
969 0 50006 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
1 50010 if (map->expires_at && map->expires_at[index] &&
1 0 if (map->expires_at && map->expires_at[index] &&
1 50005 if (map->expires_at && map->expires_at[index] &&
1 0 if (map->expires_at && map->expires_at[index] &&
970 0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
1 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
1 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
975 0 50006 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
1 50009 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
1 50004 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
989 4 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
4 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
0 4 if (!map || HM_IS_RESERVED_KEY(key)) return false;
3 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
3 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
0 3 if (!map || HM_IS_RESERVED_KEY(key)) return false;
3 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
3 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
0 3 if (!map || HM_IS_RESERVED_KEY(key)) return false;
3 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
2 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
0 2 if (!map || HM_IS_RESERVED_KEY(key)) return false;
3 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
2 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
0 2 if (!map || HM_IS_RESERVED_KEY(key)) return false;
10 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
9 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
0 9 if (!map || HM_IS_RESERVED_KEY(key)) return false;
3 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
2 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
0 2 if (!map || HM_IS_RESERVED_KEY(key)) return false;
4 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
3 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
0 3 if (!map || HM_IS_RESERVED_KEY(key)) return false;
4 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
3 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
0 3 if (!map || HM_IS_RESERVED_KEY(key)) return false;
991 4 0 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
1 3 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
3 0 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
1 2 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
3 0 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
1 2 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
2 0 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
1 1 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
2 0 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
1 1 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
9 0 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
3 6 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
2 0 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
1 1 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
3 0 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
1 2 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
3 0 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
1 2 if (index >= map->capacity || map->nodes[index].key == HM_EMPTY_KEY) return false;
994 0 3 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 2 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 2 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 1 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 1 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
1 5 if (map->expires_at && map->expires_at[index] &&
1 0 if (map->expires_at && map->expires_at[index] &&
0 1 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 2 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 2 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
995 0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 1 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
1006 5 0 if (!map || !key) return false;
0 5 if (!map || !key) return false;
2 0 if (!map || !key) return false;
0 2 if (!map || !key) return false;
2 0 if (!map || !key) return false;
0 2 if (!map || !key) return false;
2 0 if (!map || !key) return false;
0 2 if (!map || !key) return false;
4 0 if (!map || !key) return false;
0 4 if (!map || !key) return false;
1008 5 0 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
1 4 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
2 0 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
1 1 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
2 0 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
1 1 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
2 0 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
1 1 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
4 0 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
1 3 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
1011 0 4 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 1 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 1 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 1 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 3 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
1012 0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
1026 3 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
3 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
0 3 if (!map || HM_IS_RESERVED_KEY(key)) return false;
3 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
3 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
0 3 if (!map || HM_IS_RESERVED_KEY(key)) return false;
3 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
3 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
0 3 if (!map || HM_IS_RESERVED_KEY(key)) return false;
80004 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
80003 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
1 80002 if (!map || HM_IS_RESERVED_KEY(key)) return false;
80004 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
80003 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
1 80002 if (!map || HM_IS_RESERVED_KEY(key)) return false;
280020 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
280019 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
0 280019 if (!map || HM_IS_RESERVED_KEY(key)) return false;
150004 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
150003 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
0 150003 if (!map || HM_IS_RESERVED_KEY(key)) return false;
60004 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
60003 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
1 60002 if (!map || HM_IS_RESERVED_KEY(key)) return false;
80005 0 if (!map || HM_IS_RESERVED_KEY(key)) return false;
80004 1 if (!map || HM_IS_RESERVED_KEY(key)) return false;
0 80004 if (!map || HM_IS_RESERVED_KEY(key)) return false;
1029 3 0 if (index >= map->capacity || map->nodes[index].key != key) return false;
1 2 if (index >= map->capacity || map->nodes[index].key != key) return false;
3 0 if (index >= map->capacity || map->nodes[index].key != key) return false;
1 2 if (index >= map->capacity || map->nodes[index].key != key) return false;
3 0 if (index >= map->capacity || map->nodes[index].key != key) return false;
1 2 if (index >= map->capacity || map->nodes[index].key != key) return false;
80002 0 if (index >= map->capacity || map->nodes[index].key != key) return false;
1 80001 if (index >= map->capacity || map->nodes[index].key != key) return false;
80002 0 if (index >= map->capacity || map->nodes[index].key != key) return false;
1 80001 if (index >= map->capacity || map->nodes[index].key != key) return false;
280019 0 if (index >= map->capacity || map->nodes[index].key != key) return false;
1 280018 if (index >= map->capacity || map->nodes[index].key != key) return false;
150003 0 if (index >= map->capacity || map->nodes[index].key != key) return false;
1 150002 if (index >= map->capacity || map->nodes[index].key != key) return false;
60002 0 if (index >= map->capacity || map->nodes[index].key != key) return false;
1 60001 if (index >= map->capacity || map->nodes[index].key != key) return false;
80004 0 if (index >= map->capacity || map->nodes[index].key != key) return false;
1 80003 if (index >= map->capacity || map->nodes[index].key != key) return false;
1032 0 2 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 2 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 2 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 80001 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 80001 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
2 280016 if (map->expires_at && map->expires_at[index] &&
2 0 if (map->expires_at && map->expires_at[index] &&
0 150002 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 60001 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 80003 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
1033 0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
1 1 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
1038 0 2 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 2 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 2 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 80001 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 80001 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
5 280012 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 150002 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 60001 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 80003 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
1040 2 0 if (map->tombstones > map->capacity / 4 ||
2 0 if (map->tombstones > map->capacity / 4 ||
2 0 if (map->tombstones > map->capacity / 4 ||
79998 3 if (map->tombstones > map->capacity / 4 ||
79998 3 if (map->tombstones > map->capacity / 4 ||
280013 4 if (map->tombstones > map->capacity / 4 ||
149997 5 if (map->tombstones > map->capacity / 4 ||
59998 3 if (map->tombstones > map->capacity / 4 ||
79998 5 if (map->tombstones > map->capacity / 4 ||
1041 1 1 (map->size > 0 && map->tombstones > map->size)) {
0 1 (map->size > 0 && map->tombstones > map->size)) {
1 1 (map->size > 0 && map->tombstones > map->size)) {
0 1 (map->size > 0 && map->tombstones > map->size)) {
1 1 (map->size > 0 && map->tombstones > map->size)) {
0 1 (map->size > 0 && map->tombstones > map->size)) {
79994 4 (map->size > 0 && map->tombstones > map->size)) {
47 79947 (map->size > 0 && map->tombstones > map->size)) {
79994 4 (map->size > 0 && map->tombstones > map->size)) {
47 79947 (map->size > 0 && map->tombstones > map->size)) {
280001 12 (map->size > 0 && map->tombstones > map->size)) {
104 279897 (map->size > 0 && map->tombstones > map->size)) {
149989 8 (map->size > 0 && map->tombstones > map->size)) {
74 149915 (map->size > 0 && map->tombstones > map->size)) {
59994 4 (map->size > 0 && map->tombstones > map->size)) {
46 59948 (map->size > 0 && map->tombstones > map->size)) {
79990 8 (map->size > 0 && map->tombstones > map->size)) {
68 79922 (map->size > 0 && map->tombstones > map->size)) {
1051 3 0 if (!map || !key) return false;
0 3 if (!map || !key) return false;
80003 0 if (!map || !key) return false;
0 80003 if (!map || !key) return false;
80003 0 if (!map || !key) return false;
0 80003 if (!map || !key) return false;
80004 0 if (!map || !key) return false;
0 80004 if (!map || !key) return false;
80003 0 if (!map || !key) return false;
0 80003 if (!map || !key) return false;
1054 3 0 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
1 2 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
80003 0 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
1 80002 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
80003 0 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
1 80002 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
80004 0 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
1 80003 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
80003 0 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
1 80002 if (index >= map->capacity || map->nodes[index].key == NULL) return false;
1057 0 2 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 80002 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 80002 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 80003 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 80002 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
1058 0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
1063 0 2 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 80002 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 80002 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 80003 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
0 80002 if (map->lru_prev) HM_FN(lru_unlink)(map, (uint32_t)index);
1065 2 0 if (map->tombstones > map->capacity / 4 ||
79999 3 if (map->tombstones > map->capacity / 4 ||
79999 3 if (map->tombstones > map->capacity / 4 ||
80000 3 if (map->tombstones > map->capacity / 4 ||
79999 3 if (map->tombstones > map->capacity / 4 ||
1066 1 1 (map->size > 0 && map->tombstones > map->size)) {
0 1 (map->size > 0 && map->tombstones > map->size)) {
79995 4 (map->size > 0 && map->tombstones > map->size)) {
47 79948 (map->size > 0 && map->tombstones > map->size)) {
79994 5 (map->size > 0 && map->tombstones > map->size)) {
47 79947 (map->size > 0 && map->tombstones > map->size)) {
79995 5 (map->size > 0 && map->tombstones > map->size)) {
47 79948 (map->size > 0 && map->tombstones > map->size)) {
79994 5 (map->size > 0 && map->tombstones > map->size)) {
47 79947 (map->size > 0 && map->tombstones > map->size)) {
1088 0 11 if (k == key) return index;
0 6 if (k == key) return index;
0 8 if (k == key) return index;
1089 10 1 if (k == HM_EMPTY_KEY) {
5 1 if (k == HM_EMPTY_KEY) {
6 2 if (k == HM_EMPTY_KEY) {
1090 1 9 size_t target = (first_tombstone < map->capacity) ? first_tombstone : index;
1 4 size_t target = (first_tombstone < map->capacity) ? first_tombstone : index;
2 4 size_t target = (first_tombstone < map->capacity) ? first_tombstone : index;
1091 1 9 if (nodes[target].key == HM_TOMBSTONE_KEY) map->tombstones--;
1 4 if (nodes[target].key == HM_TOMBSTONE_KEY) map->tombstones--;
2 4 if (nodes[target].key == HM_TOMBSTONE_KEY) map->tombstones--;
1097 1 0 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
1 0 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
1 0 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
1 0 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
2 0 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
2 0 if (k == HM_TOMBSTONE_KEY && first_tombstone >= map->capacity) {
1101 1 0 } while (index != original_index);
1 0 } while (index != original_index);
2 0 } while (index != original_index);
1103 0 0 if (first_tombstone < map->capacity) {
0 0 if (first_tombstone < map->capacity) {
0 0 if (first_tombstone < map->capacity) {
1114 15011 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
15011 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
15010 1 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
0 15010 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
7 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
7 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
6 1 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
0 6 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
8 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
8 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
7 1 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
0 7 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
1117 15010 0 if (index < map->capacity && map->nodes[index].key == key) {
4 15006 if (index < map->capacity && map->nodes[index].key == key) {
6 0 if (index < map->capacity && map->nodes[index].key == key) {
2 4 if (index < map->capacity && map->nodes[index].key == key) {
7 0 if (index < map->capacity && map->nodes[index].key == key) {
3 4 if (index < map->capacity && map->nodes[index].key == key) {
1119 2 15004 if (map->expires_at && map->expires_at[index] &&
2 0 if (map->expires_at && map->expires_at[index] &&
0 4 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 4 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
1120 1 1 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
1124 1 15004 if (map->nodes[index].value == HM_INT_MAX) return false;
1 3 if (map->nodes[index].value == HM_INT_MAX) return false;
1 3 if (map->nodes[index].value == HM_INT_MAX) return false;
1126 1 15003 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
0 3 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
0 3 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
1127 1 15003 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 1 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 3 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 3 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
1132 1 4 if (map->max_size > 0 && map->size >= map->max_size)
1 0 if (map->max_size > 0 && map->size >= map->max_size)
0 2 if (map->max_size > 0 && map->size >= map->max_size)
0 0 if (map->max_size > 0 && map->size >= map->max_size)
0 3 if (map->max_size > 0 && map->size >= map->max_size)
0 0 if (map->max_size > 0 && map->size >= map->max_size)
1135 0 5 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
0 2 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
0 3 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
1136 0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
1137 0 0 if (!HM_FN(compact)(map)) return false;
0 0 if (!HM_FN(compact)(map)) return false;
0 0 if (!HM_FN(compact)(map)) return false;
1139 0 0 if (!HM_FN(resize)(map)) return false;
0 0 if (!HM_FN(resize)(map)) return false;
0 0 if (!HM_FN(resize)(map)) return false;
1144 0 5 if (index >= map->capacity) return false;
0 2 if (index >= map->capacity) return false;
0 3 if (index >= map->capacity) return false;
1146 1 4 if (map->lru_prev) HM_FN(lru_push_front)(map, (uint32_t)index);
0 2 if (map->lru_prev) HM_FN(lru_push_front)(map, (uint32_t)index);
0 3 if (map->lru_prev) HM_FN(lru_push_front)(map, (uint32_t)index);
1147 1 4 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
1 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 2 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
1 2 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
1 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
1152 8 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
8 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
8 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
0 8 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
7 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
7 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
7 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
0 7 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
8 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
8 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
8 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
0 8 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
1155 8 0 if (index < map->capacity && map->nodes[index].key == key) {
3 5 if (index < map->capacity && map->nodes[index].key == key) {
7 0 if (index < map->capacity && map->nodes[index].key == key) {
2 5 if (index < map->capacity && map->nodes[index].key == key) {
8 0 if (index < map->capacity && map->nodes[index].key == key) {
2 6 if (index < map->capacity && map->nodes[index].key == key) {
1157 0 5 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 5 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 6 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
1158 0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
1163 2 3 if (delta > 0 && val > HM_INT_MAX - delta) return false;
1 1 if (delta > 0 && val > HM_INT_MAX - delta) return false;
2 3 if (delta > 0 && val > HM_INT_MAX - delta) return false;
1 1 if (delta > 0 && val > HM_INT_MAX - delta) return false;
3 3 if (delta > 0 && val > HM_INT_MAX - delta) return false;
1 2 if (delta > 0 && val > HM_INT_MAX - delta) return false;
1164 2 2 if (delta < 0) {
2 2 if (delta < 0) {
2 3 if (delta < 0) {
1165 0 2 if (delta == HM_INT_MIN) { if (val < 0) return false; }
0 0 if (delta == HM_INT_MIN) { if (val < 0) return false; }
0 2 if (delta == HM_INT_MIN) { if (val < 0) return false; }
0 0 if (delta == HM_INT_MIN) { if (val < 0) return false; }
0 2 if (delta == HM_INT_MIN) { if (val < 0) return false; }
0 0 if (delta == HM_INT_MIN) { if (val < 0) return false; }
1166 1 1 else { if (val < HM_INT_MIN - delta) return false; }
1 1 else { if (val < HM_INT_MIN - delta) return false; }
1 1 else { if (val < HM_INT_MIN - delta) return false; }
1170 0 3 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
0 3 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
0 4 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
1171 0 3 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 3 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 4 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
1176 0 3 if (map->max_size > 0 && map->size >= map->max_size)
0 0 if (map->max_size > 0 && map->size >= map->max_size)
0 2 if (map->max_size > 0 && map->size >= map->max_size)
0 0 if (map->max_size > 0 && map->size >= map->max_size)
0 2 if (map->max_size > 0 && map->size >= map->max_size)
0 0 if (map->max_size > 0 && map->size >= map->max_size)
1179 0 3 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
0 2 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
0 2 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
1180 0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
1181 0 0 if (!HM_FN(compact)(map)) return false;
0 0 if (!HM_FN(compact)(map)) return false;
0 0 if (!HM_FN(compact)(map)) return false;
1183 0 0 if (!HM_FN(resize)(map)) return false;
0 0 if (!HM_FN(resize)(map)) return false;
0 0 if (!HM_FN(resize)(map)) return false;
1188 0 3 if (index >= map->capacity) return false;
0 2 if (index >= map->capacity) return false;
0 2 if (index >= map->capacity) return false;
1191 0 3 if (map->lru_prev) HM_FN(lru_push_front)(map, (uint32_t)index);
0 2 if (map->lru_prev) HM_FN(lru_push_front)(map, (uint32_t)index);
0 2 if (map->lru_prev) HM_FN(lru_push_front)(map, (uint32_t)index);
1192 0 3 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 2 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 2 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
1197 5006 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
5006 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
5005 1 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
0 5005 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
5 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
5 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
4 1 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
0 4 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
6 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
6 0 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
5 1 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
0 5 if (!map || !out_value || HM_IS_RESERVED_KEY(key)) return false;
1200 5005 0 if (index < map->capacity && map->nodes[index].key == key) {
2 5003 if (index < map->capacity && map->nodes[index].key == key) {
4 0 if (index < map->capacity && map->nodes[index].key == key) {
1 3 if (index < map->capacity && map->nodes[index].key == key) {
5 0 if (index < map->capacity && map->nodes[index].key == key) {
1 4 if (index < map->capacity && map->nodes[index].key == key) {
1202 0 5003 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 3 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 4 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
1203 0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
1207 1 5002 if (map->nodes[index].value == HM_INT_MIN) return false;
1 2 if (map->nodes[index].value == HM_INT_MIN) return false;
1 3 if (map->nodes[index].value == HM_INT_MIN) return false;
1209 0 5002 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
0 2 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
0 3 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
1210 0 5002 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 2 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 3 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
1215 0 2 if (map->max_size > 0 && map->size >= map->max_size)
0 0 if (map->max_size > 0 && map->size >= map->max_size)
0 1 if (map->max_size > 0 && map->size >= map->max_size)
0 0 if (map->max_size > 0 && map->size >= map->max_size)
0 1 if (map->max_size > 0 && map->size >= map->max_size)
0 0 if (map->max_size > 0 && map->size >= map->max_size)
1218 0 2 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
0 1 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
0 1 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
1219 0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
1220 0 0 if (!HM_FN(compact)(map)) return false;
0 0 if (!HM_FN(compact)(map)) return false;
0 0 if (!HM_FN(compact)(map)) return false;
1222 0 0 if (!HM_FN(resize)(map)) return false;
0 0 if (!HM_FN(resize)(map)) return false;
0 0 if (!HM_FN(resize)(map)) return false;
1227 0 2 if (index >= map->capacity) return false;
0 1 if (index >= map->capacity) return false;
0 1 if (index >= map->capacity) return false;
1229 0 2 if (map->lru_prev) HM_FN(lru_push_front)(map, (uint32_t)index);
0 1 if (map->lru_prev) HM_FN(lru_push_front)(map, (uint32_t)index);
0 1 if (map->lru_prev) HM_FN(lru_push_front)(map, (uint32_t)index);
1230 0 2 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 1 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 1 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
1245 5 1 if (nodes[index].key == NULL) {
10 3 if (nodes[index].key == NULL) {
6 3 if (nodes[index].key == NULL) {
1246 0 5 size_t target = (first_tombstone < map->capacity) ? first_tombstone : index;
2 8 size_t target = (first_tombstone < map->capacity) ? first_tombstone : index;
2 4 size_t target = (first_tombstone < map->capacity) ? first_tombstone : index;
1248 0 5 if (!new_key) return map->capacity;
0 10 if (!new_key) return map->capacity;
0 6 if (!new_key) return map->capacity;
1251 0 5 if (HM_SLOT_IS_TOMBSTONE(&nodes[target])) map->tombstones--;
2 8 if (HM_SLOT_IS_TOMBSTONE(&nodes[target])) map->tombstones--;
2 4 if (HM_SLOT_IS_TOMBSTONE(&nodes[target])) map->tombstones--;
1253 0 5 nodes[target].key_len = HM_PACK_LEN(key_len, key_utf8);
0 10 nodes[target].key_len = HM_PACK_LEN(key_len, key_utf8);
0 6 nodes[target].key_len = HM_PACK_LEN(key_len, key_utf8);
1259 0 1 if (nodes[index].key == HM_STR_TOMBSTONE) {
2 1 if (nodes[index].key == HM_STR_TOMBSTONE) {
2 1 if (nodes[index].key == HM_STR_TOMBSTONE) {
1260 0 0 if (first_tombstone >= map->capacity) first_tombstone = index;
2 0 if (first_tombstone >= map->capacity) first_tombstone = index;
2 0 if (first_tombstone >= map->capacity) first_tombstone = index;
1261 0 1 } else if (nodes[index].key_hash == key_hash &&
0 1 } else if (nodes[index].key_hash == key_hash &&
0 1 } else if (nodes[index].key_hash == key_hash &&
1262 0 0 HM_UNPACK_LEN(nodes[index].key_len) == key_len &&
0 0 HM_UNPACK_LEN(nodes[index].key_len) == key_len &&
0 0 HM_UNPACK_LEN(nodes[index].key_len) == key_len &&
1263 0 0 memcmp(nodes[index].key, key, key_len) == 0) {
0 0 memcmp(nodes[index].key, key, key_len) == 0) {
0 0 memcmp(nodes[index].key, key, key_len) == 0) {
1267 1 0 } while (index != original_index);
3 0 } while (index != original_index);
3 0 } while (index != original_index);
1269 0 0 if (first_tombstone < map->capacity) {
0 0 if (first_tombstone < map->capacity) {
0 0 if (first_tombstone < map->capacity) {
1271 0 0 if (!new_key) return map->capacity;
0 0 if (!new_key) return map->capacity;
0 0 if (!new_key) return map->capacity;
1276 0 0 nodes[first_tombstone].key_len = HM_PACK_LEN(key_len, key_utf8);
0 0 nodes[first_tombstone].key_len = HM_PACK_LEN(key_len, key_utf8);
0 0 nodes[first_tombstone].key_len = HM_PACK_LEN(key_len, key_utf8);
1288 10 0 if (!map || !key || !out_value) return false;
10 0 if (!map || !key || !out_value) return false;
0 10 if (!map || !key || !out_value) return false;
15013 0 if (!map || !key || !out_value) return false;
15013 0 if (!map || !key || !out_value) return false;
0 15013 if (!map || !key || !out_value) return false;
8 0 if (!map || !key || !out_value) return false;
8 0 if (!map || !key || !out_value) return false;
0 8 if (!map || !key || !out_value) return false;
1291 10 0 if (index < map->capacity && map->nodes[index].key != NULL &&
2 8 if (index < map->capacity && map->nodes[index].key != NULL &&
15013 0 if (index < map->capacity && map->nodes[index].key != NULL &&
6 15007 if (index < map->capacity && map->nodes[index].key != NULL &&
8 0 if (index < map->capacity && map->nodes[index].key != NULL &&
4 4 if (index < map->capacity && map->nodes[index].key != NULL &&
1292 0 8 map->nodes[index].key != HM_STR_TOMBSTONE) {
0 15007 map->nodes[index].key != HM_STR_TOMBSTONE) {
0 4 map->nodes[index].key != HM_STR_TOMBSTONE) {
1294 0 8 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 15007 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 4 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
1295 0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
1299 1 7 if (map->nodes[index].value == HM_INT_MAX) return false;
1 15006 if (map->nodes[index].value == HM_INT_MAX) return false;
1 3 if (map->nodes[index].value == HM_INT_MAX) return false;
1301 0 7 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
1 15005 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
1 2 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
1302 0 7 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 15006 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 3 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
1307 0 2 if (map->max_size > 0 && map->size >= map->max_size)
0 0 if (map->max_size > 0 && map->size >= map->max_size)
0 6 if (map->max_size > 0 && map->size >= map->max_size)
0 0 if (map->max_size > 0 && map->size >= map->max_size)
0 4 if (map->max_size > 0 && map->size >= map->max_size)
0 0 if (map->max_size > 0 && map->size >= map->max_size)
1310 0 2 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
0 6 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
0 4 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
1311 0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
1312 0 0 if (!HM_FN(compact)(map)) return false;
0 0 if (!HM_FN(compact)(map)) return false;
0 0 if (!HM_FN(compact)(map)) return false;
1314 0 0 if (!HM_FN(resize)(map)) return false;
0 0 if (!HM_FN(resize)(map)) return false;
0 0 if (!HM_FN(resize)(map)) return false;
1319 0 2 if (index >= map->capacity) return false;
0 6 if (index >= map->capacity) return false;
0 4 if (index >= map->capacity) return false;
1321 0 2 if (map->lru_prev) HM_FN(lru_push_front)(map, (uint32_t)index);
0 6 if (map->lru_prev) HM_FN(lru_push_front)(map, (uint32_t)index);
0 4 if (map->lru_prev) HM_FN(lru_push_front)(map, (uint32_t)index);
1322 0 2 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
1 5 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
1 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
1 3 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
1 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
1329 6 0 if (!map || !key || !out_value) return false;
6 0 if (!map || !key || !out_value) return false;
0 6 if (!map || !key || !out_value) return false;
6 0 if (!map || !key || !out_value) return false;
6 0 if (!map || !key || !out_value) return false;
0 6 if (!map || !key || !out_value) return false;
6 0 if (!map || !key || !out_value) return false;
6 0 if (!map || !key || !out_value) return false;
0 6 if (!map || !key || !out_value) return false;
1332 6 0 if (index < map->capacity && map->nodes[index].key != NULL &&
2 4 if (index < map->capacity && map->nodes[index].key != NULL &&
6 0 if (index < map->capacity && map->nodes[index].key != NULL &&
2 4 if (index < map->capacity && map->nodes[index].key != NULL &&
6 0 if (index < map->capacity && map->nodes[index].key != NULL &&
1 5 if (index < map->capacity && map->nodes[index].key != NULL &&
1333 0 4 map->nodes[index].key != HM_STR_TOMBSTONE) {
0 4 map->nodes[index].key != HM_STR_TOMBSTONE) {
0 5 map->nodes[index].key != HM_STR_TOMBSTONE) {
1335 0 4 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 4 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
0 5 if (map->expires_at && map->expires_at[index] &&
0 0 if (map->expires_at && map->expires_at[index] &&
1336 0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
0 0 (uint32_t)time(NULL) >= map->expires_at[index]) {
1341 1 3 if (delta > 0 && val > HM_INT_MAX - delta) return false;
1 0 if (delta > 0 && val > HM_INT_MAX - delta) return false;
1 3 if (delta > 0 && val > HM_INT_MAX - delta) return false;
1 0 if (delta > 0 && val > HM_INT_MAX - delta) return false;
3 2 if (delta > 0 && val > HM_INT_MAX - delta) return false;
1 2 if (delta > 0 && val > HM_INT_MAX - delta) return false;
1342 2 1 if (delta < 0) {
2 1 if (delta < 0) {
2 2 if (delta < 0) {
1343 0 2 if (delta == HM_INT_MIN) { if (val < 0) return false; }
0 0 if (delta == HM_INT_MIN) { if (val < 0) return false; }
0 2 if (delta == HM_INT_MIN) { if (val < 0) return false; }
0 0 if (delta == HM_INT_MIN) { if (val < 0) return false; }
0 2 if (delta == HM_INT_MIN) { if (val < 0) return false; }
0 0 if (delta == HM_INT_MIN) { if (val < 0) return false; }
1344 1 1 else { if (val < HM_INT_MIN - delta) return false; }
1 1 else { if (val < HM_INT_MIN - delta) return false; }
1 1 else { if (val < HM_INT_MIN - delta) return false; }
1348 0 2 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
0 2 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
0 3 if (map->lru_prev) HM_FN(lru_promote)(map, (uint32_t)index);
1349 0 2 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 2 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 3 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
1354 0 2 if (map->max_size > 0 && map->size >= map->max_size)
0 0 if (map->max_size > 0 && map->size >= map->max_size)
0 2 if (map->max_size > 0 && map->size >= map->max_size)
0 0 if (map->max_size > 0 && map->size >= map->max_size)
0 1 if (map->max_size > 0 && map->size >= map->max_size)
0 0 if (map->max_size > 0 && map->size >= map->max_size)
1357 0 2 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
0 2 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
0 1 if ((map->size + map->tombstones) * 4 >= map->capacity * 3) {
1358 0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
0 0 if (map->max_size > 0 && map->tombstones > 0) {
1359 0 0 if (!HM_FN(compact)(map)) return false;
0 0 if (!HM_FN(compact)(map)) return false;
0 0 if (!HM_FN(compact)(map)) return false;
1361 0 0 if (!HM_FN(resize)(map)) return false;
0 0 if (!HM_FN(resize)(map)) return false;
0 0 if (!HM_FN(resize)(map)) return false;
1366 0 2 if (index >= map->capacity) return false;
0 2 if (index >= map->capacity) return false;
0 1 if (index >= map->capacity) return false;
1369 0 2 if (map->lru_prev) HM_FN(lru_push_front)(map, (uint32_t)index);
0 2 if (map->lru_prev) HM_FN(lru_push_front)(map, (uint32_t)index);
0 1 if (map->lru_prev) HM_FN(lru_push_front)(map, (uint32_t)index);
1370 0 2 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 2 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 1 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;
0 0 if (map->expires_at && map->default_ttl > 0) map->expires_at[index] = (uint32_t)time(NULL) + map->default_ttl;