| 1059 | } |
| 1060 | |
| 1061 | TmpFileRemote::~TmpFileRemote() { |
| 1062 | // Need to return the buffer before deconstruction if buffer space is reserved. |
| 1063 | if (DiskBufferFile()->IsSpaceReserved()) DCHECK(is_buffer_returned()); |
| 1064 | } |
| 1065 | |
| 1066 | bool TmpFileRemote::AllocateSpace(int64_t num_bytes, int64_t* offset) { |
| 1067 | DCHECK_GT(num_bytes, 0); |
nothing calls this directly
no test coverage detected