Johannes Schindelin
fe3eaac268
pack-objects: widen delta-cache accounting to size_t
...
These three are a single accounting tuple (the globals tracking
cumulative cached-delta bytes, plus the helper that compares them
against an incoming delta size) and are latently 32-bit on Windows
where unsigned long != size_t: a pack with many large cached deltas
could wrap silently.
The widening is internally consistent on its own: the additions and
subtractions against delta_cache_size already come from size_t
sources (DELTA_SIZE() returns size_t), and delta_cacheable()'s sole
caller in try_delta() still passes unsigned long, which promotes.
Prerequisite for dropping try_delta()'s cast_size_t_to_ulong()
shims, which becomes possible once create_delta() and diff_delta()
are widened in a later commit.
Assisted-by: Opus 4.7
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de >
2026-06-26 08:58:25 +00:00
..
2026-05-15 04:44:39 +09:00
2026-04-10 07:58:53 -07:00
2026-05-19 15:05:46 +09:00
2026-05-24 18:41:06 +09:00
2026-06-09 10:04:50 +09:00
2026-05-19 19:36:24 +09:00
2026-03-18 12:52:29 -07:00
2026-06-21 16:41:38 -07:00
2026-05-19 19:36:24 +09:00
2026-02-20 08:13:58 -08:00
2026-05-19 19:36:24 +09:00
2026-05-19 19:36:24 +09:00
2026-06-07 23:58:24 +09:00
2026-05-19 19:36:25 +09:00
2026-01-15 05:32:31 -08:00
2026-04-29 21:46:03 +09:00
2026-06-03 08:39:54 +09:00
2026-01-12 11:56:56 -08:00
2026-06-17 11:10:11 -07:00
2026-05-19 19:36:24 +09:00
2026-02-13 13:39:25 -08:00
2026-05-19 19:36:24 +09:00
2026-06-15 07:45:41 -07:00
2026-06-15 07:45:41 -07:00
2026-06-21 16:41:38 -07:00
2026-05-19 15:05:46 +09:00
2026-06-09 10:04:50 +09:00
2026-03-03 10:20:00 -08:00
2026-06-15 07:45:41 -07:00
2026-04-15 08:44:34 -07:00
2026-06-01 18:47:18 +09:00
2026-06-15 07:45:41 -07:00
2026-05-19 19:36:25 +09:00
2026-05-19 19:36:24 +09:00
2026-06-07 23:58:24 +09:00
2026-04-10 07:58:55 -07:00
2026-06-21 16:41:38 -07:00
2026-05-19 19:36:25 +09:00
2026-03-27 11:00:02 -07:00
2026-02-13 13:39:25 -08:00
2026-06-15 07:45:41 -07:00
2026-06-21 16:41:38 -07:00
2026-06-15 07:45:41 -07:00
2026-05-12 09:33:43 +09:00
2026-05-19 19:36:25 +09:00
2026-02-06 11:45:33 -08:00
2026-06-15 07:45:41 -07:00
2026-05-27 14:15:44 +09:00
2026-06-15 07:45:41 -07:00
2026-03-12 10:03:23 -07:00
2026-05-20 11:31:13 +09:00
2026-06-15 07:42:00 -07:00
2026-05-19 09:57:44 +09:00
2026-06-15 07:45:41 -07:00
2026-06-26 08:58:25 +00:00
2026-02-21 21:26:53 -08:00
2026-01-09 06:07:21 -08:00
2026-05-20 11:33:24 +09:00
2026-05-04 10:11:17 +09:00
2026-05-19 19:36:24 +09:00
2026-03-24 12:26:58 -07:00
2026-06-07 23:58:24 +09:00
2026-03-23 08:33:10 -07:00
2026-03-31 20:43:14 -07:00
2026-05-20 11:31:14 +09:00
2026-05-14 15:59:25 +09:00
2026-04-01 21:34:25 -07:00
2026-06-15 07:45:41 -07:00
2026-05-19 19:36:24 +09:00
2026-04-06 12:02:30 -07:00
2026-05-31 10:00:37 +09:00
2026-05-19 19:36:24 +09:00
2026-05-19 15:05:46 +09:00
2026-02-20 08:13:58 -08:00
2026-01-15 05:32:31 -08:00
2026-01-30 08:58:12 -08:00
2026-03-31 20:43:14 -07:00
2026-06-15 07:42:00 -07:00
2026-06-07 23:58:25 +09:00
2026-05-19 19:36:24 +09:00
2026-05-19 19:36:24 +09:00
2026-06-15 07:45:41 -07:00
2026-06-15 07:45:41 -07:00
2026-06-15 07:45:41 -07:00
2026-05-27 14:15:46 +09:00
2026-05-05 16:34:08 +09:00
2026-05-19 19:36:24 +09:00
2026-05-19 19:36:24 +09:00
2026-05-06 09:48:28 +09:00
2025-12-29 22:02:53 +09:00
2026-04-10 07:58:53 -07:00