Searched refs:number_slot_t (Results 1 – 1 of 1) sorted by relevance
33 typedef unsigned int number_slot_t; typedef34 #define BITS_PER_SLOT (sizeof(number_slot_t) * 8)37 number_slot_t *vec;53 number_setbit(const unsigned int i, number_slot_t *const vec) in number_setbit()55 vec[i / BITS_PER_SLOT] |= (number_slot_t) 1 << (i % BITS_PER_SLOT); in number_setbit()59 number_isset(const unsigned int i, const number_slot_t *const vec) in number_isset()61 return vec[i / BITS_PER_SLOT] & ((number_slot_t) 1 << (i % BITS_PER_SLOT)); in number_isset()