Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
Go to the source code of this file.
Functions | |
static uint16_t | ReadLE16 (const unsigned char *ptr) |
static uint32_t | ReadLE32 (const unsigned char *ptr) |
static uint64_t | ReadLE64 (const unsigned char *ptr) |
static void | WriteLE16 (unsigned char *ptr, uint16_t x) |
static void | WriteLE32 (unsigned char *ptr, uint32_t x) |
static void | WriteLE64 (unsigned char *ptr, uint64_t x) |
static uint32_t | ReadBE32 (const unsigned char *ptr) |
static uint64_t | ReadBE64 (const unsigned char *ptr) |
static void | WriteBE32 (unsigned char *ptr, uint32_t x) |
static void | WriteBE64 (unsigned char *ptr, uint64_t x) |
static uint64_t | CountBits (uint64_t x) |
Return the smallest number n such that (x >> n) == 0 (or 64 if the highest bit in x is set. More... | |
Function Documentation
◆ CountBits()
|
inlinestatic |
Return the smallest number n such that (x >> n) == 0 (or 64 if the highest bit in x is set.
Definition at line 83 of file common.h.
Referenced by FastRandomContext::randrange().
◆ ReadBE32()
|
inlinestatic |
◆ ReadBE64()
|
inlinestatic |
◆ ReadLE16()
|
inlinestatic |
Definition at line 17 of file common.h.
References le16toh(), and memcpy().
Referenced by CScript::GetOp2().
◆ ReadLE32()
|
inlinestatic |
Definition at line 24 of file common.h.
References le32toh(), and memcpy().
Referenced by ChaCha20::Crypt(), CScript::GetOp2(), MurmurHash3(), poly1305_auth(), ChaCha20::SetKey(), and UintToArith256().
◆ ReadLE64()
|
inlinestatic |
Definition at line 31 of file common.h.
References le64toh(), and memcpy().
Referenced by uint256::GetCheapHash(), and FastRandomContext::rand64().
◆ WriteBE32()
|
inlinestatic |
Definition at line 70 of file common.h.
References htobe32(), and memcpy().
Referenced by CSHA1::Finalize(), and CSHA256::Finalize().
◆ WriteBE64()
|
inlinestatic |
Definition at line 76 of file common.h.
References htobe64(), and memcpy().
Referenced by CSHA1::Finalize(), CSHA512::Finalize(), and CSHA256::Finalize().
◆ WriteLE16()
|
inlinestatic |
Definition at line 38 of file common.h.
References htole16(), and memcpy().
Referenced by CScript::operator<<().
◆ WriteLE32()
|
inlinestatic |
Definition at line 44 of file common.h.
References htole32(), and memcpy().
Referenced by ArithToUint256(), ChaCha20::Crypt(), CRIPEMD160::Finalize(), GetHWRand(), ChaCha20::Keystream(), CScript::operator<<(), poly1305_auth(), CZMQAbstractPublishNotifier::SendMessage(), and CKey::Sign().
◆ WriteLE64()
|
inlinestatic |
Definition at line 50 of file common.h.
References htole64(), and memcpy().
Referenced by CRIPEMD160::Finalize(), and GetHWRand().