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

Function evolve

src/csi/v1_utils.cpp:138–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136// Helper for repeated field evolving to `T1` from `T2`.
137template <typename T1, typename T2>
138RepeatedPtrField<T1> evolve(RepeatedPtrField<T2> from)
139{
140 RepeatedPtrField<T1> to;
141 foreach (const T2& value, from) {
142 *to.Add() = evolve(value);
143 }
144
145 return to;
146}
147
148
149VolumeCapability::BlockVolume evolve(

Callers 15

getContainersMethod · 0.70
waitContainerMethod · 0.70
killContainerMethod · 0.70
foreachFunction · 0.70
getCapacityMethod · 0.70
createVolumeMethod · 0.70
validateVolumeMethod · 0.70
_attachVolumeMethod · 0.70
_publishVolumeMethod · 0.70
__publishVolumeMethod · 0.70
getCapacityMethod · 0.70
createVolumeMethod · 0.70

Calls 2

blockMethod · 0.45
mountMethod · 0.45

Tested by 15

TESTFunction · 0.40
TEST_FFunction · 0.40
TEST_PFunction · 0.40
TEST_FFunction · 0.40
TEST_PFunction · 0.40
TEST_PFunction · 0.40
operator()Method · 0.40
foreachFunction · 0.40
TEST_PFunction · 0.40