MCPcopy 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
65Key doubleToTestKey(double p) {
66 return StringRef(format("%016llx", *(uint64_t*)&p));
67}
68
69double testKeyToDouble(const KeyRef& p) {
70 uint64_t x = 0;

Callers 15

initializeFileMethod · 0.85
Future<Void> writeClientFunction · 0.85
valueMethod · 0.85
chooseProductMethod · 0.85
inventoryTestCheckMethod · 0.85
keyMethod · 0.85
valueMethod · 0.85
cycleCheckClientMethod · 0.85
newRandomKeyMethod · 0.85
keyMethod · 0.85
valueMethod · 0.85

Calls 3

StringRefClass · 0.50
formatFunction · 0.50
withPrefixMethod · 0.45

Tested by

no test coverage detected