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

Function foreach

src/tests/hierarchical_allocator_tests.cpp:3284–3286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3282 .pushReservation(createDynamicReservationInfo("parent/child"));
3283
3284 foreach (const Resource& r, resources) {
3285 ASSERT_TRUE(Resources::hasRefinedReservations(r));
3286 }
3287
3288 SlaveInfo agent2 = createSlaveInfo(resources);
3289

Callers

nothing calls this directly

Calls 13

NoneClass · 0.85
createFrameworkInfoFunction · 0.85
createRangeFunction · 0.85
createPortsFunction · 0.85
atMethod · 0.80
ResourcesClass · 0.50
parseFunction · 0.50
countMethod · 0.45
addFrameworkMethod · 0.45
idMethod · 0.45
recoverResourcesMethod · 0.45
updateSlaveMethod · 0.45

Tested by

no test coverage detected