Classes | |
class | BloomFilter |
class | HashTableEntry |
class | IBLT |
Invertible Bloom Lookup Table (Invertible Bloom Filter) More... | |
class | State |
Functions | |
std::shared_ptr< ndn::Buffer > | compress (CompressionScheme scheme, const uint8_t *buffer, size_t bufferSize) |
std::shared_ptr< ndn::Buffer > | decompress (CompressionScheme scheme, const uint8_t *buffer, size_t bufferSize) |
static bloom_parameters | makeParameters (unsigned int projected_element_count, double false_positive_probability) |
uint32_t | murmurHash3 (uint32_t seed, const std::string &str) |
uint32_t | murmurHash3 (uint32_t seed, uint32_t value) |
uint32_t | murmurHash3 (const void *key, size_t len, uint32_t seed) |
const size_t | N_HASH (3) |
const size_t | N_HASHCHECK (11) |
NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS (State) | |
bool | operator!= (const IBLT &iblt1, const IBLT &iblt2) |
std::ostream & | operator<< (std::ostream &os, const State &state) |
std::ostream & | operator<< (std::ostream &os, const IBLT &iblt) |
bool | operator== (const IBLT &iblt1, const IBLT &iblt2) |
static uint32_t | ROTL32 (uint32_t x, int8_t r) |
Variables | |
static const unsigned char | bit_mask [bits_per_char] |
static const std::size_t | bits_per_char = 0x08 |
const size_t | N_HASH |
const size_t | N_HASHCHECK |
std::shared_ptr< ndn::Buffer > psync::detail::compress | ( | CompressionScheme | scheme, |
const uint8_t * | buffer, | ||
size_t | bufferSize | ||
) |
std::shared_ptr< ndn::Buffer > psync::detail::decompress | ( | CompressionScheme | scheme, |
const uint8_t * | buffer, | ||
size_t | bufferSize | ||
) |
|
static |
Definition at line 206 of file bloom-filter.cpp.
|
inline |
|
inline |
uint32_t psync::detail::murmurHash3 | ( | const void * | key, |
size_t | len, | ||
uint32_t | seed | ||
) |
const size_t psync::detail::N_HASH | ( | 3 | ) |
const size_t psync::detail::N_HASHCHECK | ( | 11 | ) |
psync::detail::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS | ( | State | ) |
std::ostream & psync::detail::operator<< | ( | std::ostream & | os, |
const State & | state | ||
) |
std::ostream & psync::detail::operator<< | ( | std::ostream & | os, |
const IBLT & | iblt | ||
) |
|
inlinestatic |
|
static |
Definition at line 63 of file bloom-filter.cpp.
|
static |
Definition at line 61 of file bloom-filter.cpp.
const size_t psync::detail::N_HASH |
const size_t psync::detail::N_HASHCHECK |