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

Method grow

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

Increase the size of this reservation by `capacity` bytes

(&self, capacity: usize)

Source from the content-addressed store, hash-verified

461
462 /// Increase the size of this reservation by `capacity` bytes
463 pub fn grow(&self, capacity: usize) {
464 self.registration.pool.grow(self, capacity);
465 self.size.fetch_add(capacity, atomic::Ordering::Relaxed);
466 }
467
468 /// Try to increase the size of this reservation by `capacity`
469 /// bytes, returning error if there is insufficient capacity left

Callers 9

allocate_reservationMethod · 0.45
resizeMethod · 0.45
reserveMethod · 0.45

Calls

no outgoing calls

Tested by 1