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

Method rawInsert

fdbclient/include/fdbclient/KeyRangeMap.h:73–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 RangeMap<Key, Val, KeyRangeRef, Metric, MetricFunc>::map.lower_bound(range.end));
72 }
73 void rawInsert(Key const& key, Val const& value) {
74 MapPair<Key, Val> pair(key, value);
75 RangeMap<Key, Val, KeyRangeRef, Metric, MetricFunc>::map.insert(
76 pair, true, RangeMap<Key, Val, KeyRangeRef, Metric, MetricFunc>::mf(pair));
77 }
78 void rawInsert(const std::vector<std::pair<MapPair<Key, Val>, Metric>>& pairs) {
79 RangeMap<Key, Val, KeyRangeRef, Metric, MetricFunc>::map.insert(pairs);
80 }

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected