Home
last modified time | relevance | path

Searched refs:DS_HTABLE_MIN_CAPACITY (Results 1 – 4 of 4) sorted by relevance

/ext-ds/src/ds/
H A Dds_htable.c116 if (table->size <= (capacity / 4) && (capacity / 2) >= DS_HTABLE_MIN_CAPACITY) { in ds_htable_auto_truncate()
140 return ds_htable_with_capacity(DS_HTABLE_MIN_CAPACITY); in ds_htable()
497 if (table->capacity > DS_HTABLE_MIN_CAPACITY) { in ds_htable_clear()
498 ds_htable_realloc(table, DS_HTABLE_MIN_CAPACITY); in ds_htable_clear()
625 return ds_next_power_of_2(size, DS_HTABLE_MIN_CAPACITY); in ds_htable_get_capacity_for_size()
H A Dds_htable.h6 #define DS_HTABLE_MIN_CAPACITY 8 // Must be a power of 2 macro
/ext-ds/src/php/classes/
H A Dphp_set_ce.c313 DS_HTABLE_MIN_CAPACITY in php_ds_register_set()
H A Dphp_map_ce.c377 DS_HTABLE_MIN_CAPACITY in php_ds_register_map()

Completed in 14 milliseconds