Searched refs:nRanges (Results 1 – 2 of 2) sorted by relevance
31 uint32_t SparseBitSet::calcNumPages(const uint32_t* ranges, size_t nRanges) { in calcNumPages() argument35 for (size_t i = 0; i < nRanges; i++) { in calcNumPages()55 void SparseBitSet::initFromRanges(const uint32_t* ranges, size_t nRanges) { in initFromRanges() argument56 if (nRanges == 0) { in initFromRanges()62 mMaxVal = ranges[nRanges * 2 - 1]; in initFromRanges()65 uint32_t nPages = calcNumPages(ranges, nRanges); in initFromRanges()71 for (size_t i = 0; i < nRanges; i++) { in initFromRanges()
45 void initFromRanges(const uint32_t* ranges, size_t nRanges);78 static uint32_t calcNumPages(const uint32_t* ranges, size_t nRanges);