MCPcopy Create free account
hub / github.com/apache/impala / GroupAllocateSpace

Method GroupAllocateSpace

be/src/runtime/tmp-file-mgr-test.cc:246–249  ·  view source on GitHub ↗

Helper to call the private FileGroup::AllocateSpace() method.

Source from the content-addressed store, hash-verified

244
245 /// Helper to call the private FileGroup::AllocateSpace() method.
246 static Status GroupAllocateSpace(TmpFileGroup* group, int64_t num_bytes,
247 TmpFile** file, int64_t* offset) {
248 return group->AllocateSpace(num_bytes, file, offset);
249 }
250
251 /// Helper to set FileGroup::next_allocation_index_.
252 static void SetNextAllocationIndex(TmpFileGroup* group, int priority, int value) {

Callers

nothing calls this directly

Calls 1

AllocateSpaceMethod · 0.45

Tested by

no test coverage detected