MCPcopy Create free account
hub / github.com/apache/arrow / CheckSlices

Method CheckSlices

cpp/src/arrow/ipc/feather_test.cc:98–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 }
97
98 void CheckSlices(std::shared_ptr<RecordBatch> batch) {
99 std::vector<int> starts = {0, 1, 300, 301, 302, 303, 304, 305, 306, 307};
100 std::vector<int> sizes = {0, 1, 7, 8, 30, 32, 100};
101 for (auto start : starts) {
102 for (auto size : sizes) {
103 CheckSlice(batch, start, size);
104 }
105 }
106 }
107
108 void CheckRoundtrip(std::shared_ptr<RecordBatch> batch) {
109 std::vector<std::shared_ptr<RecordBatch>> batches = {batch};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected