MCPcopy Create free account
hub / github.com/apache/datafusion / size

Method size

datafusion/physical-plan/src/joins/array_map.rs:234–236  ·  view source on GitHub ↗

Returns the memory usage of this [`ArrayMap`] in bytes.

(&self)

Source from the content-addressed store, hash-verified

232
233 /// Returns the memory usage of this [`ArrayMap`] in bytes.
234 pub fn size(&self) -> usize {
235 self.data.capacity() * size_of::<u32>() + self.next.capacity() * size_of::<u32>()
236 }
237
238 pub fn get_matched_indices_with_limit_offset(
239 &self,

Callers 13

deduplicateMethod · 0.45
convert_batchMethod · 0.45
usedMethod · 0.45
in_mem_sort_streamMethod · 0.45
newMethod · 0.45
finish_record_batchMethod · 0.45
allocate_reservationMethod · 0.45

Calls 1

capacityMethod · 0.45

Tested by

no test coverage detected