FARGOS/VISTA Object Management Environment Core
..
|
Bloom filter implementation. More...
#include <utils/base/compiler_hints.h>
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)) |
Bloom filter implementation.
#define SHIFT_N_BITS_TO_POSITION | ( | v, | |
n, | |||
f, | |||
t | |||
) | (((f >= t) ? ((v) >> (f - t)) : ((v) << (t - f))) & (((1 << n) - 1) << t)) |
v | is source value |
n | is width of field in bits |
f | is starting bit position, least significant bit is 0 |
t | is destination bit position |
![]() | Generated: Tue Jul 28 2020 16:03:26
Support Information |