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

Function toStringRef

fdbserver/KeyValueStoreRocksDB.actor.cpp:353–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351}
352
353StringRef toStringRef(rocksdb::Slice s) {
354 return StringRef(reinterpret_cast<const uint8_t*>(s.data()), s.size());
355}
356
357struct Counters {
358 CounterCollection cc;

Callers 8

SplitStringRefMethod · 0.70
toStringRefMethod · 0.70
DeleteRangeCFMethod · 0.70
actionMethod · 0.70
actionMethod · 0.70
toStringMethod · 0.50
encryptMethod · 0.50
encryptMethod · 0.50

Calls 3

StringRefClass · 0.50
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected