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

Method reserved

src/v1/resources.cpp:1651–1654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1649
1650
1651Resources Resources::reserved(const Option<string>& role) const
1652{
1653 return filter(lambda::bind(isReserved, lambda::_1, role));
1654}
1655
1656
1657Resources Resources::allocatableTo(const string& role) const

Callers 7

TEST_PFunction · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
foreachMethod · 0.45
foreachMethod · 0.45

Calls 2

filterFunction · 0.85
bindFunction · 0.50

Tested by 5

TEST_PFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36