6 uint64_t
mix(uint64_t v1, uint64_t v2) {
11 #define ISCLANG (1 << 32) 12 #if defined __GNUC__ && defined __GNUC_MINOR__ 13 const uint64_t
compiler =
ISGNU | ((__GNUC__ << 16) + __GNUC_MINOR__);
92 *reinterpret_cast<uint32_t*>(&
a_float)),
93 *reinterpret_cast<uint64_t*>(&
a_double)),
uint64_t version_hashcode()
The function that computes the Derecho version hashcode.
const uint64_t int16_offset
const uint64_t derecho_version
const uint64_t int64_offset2
const int COMMITS_AHEAD_OF_VERSION
If the currently-compiled version of the Derecho library is more recent than the last "release" versi...
uint64_t mix(uint64_t v1, uint64_t v2)
A simple hash-combine function to "mix" two hashcodes.
const uint64_t int64_offset1
uint64_t my_version_hashcode
A runtime constant (computed once during static initialization) that represents the current running v...
const int MAJOR_VERSION
The current major version number of the Derecho library, as defined by Git.
const uint64_t int64_offset3
const uint64_t int32_offset
const int MINOR_VERSION
The current minor version number of the Derecho library, as defined by Git.