FARGOS/VISTA Object Management Environment Core  ..
FARGOS/VISTA Object Management Environment Core Table of Contents
bloom_filter.hpp File Reference

Bloom filter implementation. More...

Go to the source code of this file.

Classes

class  BloomFilterForKey< HASHTYPE, KEYTYPE >
 Templated Bloom filter. More...
 

Macros

#define SHIFT_N_BITS_TO_POSITION(v, n, f, t)   (((f >= t) ? ((v) >> (f - t)) : ((v) << (t - f))) & (((1 << n) - 1) << t))
 

Detailed Description

Bloom filter implementation.

Macro Definition Documentation

◆ SHIFT_N_BITS_TO_POSITION

#define SHIFT_N_BITS_TO_POSITION (   v,
  n,
  f,
 
)    (((f >= t) ? ((v) >> (f - t)) : ((v) << (t - f))) & (((1 << n) - 1) << t))
Parameters
vis source value
nis width of field in bits
fis starting bit position, least significant bit is 0
tis destination bit position
Generated: Tue Jul 28 2020 16:03:26
Support Information