![]() |
Bitcoin Core
27.99.0
P2P Digital Currency
|
#include <sketch_impl.h>
Public Member Functions | |
template<typename... Args> | |
SketchImpl (int implementation, int bits, const Args &... args) | |
size_t | Syndromes () const override |
void | Init (size_t count) override |
void | Add (uint64_t val) override |
void | Serialize (unsigned char *ptr) const override |
void | Deserialize (const unsigned char *ptr) override |
int | Decode (int max_count, uint64_t *out) const override |
size_t | Merge (const Sketch *other_sketch) override |
void | SetSeed (uint64_t seed) override |
![]() | |
Sketch (int implementation, int bits) | |
void | Ready () |
void | Check () const |
void | UnReady () |
int | Implementation () const |
int | Bits () const |
virtual | ~Sketch () |
Private Attributes | |
const F | m_field |
std::vector< typename F::Elem > | m_syndromes |
F::Elem | m_basis |
Definition at line 355 of file sketch_impl.h.
|
inline |
Definition at line 363 of file sketch_impl.h.
|
inlineoverridevirtual |
Implements Sketch.
Definition at line 372 of file sketch_impl.h.
|
inlineoverridevirtual |
Implements Sketch.
Definition at line 395 of file sketch_impl.h.
|
inlineoverridevirtual |
Implements Sketch.
Definition at line 387 of file sketch_impl.h.
|
inlineoverridevirtual |
Implements Sketch.
Definition at line 370 of file sketch_impl.h.
|
inlineoverridevirtual |
Implements Sketch.
Definition at line 412 of file sketch_impl.h.
|
inlineoverridevirtual |
Implements Sketch.
Definition at line 378 of file sketch_impl.h.
|
inlineoverridevirtual |
Implements Sketch.
Definition at line 424 of file sketch_impl.h.
|
inlineoverridevirtual |
Implements Sketch.
Definition at line 369 of file sketch_impl.h.
|
private |
Definition at line 359 of file sketch_impl.h.
|
private |
Definition at line 357 of file sketch_impl.h.
|
private |
Definition at line 358 of file sketch_impl.h.