Classes | |
class | BloomFilter |
class | HashTableEntry |
class | IBLT |
Invertible Bloom Lookup Table (Invertible Bloom Filter) More... | |
struct | IBLTDiff |
Represent the difference between two IBLTs,. More... | |
class | State |
Functions | |
std::shared_ptr< ndn::Buffer > | compress (CompressionScheme scheme, ndn::span< const uint8_t > buffer) |
std::shared_ptr< ndn::Buffer > | decompress (CompressionScheme scheme, ndn::span< const uint8_t > buffer) |
uint32_t | murmurHash3 (const void *key, size_t len, uint32_t seed) |
uint32_t | murmurHash3 (uint32_t seed, const ndn::Name &name) |
Compute 32-bit MurmurHash3 of Name TLV-VALUE. More... | |
uint32_t | murmurHash3 (uint32_t seed, uint32_t value) |
NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS (State) | |
IBLTDiff | operator- (const IBLT &lhs, const IBLT &rhs) |
Compute the difference between two IBLTs. More... | |
std::ostream & | operator<< (std::ostream &os, const IBLT &iblt) |
std::ostream & | operator<< (std::ostream &os, const State &state) |
Variables | |
constexpr size_t | ENTRY_SIZE |
constexpr size_t | N_HASH = 3 |
constexpr size_t | N_HASHCHECK = 11 |
std::shared_ptr< ndn::Buffer > psync::detail::compress | ( | CompressionScheme | scheme, |
ndn::span< const uint8_t > | buffer | ||
) |
std::shared_ptr< ndn::Buffer > psync::detail::decompress | ( | CompressionScheme | scheme, |
ndn::span< const uint8_t > | buffer | ||
) |
uint32_t psync::detail::murmurHash3 | ( | const void * | key, |
size_t | len, | ||
uint32_t | seed | ||
) |
uint32_t psync::detail::murmurHash3 | ( | uint32_t | seed, |
const ndn::Name & | name | ||
) |
|
inline |
psync::detail::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS | ( | State | ) |
std::ostream & psync::detail::operator<< | ( | std::ostream & | os, |
const IBLT & | iblt | ||
) |
std::ostream & psync::detail::operator<< | ( | std::ostream & | os, |
const State & | state | ||
) |
|
constexpr |