MCPcopy Create free account
hub / github.com/apache/brpc / ToLittleEndian

Function ToLittleEndian

src/brpc/span.cpp:627–629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

625}
626
627inline uint64_t ToLittleEndian(const uint32_t* buf) {
628 return (((uint64_t)ntohl(buf[0])) << 32) | ntohl(buf[1]);
629}
630
631SpanDB* SpanDB::Open() {
632 // Remove old rpcz directory even if crash occurs.

Callers 3

RemoveSpansBeforeMethod · 0.85
FindSpansFunction · 0.85
ListSpansFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected