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

Method try_grow

datafusion/execution/src/memory_pool/pool.rs:50–53  ·  view source on GitHub ↗
(&self, reservation: &MemoryReservation, additional: usize)

Source from the content-addressed store, hash-verified

48 }
49
50 fn try_grow(&self, reservation: &MemoryReservation, additional: usize) -> Result<()> {
51 self.grow(reservation, additional);
52 Ok(())
53 }
54
55 fn reserved(&self) -> usize {
56 self.used.load(Ordering::Relaxed)

Callers 3

test_fairFunction · 0.45

Calls 8

consumerMethod · 0.80
report_topMethod · 0.80
idMethod · 0.80
growMethod · 0.45
sizeMethod · 0.45
intoMethod · 0.45

Tested by 3

test_fairFunction · 0.36