MCPcopy Index your code
hub / github.com/ZeroIntensity/pointers.py / fill_contiguous_strides

Method fill_contiguous_strides

src/pointers/api_bindings.py:184–198  ·  view source on GitHub ↗
(
        ndims: int,
        shape: PointerLike,
        strides: PointerLike,
        itemsize: int,
        order: CharLike,
    )

Source from the content-addressed store, hash-verified

182 # PyBuffer_FillContiguousStrides
183 @staticmethod
184 def fill_contiguous_strides(
185 ndims: int,
186 shape: PointerLike,
187 strides: PointerLike,
188 itemsize: int,
189 order: CharLike,
190 ) -> None:
191 return api_binding_base(
192 API_FUNCS["PyBuffer_FillContiguousStrides"],
193 ndims,
194 shape,
195 strides,
196 itemsize,
197 make_char(order),
198 )
199
200 # PyBuffer_FillInfo
201 @staticmethod

Callers

nothing calls this directly

Calls 2

api_binding_baseFunction · 0.85
make_charFunction · 0.85

Tested by

no test coverage detected