![]() |
Bitcoin Core 30.99.0
P2P Digital Currency
|
#include <int_utils.h>
Public Types | |
| typedef I | Repr |
Static Public Member Functions | |
| static void | Swap (I &a, I &b) |
| static constexpr bool | IsZero (I a) |
| static constexpr bool | IsOne (I a) |
| static constexpr I | Mask (I val) |
| static constexpr I | Shift (I val, int bits) |
| static constexpr I | UnsafeShift (I val, int bits) |
| template<int Offset, int Count> | |
| static constexpr int | MidBits (I val) |
| template<int Count> | |
| static constexpr int | TopBits (I val) |
| static constexpr I | CondXorWith (I val, bool cond, I v) |
| template<I MOD> | |
| static constexpr I | CondXorWith (I val, bool cond) |
| static int | Bits (I val, int max) |
Static Public Attributes | |
| static constexpr int | SIZE = BITS |
Static Private Attributes | |
| static constexpr I | MASK = Mask<BITS, I>() |
Definition at line 179 of file int_utils.h.
| typedef I BitsInt< I, BITS >::Repr |
Definition at line 188 of file int_utils.h.
|
inlinestatic |
Definition at line 225 of file int_utils.h.
|
inlinestaticconstexpr |
Definition at line 221 of file int_utils.h.
|
inlinestaticconstexpr |
Definition at line 216 of file int_utils.h.
|
inlinestaticconstexpr |
Definition at line 197 of file int_utils.h.
|
inlinestaticconstexpr |
Definition at line 196 of file int_utils.h.
|
inlinestaticconstexpr |
Definition at line 198 of file int_utils.h.
|
inlinestaticconstexpr |
Definition at line 203 of file int_utils.h.
|
inlinestaticconstexpr |
Definition at line 199 of file int_utils.h.
|
inlinestatic |
Definition at line 192 of file int_utils.h.
|
inlinestaticconstexpr |
Definition at line 210 of file int_utils.h.
|
inlinestaticconstexpr |
Definition at line 200 of file int_utils.h.
|
staticconstexprprivate |
Definition at line 184 of file int_utils.h.
|
staticconstexpr |
Definition at line 190 of file int_utils.h.