Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ UNICODE_SWAP
Function
UNICODE_SWAP
numpy/core/src/npysort/npysort_common.h:306–314 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
304
305
306
static inline void
307
UNICODE_SWAP(npy_ucs4 *s1, npy_ucs4 *s2, size_t len)
308
{
309
while(len--) {
310
const npy_ucs4 t = *s1;
311
*s1++ = *s2;
312
*s2++ = t;
313
}
314
}
315
316
317
static inline int
Callers
1
swap
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected