| 56 | } |
| 57 | |
| 58 | void useLocalBuffer() { |
| 59 | std::unique_ptr<unsigned char[]> temp(new unsigned char[memlimit1]); |
| 60 | stream_parser p( |
| 61 | storage_ptr(), |
| 62 | opt, |
| 63 | temp.get(), |
| 64 | memlimit1); |
| 65 | run(p); |
| 66 | } |
| 67 | |
| 68 | void useDynLess() { |
| 69 | // this is on the heap because the size is chosen dynamically |
no test coverage detected