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

Method contiguous

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

Source from the content-addressed store, hash-verified

642
643 #[pygetset]
644 fn contiguous(&self, vm: &VirtualMachine) -> PyResult<bool> {
645 self.try_not_released(vm).map(|_| self.desc.is_contiguous())
646 }
647
648 #[pygetset]
649 fn c_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