MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / hton64

Method hton64

src/os_linux.cpp:151–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151u64 OS::hton64(u64 x) {
152 return htonl(1) == 1 ? x : bswap_64(x);
153}
154
155u64 OS::ntoh64(u64 x) {
156 return ntohl(1) == 1 ? x : bswap_64(x);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected