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

Function foreach

src/tests/mesos.cpp:632–636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

630 Try<std::set<string>> hierarchies = cgroups::hierarchies();
631 ASSERT_SOME(hierarchies);
632 foreach (const string& hierarchy, hierarchies.get()) {
633 if (strings::startsWith(hierarchy, TEST_CGROUPS_HIERARCHY)) {
634 AWAIT_READY(cgroups::cleanup(hierarchy));
635 }
636 }
637 }
638}
639

Callers

nothing calls this directly

Calls 15

startsWithFunction · 0.85
PathClass · 0.85
mountedFunction · 0.85
destroyFunction · 0.85
dirnameMethod · 0.80
cleanupFunction · 0.50
hierarchyFunction · 0.50
joinFunction · 0.50
mountFunction · 0.50
getFunction · 0.50
killFunction · 0.50
isErrorMethod · 0.45

Tested by

no test coverage detected