@@ -97,9 +97,9 @@ class BitMap {
9797 // Helper for get_next_{zero,one}_bit variants.
9898 // - flip designates whether searching for 1s or 0s. Must be one of
9999 // find_{zeros,ones}_flip.
100- // - aligned_right is true if r_index is a priori on a bm_word_t boundary.
100+ // - aligned_right is true if end is a priori on a bm_word_t boundary.
101101 template <bm_word_t flip, bool aligned_right>
102- inline idx_t get_next_bit_impl (idx_t l_index , idx_t r_index ) const ;
102+ inline idx_t get_next_bit_impl (idx_t beg , idx_t end ) const ;
103103
104104 // Values for get_next_bit_impl flip parameter.
105105 static const bm_word_t find_ones_flip = 0 ;
@@ -262,11 +262,11 @@ class BitMap {
262262 template <class BitMapClosureType >
263263 bool iterate(BitMapClosureType* cl);
264264
265- // Looking for 1's and 0's at indices equal to or greater than "l_index ",
266- // stopping if none has been found before "r_index ", and returning
267- // "r_index " (which must be at most "size") in that case.
268- idx_t get_next_one_offset (idx_t l_index , idx_t r_index ) const ;
269- idx_t get_next_zero_offset (idx_t l_index , idx_t r_index ) const ;
265+ // Looking for 1's and 0's at indices equal to or greater than "beg ",
266+ // stopping if none has been found before "end ", and returning
267+ // "end " (which must be at most "size") in that case.
268+ idx_t get_next_one_offset (idx_t beg , idx_t end ) const ;
269+ idx_t get_next_zero_offset (idx_t beg , idx_t end ) const ;
270270
271271 idx_t get_next_one_offset (idx_t offset) const {
272272 return get_next_one_offset (offset, size ());
@@ -275,9 +275,9 @@ class BitMap {
275275 return get_next_zero_offset (offset, size ());
276276 }
277277
278- // Like "get_next_one_offset", except requires that "r_index " is
278+ // Like "get_next_one_offset", except requires that "end " is
279279 // aligned to bitsizeof(bm_word_t).
280- idx_t get_next_one_offset_aligned_right (idx_t l_index , idx_t r_index ) const ;
280+ idx_t get_next_one_offset_aligned_right (idx_t beg , idx_t end ) const ;
281281
282282 // Returns the number of bits set in the bitmap.
283283 idx_t count_one_bits () const ;
0 commit comments