Searched refs:WordWidth (Results 1 – 1 of 1) sorted by relevance
60 static unsigned constexpr WordWidth = CHAR_BIT*sizeof(WordType); member61 static unsigned constexpr NumWords = Capacity/WordWidth;62 static_assert(NumWords*WordWidth == Capacity,90 return (Words[T.SimpleTy / WordWidth] >> (T.SimpleTy % WordWidth)) & 1; in count()94 Words[T.SimpleTy / WordWidth] |= WordType(1) << (T.SimpleTy % WordWidth); in insert()104 Words[T.SimpleTy / WordWidth] &= ~(WordType(1) << (T.SimpleTy % WordWidth)); in erase()143 unsigned SkipWords = P / WordWidth; in find_from_pos()144 unsigned SkipBits = P % WordWidth; in find_from_pos()145 unsigned Count = SkipWords * WordWidth; in find_from_pos()151 W &= maskLeadingOnes<WordType>(WordWidth-SkipBits); in find_from_pos()[all …]