Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
353
StringRef toStringRef(rocksdb::Slice s) {
354
return StringRef(reinterpret_cast<const uint8_t*>(s.data()), s.size());
355
}
356
357
struct Counters {
358
CounterCollection cc;
Callers
8
SplitStringRef
Method · 0.70
toStringRef
Method · 0.70
DeleteRangeCF
Method · 0.70
action
Method · 0.70
action
Method · 0.70
toString
Method · 0.50
encrypt
Method · 0.50
encrypt
Method · 0.50
Calls
3
StringRef
Class · 0.50
data
Method · 0.45
size
Method · 0.45
Tested by
no test coverage detected