Lines Matching refs:UInt32
161 const UInt32 num_blocks = (size_ / 512) + (((size_ % 512) != 0) ? 1 : 0);
163 Vector<UInt32> select0s;
164 Vector<UInt32> select1s;
165 UInt32 num_0s = 0;
166 UInt32 num_1s = 0;
167 for (UInt32 i = 0; i < size_; ++i) {
169 UInt32 rank_id = i / 512;
218 UInt32 rank_id = (size_ - 1) / 512;
342 UInt32 BitVector::rank1(UInt32 i) const {
345 UInt32 offset = rank.abs();
388 UInt32 BitVector::select0(UInt32 i) const {
389 UInt32 select_id = i / 512;
394 UInt32 begin = select0s_[select_id] / 512;
395 UInt32 end = (select0s_[select_id + 1] + 511) / 512;
402 UInt32 middle = (begin + end) / 2;
410 const UInt32 rank_id = begin;
414 UInt32 block_id = rank_id * 16;
444 UInt32 block = ~blocks_[block_id];
453 UInt32 bit_id = block_id * 32;
472 UInt32 BitVector::select1(UInt32 i) const {
473 UInt32 select_id = i / 512;
478 UInt32 begin = select1s_[select_id] / 512;
479 UInt32 end = (select1s_[select_id + 1] + 511) / 512;
486 UInt32 middle = (begin + end) / 2;
494 const UInt32 rank_id = begin;
498 UInt32 block_id = rank_id * 16;
528 UInt32 block = blocks_[block_id];
537 UInt32 bit_id = block_id * 32;