| 717 | ::arrow::MemoryPool* pool_ = nullptr; |
| 718 | |
| 719 | void EnsureScratch() { |
| 720 | if (this->scratch_ == nullptr) { |
| 721 | this->scratch_ = AllocateBuffer(pool_, kScratchByteSize); |
| 722 | } |
| 723 | ARROW_DCHECK_NE(this->scratch_, nullptr); |
| 724 | } |
| 725 | }; |
| 726 | |
| 727 | // ---------------------------------------------------------------------- |
nothing calls this directly
no test coverage detected