MCPcopy Create free account
hub / github.com/apache/impala / ~TmpFileRemote

Method ~TmpFileRemote

be/src/runtime/tmp-file-mgr.cc:1061–1064  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

IsSpaceReservedMethod · 0.80

Tested by

no test coverage detected