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

Function npy_bswap8_unaligned

numpy/core/src/common/lowlevel_strided_loops.h:534–541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

532}
533
534static inline void
535npy_bswap8_unaligned(char * x)
536{
537 char a = x[0]; x[0] = x[7]; x[7] = a;
538 a = x[1]; x[1] = x[6]; x[6] = a;
539 a = x[2]; x[2] = x[5]; x[5] = a;
540 a = x[3]; x[3] = x[4]; x[4] = a;
541}
542
543
544/* Start raw iteration */

Callers 3

_strided_byte_swapFunction · 0.85
npy_to_doubleFunction · 0.85
npy_to_cdoubleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected