Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/kvrocks
/ StringDigest
Function
StringDigest
src/common/string_util.cc:560–563 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
558
}
559
560
std::string StringDigest(std::string_view s) {
561
XXH64_hash_t hash = XXH3_64bits(s.data(), s.size());
562
return fmt::format(
"{:016x}"
, hash);
563
}
564
565
} // namespace util
Callers
4
DelEX
Method · 0.85
Set
Method · 0.85
Digest
Method · 0.85
TEST_F
Function · 0.85
Calls
no outgoing calls
Tested by
1
TEST_F
Function · 0.68