MCPcopy Index your code
hub / github.com/RustPython/RustPython / c_contiguous

Method c_contiguous

crates/vm/src/builtins/memory.rs:649–651  ·  view source on GitHub ↗
(&self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

647
648 #[pygetset]
649 fn c_contiguous(&self, vm: &VirtualMachine) -> PyResult<bool> {
650 self.try_not_released(vm).map(|_| self.desc.is_contiguous())
651 }
652
653 #[pygetset]
654 fn f_contiguous(&self, vm: &VirtualMachine) -> PyResult<bool> {

Callers

nothing calls this directly

Calls 3

try_not_releasedMethod · 0.80
is_contiguousMethod · 0.80
mapMethod · 0.45

Tested by

no test coverage detected