MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / make_sequence

Method make_sequence

dnn/test/common/small_vector.cpp:214–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212 // Generate a sequence of values to initialize the vector.
213 template <typename VectorT>
214 void make_sequence(VectorT& v, int start, int end) {
215 for (int i = start; i <= end; ++i) {
216 v.push_back(Constructable(i));
217 }
218 }
219};
220
221// Test fixture class

Callers 1

TYPED_TESTFunction · 0.80

Calls 2

ConstructableClass · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected