MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / randomHashSlot

Function randomHashSlot

src/storage/rocksdb.cpp:274–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272}
273
274std::string randomHashSlot() {
275 return getPrefix(genrand64_int63() % (1 << 16));
276}
277
278std::vector<std::string> RocksDBStorageProvider::getEvictionCandidates(unsigned int count)
279{

Callers 1

getEvictionCandidatesMethod · 0.85

Calls 2

getPrefixFunction · 0.85
genrand64_int63Function · 0.85

Tested by

no test coverage detected