equal
deleted
inserted
replaced
235 } |
235 } |
236 return mask; |
236 return mask; |
237 } |
237 } |
238 |
238 |
239 inline void BitMap::set_large_range_of_words(idx_t beg, idx_t end) { |
239 inline void BitMap::set_large_range_of_words(idx_t beg, idx_t end) { |
|
240 assert(beg <= end, "underflow"); |
240 memset(_map + beg, ~(unsigned char)0, (end - beg) * sizeof(bm_word_t)); |
241 memset(_map + beg, ~(unsigned char)0, (end - beg) * sizeof(bm_word_t)); |
241 } |
242 } |
242 |
243 |
243 inline void BitMap::clear_large_range_of_words(idx_t beg, idx_t end) { |
244 inline void BitMap::clear_large_range_of_words(idx_t beg, idx_t end) { |
|
245 assert(beg <= end, "underflow"); |
244 memset(_map + beg, 0, (end - beg) * sizeof(bm_word_t)); |
246 memset(_map + beg, 0, (end - beg) * sizeof(bm_word_t)); |
245 } |
247 } |
246 |
248 |
247 inline BitMap::idx_t BitMap::word_index_round_up(idx_t bit) const { |
249 inline BitMap::idx_t BitMap::word_index_round_up(idx_t bit) const { |
248 idx_t bit_rounded_up = bit + (BitsPerWord - 1); |
250 idx_t bit_rounded_up = bit + (BitsPerWord - 1); |