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

Method GetFreeOffset

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

Return offset to unoccupied space in current chunk.

Source from the content-addressed store, hash-verified

280
281 /// Return offset to unoccupied space in current chunk.
282 int64_t GetFreeOffset() const {
283 if (current_chunk_idx_ == -1) return 0;
284 return chunks_[current_chunk_idx_].allocated_bytes;
285 }
286
287 template <bool CHECK_LIMIT_FIRST>
288 uint8_t* ALWAYS_INLINE Allocate(int64_t size, int alignment) noexcept {

Callers 1

AcquireDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected