/// `add` adds hash of a key to the bloom filter
`add` adds hash of a key to the bloom filter
` add ` adds hash of a key to the bloom filter
pub fn add(&mut self, hash: u64) {
        let h = hash >> self.shift;
        let l = (hash << self.shift) >> self.shift;
        (0..self.set_locs).for_each(|i| {
            self.set(((h + i * l) & self.size) as usize);
            self.elem_num += 1;
        });
    }
pub fn add ( & mut self , hash : u64 ) { let h = hash >> self . shift ; let l = ( hash << self . shift ) >> self . shift ; ( 0 .. self . set_locs ) . for_each ( | i | { self . set ( ( ( h + i * l ) & self . size ) as usize ) ; self . elem_num += 1 ; } ) ; }
`add` adds hash of a key to the bloom filter
` add ` adds hash of a key to the bloom filter
&mut self
hash
u64