MCPcopy Create free account
hub / github.com/apache/kvrocks / EncodeDouble

Function EncodeDouble

src/common/encoding.cc:61–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61char *EncodeDouble(char *buf, double value) { return EncodeFixed64(buf, EncodeDoubleToUInt64(value)); }
62
63void PutDouble(std::string *dst, double value) { PutFixed64(dst, EncodeDoubleToUInt64(value)); }
64

Callers

nothing calls this directly

Calls 2

EncodeFixed64Function · 0.85
EncodeDoubleToUInt64Function · 0.85

Tested by

no test coverage detected