![]() |
Bitcoin Core
26.1.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 (int 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 |
Public Member Functions inherited from Sketch | |
| 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 354 of file sketch_impl.h.
|
inline |
Definition at line 362 of file sketch_impl.h.
|
inlineoverridevirtual |
Implements Sketch.
Definition at line 371 of file sketch_impl.h.
|
inlineoverridevirtual |
Implements Sketch.
Definition at line 394 of file sketch_impl.h.
|
inlineoverridevirtual |
Implements Sketch.
Definition at line 386 of file sketch_impl.h.
|
inlineoverridevirtual |
Implements Sketch.
Definition at line 369 of file sketch_impl.h.
|
inlineoverridevirtual |
Implements Sketch.
Definition at line 411 of file sketch_impl.h.
|
inlineoverridevirtual |
Implements Sketch.
Definition at line 377 of file sketch_impl.h.
|
inlineoverridevirtual |
Implements Sketch.
Definition at line 423 of file sketch_impl.h.
|
inlineoverridevirtual |
Implements Sketch.
Definition at line 368 of file sketch_impl.h.
|
private |
Definition at line 358 of file sketch_impl.h.
|
private |
Definition at line 356 of file sketch_impl.h.
|
private |
Definition at line 357 of file sketch_impl.h.
1.8.14