MCPcopy Create free account
hub / github.com/apache/mesos / foreachkey

Function foreachkey

src/tests/sorter_tests.cpp:133–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131 };
132
133 foreachkey (const string& client, clients) {
134 sorter.add(client);
135 sorter.activate(client);
136 }
137
138 for (const pair<string, double>& weight : weights) {
139 sorter.updateWeight(weight.first, weight.second);

Callers

nothing calls this directly

Calls 2

addMethod · 0.45
activateMethod · 0.45

Tested by

no test coverage detected