Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ ndim
Method
ndim
crates/vm/src/protocol/buffer.rs:232–234 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
230
}
231
232
pub fn ndim(&self) -> usize {
233
self.dim_desc.len()
234
}
235
236
pub fn is_contiguous(&self) -> bool {
237
if self.len == 0 {
Callers
6
validate
Method · 0.45
for_each_segment
Method · 0.45
_for_each_segment
Method · 0.45
zip_eq
Method · 0.45
_zip_eq
Method · 0.45
is_last_dim_contiguous
Method · 0.45
Calls
1
len
Method · 0.45
Tested by
no test coverage detected