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

Method TryAllocateUnaligned

be/src/runtime/mem-pool.h:149–154  ·  view source on GitHub ↗

Same as TryAllocate() except returned memory is not aligned at all.

Source from the content-addressed store, hash-verified

147
148 /// Same as TryAllocate() except returned memory is not aligned at all.
149 uint8_t* TryAllocateUnaligned(int64_t size) noexcept {
150 DFAKE_SCOPED_LOCK(mutex_);
151 // Call templated implementation directly so that it is inlined here and the
152 // alignment logic can be optimised out.
153 return Allocate<true>(size, 1);
154 }
155
156 /// Returns 'byte_size' to the current chunk back to the mem pool. This can
157 /// only be used to return either all or part of the previous allocation returned

Callers 11

GetConstValueMethod · 0.80
AddResultTupleMethod · 0.80
WriteSlotMethod · 0.80
WriteStringSlotMethod · 0.80
MaterializeNextRowMethod · 0.80
InitBlobMethod · 0.80
CopyBoundaryFieldMethod · 0.80
AllocateStringsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected