MCPcopy Create free account
hub / github.com/KaisenAmin/c_std / algorithm_inc_uint8

Function algorithm_inc_uint8

algorithm/algorithm.c:2418–2420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2416 */
2417void algorithm_swap_ranges(void *first1, void *first2, size_t num, size_t size) {
2418 ALGORITHM_LOG("[algorithm_swap_ranges] Info: Swapping %zu elements between two arrays of element size %zu.", num, size);
2419
2420 if (!first1 || !first2 || first1 == first2 || num == 0 || size == 0) {
2421 return;
2422 }
2423 /* the two ranges are contiguous: swap them as one block of bytes */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected