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

Function lower_bound

fdbclient/DatabaseConfiguration.cpp:652–654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

650}
651
652static KeyValueRef const* lower_bound(VectorRef<KeyValueRef> const& config, KeyRef const& key) {
653 return std::lower_bound(config.begin(), config.end(), KeyValueRef(key, ValueRef()), KeyValueRef::OrderByKey());
654}
655
656void DatabaseConfiguration::applyMutation(MutationRef m) {
657 if (m.type == MutationRef::SetValue && m.param1.startsWith(configKeysPrefix)) {

Callers 15

getMethod · 0.70
getExcludedServersMethod · 0.70
getExcludedLocalitiesMethod · 0.70
findStartBlockMethod · 0.70
deltaAtVersionFunction · 0.70
applyDeltasByVersionFunction · 0.70
getOffsetMethod · 0.50
eraseMethod · 0.50
lower_boundMethod · 0.50
sumRangeMethod · 0.50
eraseAsyncMethod · 0.50

Calls 5

ValueRefClass · 0.85
KeyValueRefClass · 0.50
OrderByKeyClass · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected