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

Function allocatedResources

src/tests/resources_utils.cpp:33–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31namespace tests {
32
33Resources allocatedResources(
34 const Resources& resources,
35 const string& role)
36{
37 Resources result = resources;
38 result.allocate(role);
39 return result;
40}
41
42
43Resource createPorts(const ::mesos::Value::Ranges& ranges)

Callers 15

TEST_FFunction · 0.85
TEST_PFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_PFunction · 0.85
TEST_FFunction · 0.85
TYPED_TESTFunction · 0.85
TEST_FFunction · 0.85
TEST_PFunction · 0.85

Calls 1

allocateMethod · 0.45

Tested by

no test coverage detected