| 425 | } |
| 426 | |
| 427 | int 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 | |
| 435 | uint8_t* HashTableCtx::ExprValuesCache::ExprValuePtr( |
| 436 | uint8_t* expr_values, int expr_idx) const { |
no outgoing calls
no test coverage detected