Enrico Weigelt, metux IT consult
c64bae2b82
(1823) dix: replace xallocarray() by calloc()
...
Only key difference that calloc(), in contrast to rellocarray(),
is zero-initializing. The overhead is hard to measure on today's
machines, and it's safer programming practise to always allocate
zero-initialized, so one can't forget to do it explicitly.
Cocci rule:
@@
expression COUNT;
expression LEN;
@@
- xallocarray(COUNT,LEN)
+ calloc(COUNT,LEN)
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net >
2026-02-02 17:35:12 +01:00
..
2026-02-02 17:35:12 +01:00
2024-09-01 22:32:49 +00:00
2024-04-16 01:42:39 +00:00
2024-10-10 13:38:31 +00:00
2026-02-02 17:35:12 +01:00
2026-02-02 17:35:12 +01:00
2024-09-02 16:43:29 +00:00
2025-02-17 19:32:48 +00:00
2026-02-02 17:35:12 +01:00
2026-02-02 17:35:12 +01:00
2024-10-10 13:38:31 +00:00
2025-02-11 19:13:01 +01:00
2026-02-02 17:35:11 +01:00
2026-02-02 17:35:12 +01:00
2024-10-10 13:50:57 +00:00
2024-04-30 00:47:38 +00:00
2024-10-10 13:38:31 +00:00
2026-02-02 17:35:10 +01:00
2024-10-10 13:38:31 +00:00
2026-02-02 17:35:10 +01:00
2026-02-02 17:35:12 +01:00
2024-04-30 00:47:38 +00:00
2026-02-02 17:33:35 +01:00
2026-02-02 17:33:35 +01:00
2024-04-15 23:10:31 +00:00
2025-02-12 17:48:30 +01:00
2025-02-17 18:13:33 +00:00
2025-02-17 19:32:48 +00:00
2026-02-02 17:35:12 +01:00
2025-02-11 19:13:01 +01:00
2025-02-12 17:48:30 +01:00
2026-02-02 17:35:12 +01:00
2026-02-02 17:35:11 +01:00
2026-02-02 17:33:34 +01:00
2026-02-02 17:35:12 +01:00
2025-02-11 19:13:01 +01:00
2025-02-12 17:48:30 +01:00
2026-02-02 17:35:12 +01:00
2024-09-02 17:50:47 +00:00
2026-02-02 17:35:12 +01:00
2024-09-01 22:32:49 +00:00
2025-02-17 19:32:48 +00:00
2024-10-10 13:38:31 +00:00
2024-10-10 13:38:31 +00:00
2025-06-12 16:16:45 +02:00
2026-02-02 17:35:12 +01:00
2024-09-01 22:32:49 +00:00
2024-10-10 13:38:31 +00:00
2024-10-10 13:38:31 +00:00
2025-06-12 16:16:45 +02:00
2025-06-12 16:16:45 +02:00
2025-02-17 19:32:48 +00:00
2026-02-02 17:35:11 +01:00
2026-02-02 17:35:12 +01:00