MCPcopy Create free account
hub / github.com/facebook/CacheLib / makeKey

Function makeKey

cachelib/benchmarks/HashMapBenchmark.cpp:59–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57
58template <class K>
59K makeKey() {
60 return folly::to<K>(folly::Random::rand32(kKeySpace));
61}
62
63template <class K>
64const std::vector<K>& makeKeys() {

Callers 1

TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.68