MCPcopy Create free account
hub / github.com/baidu/tera / PutFixed64

Function PutFixed64

src/io/coding.h:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26inline void EncodeFixed64(char* buf, uint64_t value) { memcpy(buf, &value, sizeof(value)); }
27
28inline void PutFixed64(std::string* dst, uint64_t value) {
29 char buf[sizeof(value)];
30 EncodeFixed64(buf, value);
31 dst->append(buf, sizeof(buf));
32}
33
34inline void EncodeBigEndian32(char* buf, uint32_t value) {
35 buf[0] = (value >> 24) & 0xff;

Callers 3

FindShortestSeparatorMethod · 0.70
FindShortSuccessorMethod · 0.70
PackUserKeyFunction · 0.70

Calls 1

EncodeFixed64Function · 0.70

Tested by

no test coverage detected