| 272 | } |
| 273 | |
| 274 | void checkSizes(std::vector<char*>& rows, RowContainer& data) { |
| 275 | int64_t sum = 0; |
| 276 | for (auto row : rows) { |
| 277 | sum += data.rowSize(row) - data.fixedRowSize(); |
| 278 | } |
| 279 | auto usage = data.stringAllocator().cumulativeBytes(); |
| 280 | if (data.testingRowPointers().empty()) { |
| 281 | EXPECT_EQ(usage, sum); |
| 282 | } |
| 283 | } |
| 284 | |
| 285 | /* |
| 286 | * We changed the way to measure memory usage in the |
nothing calls this directly
no test coverage detected