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

Function foreach

src/tests/storage_local_resource_provider_tests.cpp:727–732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

725
726 Option<Resource> volume;
727 foreach (const Resource& resource,
728 updateSlave2->resource_providers().providers(0).total_resources()) {
729 if (Resources::hasResourceProvider(resource)) {
730 volume = resource;
731 }
732 }
733
734 ASSERT_NONE(volume);
735}

Callers

nothing calls this directly

Calls 15

isStoragePoolFunction · 0.85
isPreprovisionedVolumeFunction · 0.85
parseVolumePathFunction · 0.85
getVolumeStatePathFunction · 0.85
checkpointFunction · 0.85
randomFunction · 0.85
atMethod · 0.80
principalMethod · 0.80
isMountDiskFunction · 0.70
existsFunction · 0.50
containsMethod · 0.45
idMethod · 0.45

Tested by

no test coverage detected