MCPcopy Create free account
hub / github.com/apple/foundationdb / TSS_doCompare

Function TSS_doCompare

fdbclient/StorageServerInterface.cpp:37–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35// point reads
36template <>
37bool TSS_doCompare(const GetValueReply& src, const GetValueReply& tss) {
38 return src.value.present() == tss.value.present() && (!src.value.present() || src.value.get() == tss.value.get());
39}
40
41template <>
42const char* TSS_mismatchTraceName(const GetValueRequest& req) {

Calls 3

getMethod · 0.65
getKeyMethod · 0.65
presentMethod · 0.45

Tested by

no test coverage detected