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

Method getKey

cachelib/interface/tests/InterfaceTest.cpp:52–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 return --refCount_ == 0;
51 }
52 Key getKey() const noexcept override { return Key(key_); }
53 void* getMemory() const noexcept override {
54 return const_cast<uint8_t*>(memory_.data());
55 }

Callers 5

insertMethod · 0.45
insertOrReplaceMethod · 0.45
removeMethod · 0.45
releaseMethod · 0.45
checkItemFieldsMethod · 0.45

Calls 1

KeyClass · 0.50

Tested by

no test coverage detected