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

Function toStringRef

fdbserver/RocksDBCheckpointUtils.actor.cpp:61–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61StringRef toStringRef(rocksdb::Slice s) {
62 return StringRef(reinterpret_cast<const uint8_t*>(s.data()), s.size());
63}
64
65rocksdb::ColumnFamilyOptions getCFOptions() {
66 rocksdb::ColumnFamilyOptions options;

Callers 1

actionMethod · 0.70

Calls 3

StringRefClass · 0.50
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected