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

Function NpyIter_GetTransferFlags

numpy/core/src/multiarray/nditer_api.c:883–887  ·  view source on GitHub ↗

* Fetch the ArrayMethod (runtime) flags for all "transfer functions' (i.e. * copy to buffer/casts). * * TODO: This should be public API, but that only makes sense when the * ArrayMethod API is made public. */

Source from the content-addressed store, hash-verified

881 * ArrayMethod API is made public.
882 */
883NPY_NO_EXPORT int
884NpyIter_GetTransferFlags(NpyIter *iter)
885{
886 return NIT_ITFLAGS(iter) >> NPY_ITFLAG_TRANSFERFLAGS_SHIFT;
887}
888
889
890/*NUMPY_API

Callers 4

PyArray_WhereFunction · 0.85
array_subscriptFunction · 0.85
array_assign_subscriptFunction · 0.85
execute_ufunc_loopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected