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

Method MemUsage

be/src/exec/hash-table.cc:427–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425}
426
427int HashTableCtx::ExprValuesCache::MemUsage(int capacity,
428 int expr_values_bytes_per_row, int num_exprs) {
429 return expr_values_bytes_per_row * capacity + // expr_values_array_
430 num_exprs * capacity + // expr_values_null_array_
431 sizeof(uint32) * capacity + // expr_values_hash_array_
432 Bitmap::MemUsage(capacity); // null_bitmap_
433}
434
435uint8_t* HashTableCtx::ExprValuesCache::ExprValuePtr(
436 uint8_t* expr_values, int expr_idx) const {

Callers 2

CloseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected