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

Function foreachpair

src/common/http.cpp:464–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462 Resources nonRevocable = resources.nonRevocable();
463
464 foreachpair (
465 const string& name, const Value::Type& type, nonRevocable.types()) {
466 object.values[name] = value(name, type, nonRevocable);
467 }
468
469 // Model revocable resources.
470 Resources revocable = resources.revocable();

Callers

nothing calls this directly

Calls 4

valueFunction · 0.85
fieldMethod · 0.80
modelFunction · 0.70
valueMethod · 0.45

Tested by

no test coverage detected