| 2416 | */ |
| 2417 | void 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 */ |
nothing calls this directly
no outgoing calls
no test coverage detected