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

Method foreachkey

src/tests/hierarchical_allocator_tests.cpp:95–99  ·  view source on GitHub ↗

Ensure the resources have the allocation info set.

Source from the content-addressed store, hash-verified

93 {
94 // Ensure the resources have the allocation info set.
95 foreachkey (const string& role, resources) {
96 foreachvalue (Resources& r, resources.at(role)) {
97 r.allocate(role);
98 }
99 }
100 }
101
102 FrameworkID frameworkId;

Callers

nothing calls this directly

Calls 3

atMethod · 0.80
foreachvalueFunction · 0.70
allocateMethod · 0.45

Tested by

no test coverage detected