Searched refs:mask (Results 1 – 3 of 3) sorted by relevance
/ext-ds/src/ds/ |
H A D | ds_htable.h | 52 #define DS_HTABLE_BUCKET_REHASH(table, bucket, mask, idx) \ argument 58 uint32_t *head = &_table->lookup[hash & (mask)]; \
|
H A D | ds_deque.c | 257 zend_long mask = deque->capacity - 1; in ds_deque_reverse() local 260 tail = (tail - 1) & mask; in ds_deque_reverse() 265 head = (head + 1) & mask; in ds_deque_reverse() 477 zend_long mask = deque->capacity - 1; in ds_deque_find_index() local 482 if (zend_is_identical(value, &deque->buffer[head & mask])) { in ds_deque_find_index()
|
H A D | ds_htable.c | 43 const uint32_t mask = table->capacity - 1; in ds_htable_rehash() local 61 DS_HTABLE_BUCKET_REHASH(table, bucket, mask, index); in ds_htable_rehash() 76 DS_HTABLE_BUCKET_REHASH(table, q, mask, j); in ds_htable_rehash() 85 DS_HTABLE_BUCKET_REHASH(table, bucket, mask, index); in ds_htable_rehash() 1151 const uint32_t mask = reversed->capacity - 1; in ds_htable_reversed() local 1154 uint32_t *lookup = &reversed->lookup[DS_HTABLE_BUCKET_HASH(src) & mask]; in ds_htable_reversed()
|
Completed in 10 milliseconds