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

Function ExpTo1024

src/common/string_util.cc:414–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414constexpr unsigned long long ExpTo1024(unsigned n) { return 1ULL << (n * 10); }
415
416std::string BytesToHuman(uint64_t n) {
417 if (n < ExpTo1024(1)) {

Callers 1

BytesToHumanFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected