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()62 uint32_t nPages = calcNumPages(ranges, nRanges); in initFromRanges()69 for (size_t i = 0; i < nRanges; i++) { in initFromRanges()
42 SparseBitSet(const uint32_t* ranges, size_t nRanges) : SparseBitSet() { in SparseBitSet() argument43 initFromRanges(ranges, nRanges); in SparseBitSet()71 void initFromRanges(const uint32_t* ranges, size_t nRanges);86 static uint32_t calcNumPages(const uint32_t* ranges, size_t nRanges);