| 32 | |
| 33 | int checks = 0; |
| 34 | void check(bool value, const char* description) { |
| 35 | ++checks; |
| 36 | if (!value) { std::fprintf(stderr, "FAIL: %s\n", description); std::exit(1); } |
| 37 | } |
| 38 | constexpr size_t MiB = size_t(1) << 20; |
| 39 | |
| 40 | struct FakeOs final : SegmentPoolOs { |