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

Method size

datafusion/execution/src/memory_pool/mod.rs:380–382  ·  view source on GitHub ↗

Returns the size of this reservation in bytes

(&self)

Source from the content-addressed store, hash-verified

378impl MemoryReservation {
379 /// Returns the size of this reservation in bytes
380 pub fn size(&self) -> usize {
381 self.size.load(atomic::Ordering::Relaxed)
382 }
383
384 /// Returns [MemoryConsumer] for this [MemoryReservation]
385 pub fn consumer(&self) -> &MemoryConsumer {

Callers 1

try_growMethod · 0.45

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected