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

Method capacity

datafusion/execution/src/memory_pool/arrow.rs:79–84  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

77 }
78
79 fn capacity(&self) -> usize {
80 match self.inner.memory_limit() {
81 MemoryLimit::Infinite | MemoryLimit::Unknown => usize::MAX,
82 MemoryLimit::Finite(capacity) => capacity,
83 }
84 }
85}
86
87#[cfg(test)]

Callers 4

try_newMethod · 0.45
test_entry_creationFunction · 0.45
availableMethod · 0.45

Calls 1

memory_limitMethod · 0.45

Tested by 1

test_entry_creationFunction · 0.36