| 774 | explicit ProxyMemoryPoolImpl(MemoryPool* pool) : pool_(pool) {} |
| 775 | |
| 776 | Status Allocate(int64_t size, int64_t alignment, uint8_t** out) { |
| 777 | RETURN_NOT_OK(pool_->Allocate(size, alignment, out)); |
| 778 | stats_.DidAllocateBytes(size); |
| 779 | return Status::OK(); |
| 780 | } |
| 781 | |
| 782 | Status Reallocate(int64_t old_size, int64_t new_size, int64_t alignment, |
| 783 | uint8_t** ptr) { |
nothing calls this directly
no test coverage detected