Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_new
Method · 0.45
create_test_list_files_entry
Function · 0.45
test_entry_creation
Function · 0.45
available
Method · 0.45
Calls
1
memory_limit
Method · 0.45
Tested by
1
test_entry_creation
Function · 0.36