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

Method allocatableTo

src/v1/resources.cpp:1657–1660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1655
1656
1657Resources Resources::allocatableTo(const string& role) const
1658{
1659 return filter(lambda::bind(isAllocatableTo, lambda::_1, role));
1660}
1661
1662
1663Resources Resources::allocatedToRoleSubtree(const string& role) const

Callers 2

TESTFunction · 0.45
foreachFunction · 0.45

Calls 2

filterFunction · 0.85
bindFunction · 0.50

Tested by 1

TESTFunction · 0.36