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

Function byte_swap_vector

numpy/core/src/multiarray/ctors.c:430–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428}
429
430NPY_NO_EXPORT void
431byte_swap_vector(void *p, npy_intp n, int size)
432{
433 _strided_byte_swap(p, (npy_intp) size, n, size);
434 return;
435}
436
437/* If numitems > 1, then dst must be contiguous */
438NPY_NO_EXPORT void

Callers 2

copy_and_swapFunction · 0.85
PyUnicode_FromUCS4Function · 0.85

Calls 1

_strided_byte_swapFunction · 0.85

Tested by

no test coverage detected