Files
gtk/testsuite
Benjamin Otte 4814c5f653 array: Don't overflow array size
Copy what gcc's libstdc++ does for vectors to avoid overflows:

1. Define a max size macro and assert against it
   Note that we don't assert but actually check, because this needs
   to abort even if assertions are disabled.
2. Don't do fancy math to compute new capacity.
   Just size *= 2 instead and be careful about overflow.
2024-05-10 21:22:03 -04:00
..
2024-05-10 18:29:48 +04:00
2024-05-10 21:22:03 -04:00
2024-05-06 17:11:44 -04:00
2024-02-17 14:31:51 +01:00
2024-04-28 23:54:55 -04:00
2024-04-19 12:56:34 -04:00
2023-11-19 08:24:38 -05:00
2023-06-05 05:33:07 +02:00