MCPcopy 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
560std::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

DelEXMethod · 0.85
SetMethod · 0.85
DigestMethod · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.68