Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/foundationdb
/ keyRefToVersion
Function
keyRefToVersion
fdbclient/MutationLogReader.actor.cpp:34–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
}
33
34
Version keyRefToVersion(KeyRef key, int prefixLen) {
35
return (Version)bigEndian64(*((uint64_t*)key.substr(prefixLen).begin()));
36
}
37
38
} // namespace
39
Callers
3
consume
Method · 0.85
getNext_impl
Method · 0.85
MutationLogReader.actor.cpp
File · 0.85
Calls
2
substr
Method · 0.80
begin
Method · 0.45
Tested by
no test coverage detected