src/base/filters/base.hh
/**
     * Create and clear the filter.
     */
Create and clear the filter.
Create and clear the filter .
Base(const BloomFilterBaseParams &p)
        : SimObject(p), offsetBits(p.offset_bits),
          filter(p.size, SatCounter8(p.num_bits)),
          sizeBits(floorLog2(p.size)), setThreshold(p.threshold)
    {
        clear();
    }
Base ( const BloomFilterBaseParams & p ) : SimObject ( p ) , offsetBits ( p . offset_bits ) , filter ( p . size , SatCounter8 ( p . num_bits ) ) , sizeBits ( floorLog2 ( p . size ) ) , setThreshold ( p . threshold ) { clear ( ) ; }
Create and clear the filter.
Create and clear the filter .