Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/foundationdb
/ doubleToTestKey
Function
doubleToTestKey
fdbserver/tester.actor.cpp:65–67 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
63
}
64
65
Key doubleToTestKey(double p) {
66
return StringRef(format(
"%016llx"
, *(uint64_t*)&p));
67
}
68
69
double testKeyToDouble(const KeyRef& p) {
70
uint64_t x = 0;
Callers
15
doubleToNoLocationShardInfo
Function · 0.85
initializeFile
Method · 0.85
Future<Void> writeClient
Function · 0.85
value
Method · 0.85
chooseProduct
Method · 0.85
inventoryTestCheck
Method · 0.85
key
Method · 0.85
value
Method · 0.85
cycleCheckClient
Method · 0.85
newRandomKey
Method · 0.85
key
Method · 0.85
value
Method · 0.85
Calls
3
StringRef
Class · 0.50
format
Function · 0.50
withPrefix
Method · 0.45
Tested by
no test coverage detected