Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1657
Resources Resources::allocatableTo(const string& role) const
1658
{
1659
return filter(lambda::bind(isAllocatableTo, lambda::_1, role));
1660
}
1661
1662
1663
Resources Resources::allocatedToRoleSubtree(const string& role) const
Callers
2
TEST
Function · 0.45
foreach
Function · 0.45
Calls
2
filter
Function · 0.85
bind
Function · 0.50
Tested by
1
TEST
Function · 0.36