MCPcopy Create free account
hub / github.com/apple/foundationdb / parse

Function parse

fdbclient/DatabaseConfiguration.cpp:62–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void parse(int* i, ValueRef const& v) {
63 // FIXME: Sanity checking
64 *i = atoi(v.toString().c_str());
65}
66
67void parseReplicationPolicy(Reference<IReplicationPolicy>* policy, ValueRef const& v) {
68 BinaryReader reader(v, IncludeVersion());

Callers 1

setInternalMethod · 0.70

Calls 14

IncludeVersionFunction · 0.85
hasMethod · 0.80
lastMethod · 0.80
clearMethod · 0.65
getMethod · 0.65
sort_by_priorityClass · 0.50
c_strMethod · 0.45
toStringMethod · 0.45
typeMethod · 0.45
get_intMethod · 0.45
tryGetMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected