Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/foundationdb
/ pack
Method
pack
fdbclient/Subspace.cpp:47–49 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
45
}
46
47
Key Subspace::pack(const Tuple& tuple) const {
48
return tuple.pack().withPrefix(StringRef(rawPrefix.begin(), rawPrefix.size()));
49
}
50
51
Tuple Subspace::unpack(StringRef const& key) const {
52
if (!contains(key)) {
Callers
15
makeConfigKey
Function · 0.45
Future<bool> profileCommandActor
Function · 0.45
get_key_prefix_for_version_stamp
Method · 0.45
find_version_for_timestamp
Method · 0.45
test_functions
Method · 0.45
server.py
File · 0.45
_increment_counter
Function · 0.45
Subspace
Method · 0.45
range
Method · 0.45
commit
Method · 0.45
rangeBytesWritten
Method · 0.45
logBytesWritten
Method · 0.45
Calls
4
StringRef
Class · 0.50
withPrefix
Method · 0.45
begin
Method · 0.45
size
Method · 0.45
Tested by
2
test_functions
Method · 0.36
commit
Method · 0.36