Andrew Kelley 7eeef5fb2b std.mem.Allocator: introduce remap function to the interface
This one changes the size of an allocation, allowing it to be relocated.
However, the implementation will still return `null` if it would be
equivalent to

new = alloc
memcpy(new, old)
free(old)

Mainly this prepares for taking advantage of `mremap` which I thought
would be a bigger deal but apparently is only available on Linux. Still,
we should use it on Linux.
2025-02-06 14:23:23 -08:00
..
2025-02-06 14:23:23 -08:00
2025-02-06 14:23:23 -08:00
2025-02-06 14:23:23 -08:00
2025-02-06 14:23:23 -08:00
2024-12-19 17:10:03 -05:00
2025-02-03 09:14:37 +00:00
2025-02-06 14:23:23 -08:00
2024-07-23 11:43:12 -07:00
2025-02-03 09:14:37 +00:00
2024-07-09 14:25:42 -07:00
2025-02-06 14:23:23 -08:00
2025-02-05 13:58:15 +01:00
2025-02-06 14:23:23 -08:00
2024-08-22 08:44:08 +02:00
2025-02-06 14:23:23 -08:00
2024-11-01 02:04:27 +03:30
2025-02-06 14:23:23 -08:00
2024-08-07 00:48:32 -07:00
2024-07-31 16:57:42 -07:00
2025-02-06 14:23:23 -08:00
2025-01-16 20:42:08 -05:00
2024-08-29 23:43:52 +01:00
2025-02-06 14:23:23 -08:00
2025-02-06 14:23:23 -08:00
2025-01-16 20:42:08 -05:00
2025-02-06 14:23:23 -08:00
2025-02-06 14:23:23 -08:00
2025-02-06 14:23:23 -08:00
2025-02-06 14:23:23 -08:00
2025-02-03 09:14:37 +00:00