void set(long pos) {
    int bytePos = (int) (pos / 8);
    int bitPos = (int) (pos % 8);
    byte curByte = bloom.get(bytePos);
    curByte |= BloomFilterUtil.bitvals[bitPos];
    bloom.put(bytePos, curByte);
  }
Set the bit at the specified index to 1.
@param pos index of bit
hbase-server/src/main/java/org/apache/hadoop/hbase/util/BloomFilterChunk.java