Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
champ.hpp
Go to the documentation of this file.
std::pair< node_t *, bool > do_update(node_t *node, K &&k, Fn &&fn, hash_t hash, shift_t shift) const
Definition: champ.hpp:230
static node_t * copy_collision_remove(node_t *src, T *v)
Definition: node.hpp:333
static void delete_deep_shift(node_t *p, shift_t s)
Definition: node.hpp:681
static bool equals_tree(const node_t *a, const node_t *b, count_t depth)
Definition: champ.hpp:431
static node_t * copy_inner_insert_value(node_t *src, bitmap_t bit, T v)
Definition: node.hpp:557
static node_t * copy_collision_replace(node_t *src, T *pos, T v)
Definition: node.hpp:356
static node_t * make_merged(shift_t shift, T v1, hash_t hash1, T v2, hash_t hash2)
Definition: node.hpp:595
static node_t * make_inner_n(count_t n)
Definition: node.hpp:182
Definition: algorithm.hpp:15
Definition: champ.hpp:25
std::pair< node_t *, bool > do_add(node_t *node, T v, hash_t hash, shift_t shift) const
Definition: champ.hpp:155
Definition: node.hpp:32
static node_t * copy_inner_remove_value(node_t *src, bitmap_t bit, count_t voffset)
Definition: node.hpp:521
void for_each_chunk(Fn &&fn) const
Definition: champ.hpp:100
static node_t * copy_inner_replace_merged(node_t *src, bitmap_t bit, count_t voffset, node_t *node)
Definition: node.hpp:431
uint256 Hash(const T1 pbegin, const T1 pend)
Compute the 256-bit hash of an object.
Definition: hash.h:84
void for_each_chunk_traversal(node_t *node, count_t depth, Fn &&fn) const
Definition: champ.hpp:106
static bool equals_values(const T *a, const T *b, count_t n)
Definition: champ.hpp:453
typename get_bitmap_type< B >::type bitmap_t
Definition: champ.hpp:30
static void delete_deep(node_t *p, shift_t s)
Definition: node.hpp:667
static bool equals_collisions(const T *a, const T *b, count_t n)
Definition: champ.hpp:459
static node_t * copy_inner_replace_value(node_t *src, count_t offset, T v)
Definition: node.hpp:402
static node_t * copy_collision_insert(node_t *src, T v)
Definition: node.hpp:311
static node_t * copy_inner_replace_inline(node_t *src, bitmap_t bit, count_t noffset, T value)
Definition: node.hpp:473
static node_t * copy_inner_replace(node_t *src, count_t offset, node_t *child)
Definition: node.hpp:385
sub_result do_sub(node_t *node, const K &k, hash_t hash, shift_t shift) const
Definition: champ.hpp:346