MCPcopy Create free account
hub / github.com/VcDevel/Vc / returnConstantOffset

Function returnConstantOffset

tests/utils.cpp:176–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174// fill{{{1
175template<typename T, int value> T returnConstant() { return T(value); }
176template<typename T, int value> T returnConstantOffset(int i) { return T(value) + T(i); }
177template<typename T, int value> T returnConstantOffset2(unsigned short i) { return T(value) + T(i); }
178
179TEST_TYPES(V, fill, AllVectors)

Callers

nothing calls this directly

Calls 1

TFunction · 0.50

Tested by

no test coverage detected