Searched refs:nRanges (Results 1 – 2 of 2) sorted by relevance
25 uint32_t SparseBitSet::calcNumPages(const uint32_t* ranges, size_t nRanges) { in calcNumPages() argument29 for (size_t i = 0; i < nRanges; i++) { in calcNumPages()49 void SparseBitSet::initFromRanges(const uint32_t* ranges, size_t nRanges) { in initFromRanges() argument50 if (nRanges == 0) { in initFromRanges()53 const uint32_t maxVal = ranges[nRanges * 2 - 1]; in initFromRanges()59 uint32_t nPages = calcNumPages(ranges, nRanges); in initFromRanges()64 for (size_t i = 0; i < nRanges; i++) { in initFromRanges()
41 SparseBitSet(const uint32_t* ranges, size_t nRanges) : SparseBitSet() { in SparseBitSet() argument42 initFromRanges(ranges, nRanges); in SparseBitSet()66 void initFromRanges(const uint32_t* ranges, size_t nRanges);80 static uint32_t calcNumPages(const uint32_t* ranges, size_t nRanges);