Searched refs:WordWidth (Results 1 – 1 of 1) sorted by relevance
59 static unsigned constexpr WordWidth = CHAR_BIT*sizeof(WordType); member60 static unsigned constexpr NumWords = Capacity/WordWidth;61 static_assert(NumWords*WordWidth == Capacity,89 return (Words[T.SimpleTy / WordWidth] >> (T.SimpleTy % WordWidth)) & 1; in count()93 Words[T.SimpleTy / WordWidth] |= WordType(1) << (T.SimpleTy % WordWidth); in insert()103 Words[T.SimpleTy / WordWidth] &= ~(WordType(1) << (T.SimpleTy % WordWidth)); in erase()142 unsigned SkipWords = P / WordWidth; in find_from_pos()143 unsigned SkipBits = P % WordWidth; in find_from_pos()144 unsigned Count = SkipWords * WordWidth; in find_from_pos()150 W &= maskLeadingOnes<WordType>(WordWidth-SkipBits); in find_from_pos()[all …]