Differences From Artifact [9fca1834ea]:
- File
src/tools.m
— part of check-in
[6b85eefc85]
at
2025-03-23 02:47:40
on branch trunk
— Remove loop[ijkl]
They confused clang-format a lot. (user: js, size: 455) [annotate] [blame] [check-ins using]
To Artifact [8e8dbaa306]:
- File src/tools.m — part of check-in [b5bfe2af86] at 2025-03-23 02:59:37 on branch trunk — Remove u{char,short,int} (user: js, size: 479) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
9 10 11 12 13 14 15 | void *memory, int stride, int length) // little indians as storage format { if (*((char *)&stride)) return; for (int w = 0; w < length; w++) { for (int i = 0; i < stride / 2; i++) { | | | | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | void *memory, int stride, int length) // little indians as storage format { if (*((char *)&stride)) return; for (int w = 0; w < length; w++) { for (int i = 0; i < stride / 2; i++) { unsigned char *p = (unsigned char *)memory + w * stride; unsigned char t = p[i]; p[i] = p[stride - i - 1]; p[stride - i - 1] = t; } } } |