Searched refs:kLogBitsPerEl (Results 1 – 2 of 2) sorted by relevance
60 mBitmaps.reset(new element[nPages << (kLogValuesPerPage - kLogBitsPerEl)]()); in initFromRanges()73 mZeroPageIndex = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()79 mIndices[startPage] = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()82 size_t index = ((currentPage - 1) << (kLogValuesPerPage - kLogBitsPerEl)) + in initFromRanges()83 ((start & kPageMask) >> kLogBitsPerEl); in initFromRanges()84 size_t nElements = (end - (start & ~kElMask) + kElMask) >> kLogBitsPerEl; in initFromRanges()96 mIndices[j] = (currentPage++) << (kLogValuesPerPage - kLogBitsPerEl); in initFromRanges()113 uint32_t offset = (fromIndex & kPageMask) >> kLogBitsPerEl; in nextSetBit()118 for (uint32_t j = offset + 1; j < (1 << (kLogValuesPerPage - kLogBitsPerEl)); j++) { in nextSetBit()121 return (fromIndex & ~kPageMask) + (j << kLogBitsPerEl) + CountLeadingZeros(e); in nextSetBit()[all …]
53 return (bitmap[index >> kLogBitsPerEl] & (kElFirst >> (index & kElMask))) != 0; in get()72 static const int kLogBitsPerEl = kLogBytesPerEl + 3; variable73 static const int kElMask = (1 << kLogBitsPerEl) - 1;