pub fn ones(bits: usize) -> Self {
        let (word, offset) = word_offset(bits);
        let mut bvec = vec![u64::max_value(); word];
        bvec.push(u64::max_value() >> (64 - offset));
        BitVector { vector: bvec }
    }
/// new bitvector contains all elements
///
/// If `bits % 64 > 0`, the last u64 is guaranteed not to
/// have any extra bit.
new bitvector contains all elements
If `bits % 64 > 0`, the last u64 is guaranteed not to
have any extra bit.
new bitvector contains all elements If ` bits % 64 > 0 ` the last u64 is guaranteed not to have any extra bit .
pub fn ones(bits: usize) -> Self {
        let (word, offset) = word_offset(bits);
        let mut bvec = vec![u64::max_value(); word];
        bvec.push(u64::max_value() >> (64 - offset));
        BitVector { vector: bvec }
    }
pub fn ones ( bits : usize ) -> Self { let ( word , offset ) = word_offset ( bits ) ; let mut bvec = vec ! [ u64 max_value ( ) word ] ; bvec . push ( u64 :: max_value ( ) >> ( 64 - offset ) ) ; BitVector { vector : bvec } }
new bitvector contains all elements
If `bits % 64 > 0`, the last u64 is guaranteed not to
have any extra bit.
new bitvector contains all elements If ` bits % 64 > 0 ` the last u64 is guaranteed not to have any extra bit .
bits
usize
bits
usize