Searched refs:lookup (Results 1 – 2 of 2) sorted by relevance
24 static inline uint32_t *ds_htable_reallocate_lookup(uint32_t *lookup, uint32_t capacity) in ds_htable_reallocate_lookup() argument26 return erealloc(lookup, capacity * sizeof(uint32_t)); in ds_htable_reallocate_lookup()31 memset(table->lookup, DS_HTABLE_INVALID_INDEX, table->capacity * sizeof(uint32_t)); in ds_htable_reset_lookup()37 table->lookup = ds_htable_reallocate_lookup(table->lookup, capacity); in ds_htable_realloc()128 table->lookup = ds_htable_allocate_lookup(capacity); in ds_htable_with_capacity()149 memcpy(_dst->lookup, _src->lookup, _src->capacity * sizeof(uint32_t)); in ds_htable_copy()165 dst->lookup = ds_htable_allocate_lookup(src->capacity); in ds_htable_clone()511 efree(table->lookup); in ds_htable_free()1154 uint32_t *lookup = &reversed->lookup[DS_HTABLE_BUCKET_HASH(src) & mask]; in ds_htable_reversed() local1157 DS_HTABLE_BUCKET_NEXT(dst) = *lookup; in ds_htable_reversed()[all …]
35 #define DS_HTABLE_BUCKET_LOOKUP(t, h) ((t)->lookup[h & ((t)->capacity - 1)])58 uint32_t *head = &_table->lookup[hash & (mask)]; \154 uint32_t *lookup; // Separated hash lookup table member
Completed in 12 milliseconds