MCPcopy Create free account
hub / github.com/Kitware/VTK / arrayBuffer

Function arrayBuffer

Common/Core/Testing/Cxx/TestStridedArray.cxx:45–61  ·  view source on GitHub ↗

tests should copy it to avoid side effects

Source from the content-addressed store, hash-verified

43constexpr int checkedBufferIdx = 8;
44// tests should copy it to avoid side effects
45std::vector<float> arrayBuffer()
46{
47 // clang-format off
48 return {
49 1000, 2000, 3000,
50 1001, 2001, 3001,
51 1002, 2002, 3002,
52 1003, 2003, 3003,
53 1004, 2004, 3004,
54 1005, 2005, 3005,
55 1006, 2006, 3006,
56 1007, 2007, 3007,
57 1008, 2008, 3008,
58 1009, 2009, 3009,
59 };
60 // clang-format on
61}
62
63/**
64 * debugging purpose, print the array content, one row per tuple.

Callers 3

TestGenericDataArrayAPIFunction · 0.85
TestMemoryAllocationsFunction · 0.85
TestCopiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected