#include <common/system.h>
#include <rcu.h>
#include <array>
#include <atomic>
#include <cstdint>
#include <memory>
#include <type_traits>
Go to the source code of this file.
◆ SEEK_LEAF_LOOP
Value: RadixElement
e =
eptr->load(); \
\
\
Node: \
continue; \
} \
\
auto copy = std::make_unique<RadixNode>(*
nptr);
\
if (!
eptr->compare_exchange_strong(
e, RadixElement(copy.get()))) { \
\
continue; \
} \
\
\
copy.release(); \
} \
} while (0)
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Definition at line 149 of file radix.h.