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

Function decodeStorageCacheValue

fdbclient/SystemData.cpp:381–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379}
380
381void decodeStorageCacheValue(const ValueRef& value, std::vector<uint16_t>& serverIndices) {
382 serverIndices.clear();
383 if (value.size()) {
384 BinaryReader rd(value, IncludeVersion());
385 rd >> serverIndices;
386 }
387}
388
389const Value logsValue(const std::vector<std::pair<UID, NetworkAddress>>& logs,
390 const std::vector<std::pair<UID, NetworkAddress>>& oldLogs) {

Calls 3

IncludeVersionFunction · 0.85
clearMethod · 0.65
sizeMethod · 0.45

Tested by

no test coverage detected