MCPcopy Create free account
hub / github.com/numpy/numpy / IsUintAligned

Function IsUintAligned

numpy/core/src/common/array_assign.c:143–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143NPY_NO_EXPORT int
144IsUintAligned(PyArrayObject *ap)
145{
146 return raw_array_is_aligned(PyArray_NDIM(ap), PyArray_DIMS(ap),
147 PyArray_DATA(ap), PyArray_STRIDES(ap),
148 npy_uint_alignment(PyArray_DESCR(ap)->elsize));
149}
150
151
152

Callers 8

PyArray_CopyAsFlatFunction · 0.85
PyArray_ChooseFunction · 0.85
npyiter_allocate_arraysFunction · 0.85
array_boolean_subscriptFunction · 0.85
array_subscriptFunction · 0.85
array_assign_subscriptFunction · 0.85

Calls 7

raw_array_is_alignedFunction · 0.85
PyArray_NDIMFunction · 0.85
PyArray_DIMSFunction · 0.85
PyArray_DATAFunction · 0.85
PyArray_STRIDESFunction · 0.85
npy_uint_alignmentFunction · 0.85
PyArray_DESCRFunction · 0.85

Tested by

no test coverage detected