Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ STRING_SWAP
Function
STRING_SWAP
numpy/core/src/npysort/npysort_common.h:268–276 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
266
267
268
static inline void
269
STRING_SWAP(char *s1, char *s2, size_t len)
270
{
271
while(len--) {
272
const char t = *s1;
273
*s1++ = *s2;
274
*s2++ = t;
275
}
276
}
277
278
279
static inline int
Callers
1
swap
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected