MCPcopy Create free account
hub / github.com/OriginQ/QPanda-2 / myntohll

Function myntohll

ThirdParty/bplus-tree/src/utils.cpp:40–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40uint64_t myntohll(uint64_t value)
41{
42 static const int num = 23;
43
44 if (*(const char *) (&num) != num) return value;
45
46 uint32_t high_part = (uint32_t) (value >> 32);
47 uint32_t low_part = (uint32_t) (value & 0xffffffffLL);
48
49 return ((uint64_t) low_part << 32) | high_part;
50}

Callers 3

bp__page_readFunction · 0.85
bp__value_loadFunction · 0.85
bp__tree_read_headFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected