Searched refs:WordWidth (Results 1 – 1 of 1) sorted by relevance
63 static unsigned constexpr NumWords = Capacity/WordWidth;64 static_assert(NumWords*WordWidth == Capacity,92 return (Words[T.SimpleTy / WordWidth] >> (T.SimpleTy % WordWidth)) & 1; in count()96 Words[T.SimpleTy / WordWidth] |= WordType(1) << (T.SimpleTy % WordWidth); in insert()106 Words[T.SimpleTy / WordWidth] &= ~(WordType(1) << (T.SimpleTy % WordWidth)); in erase()145 unsigned SkipWords = P / WordWidth; in find_from_pos()146 unsigned SkipBits = P % WordWidth; in find_from_pos()147 unsigned Count = SkipWords * WordWidth; in find_from_pos()153 W &= maskLeadingOnes<WordType>(WordWidth-SkipBits); in find_from_pos()156 Count += WordWidth; in find_from_pos()[all …]