Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
414
constexpr unsigned long long ExpTo1024(unsigned n) { return 1ULL << (n * 10); }
415
416
std::string BytesToHuman(uint64_t n) {
417
if (n < ExpTo1024(1)) {
Callers
1
BytesToHuman
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected