aboutsummaryrefslogtreecommitdiff
path: root/lib/std/mem
AgeCommit message (Expand)Author
2025-09-03Add allocator that always failswhatisaphone
2025-08-24lib: Reword documentation for realloc to clarify size87
2025-07-09std: refactor to use Alignment.ofAndrew Kelley
2025-04-13std: eradicate u29 and embrace std.mem.AlignmentAndrew Kelley
2025-03-26Allocator.create: properly handle alignment for zero-sized types (#21864)Kendall Condon
2025-03-25Merge pull request #23220 from samy-00007/bytesAsSlice-fixAlex Rønne Petersen
2025-03-24fix: Allocator.remap now handles zero-bytes sized typessamy007
2025-03-11std.mem.Allocator.remap: fix incorrect doc comment (part 2)mlugg
2025-03-11std.mem.Allocator.remap: fix incorrect doc commentmlugg
2025-02-06std.mem.Allocator.VTable: improve doc comment wordingAndrew Kelley
2025-02-06std.mem.Allocator: keep the undefined memsetAndrew Kelley
2025-02-06std.mem.Allocator: introduce `remap` function to the interfaceAndrew Kelley
2025-02-06GeneralPurposeAllocator: minimal fixAndrew Kelley
2025-02-06adjust runtime page size APIsAndrew Kelley
2025-02-06runtime page size detectionArchbirdplus
2025-02-03Allocator/Random: document that comparing `ptr` may result in illegal behaviorRyan Liptak
2025-01-22std.mem.Allocator: remove redundant checkmlugg
2025-01-16all: update to `std.builtin.Type.{Pointer,Array,StructField}` field renamesmlugg
2025-01-16all: update to `std.builtin.Type.Pointer.Size` field renamesmlugg
2024-11-24Allocator.free: document zero-length behaviorIlia Choly
2024-08-28std: update `std.builtin.Type` fields to follow naming conventionsmlugg
2023-09-07mem: explicit dupe and dupeZ error on AllocatorPascal S. de Kloe
2023-07-25add error when passing a non-single-item pointer to allocator.destroyxdBronch
2023-07-06Optimize Allocator functions to create less duplicate code for similar types ...IntegratedQuantum
2023-06-24all: migrate code to new cast builtin syntaxmlugg
2023-06-19all: zig fmt and rename "@XToY" to "@YFromX"Eric Joldasov
2023-06-17mem: rename align*Generic to mem.align*Motiejus Jakštys
2023-04-28update codebase to use `@memset` and `@memcpy`Andrew Kelley
2023-04-25update `@memcpy` to require equal src and dest lensAndrew Kelley
2023-04-25change semantics of `@memcpy` and `@memset`Andrew Kelley
2023-02-15split `@qualCast` into `@constCast` and `@volatileCast`Veikka Tuominen
2023-02-12Revert "std: check types of pointers passed to allocator functions"Andrew Kelley
2023-02-12std: check types of pointers passed to allocator functionsLeo Constantinides
2022-12-13Allocator.zig: minor fixesGanesan Rajagopal
2022-12-06remove most conditional compilation based on stage1Andrew Kelley
2022-11-29std.mem.Allocator: allow shrink to failAndrew Kelley
2022-11-16std.mem.Allocator: do not return undefined pointers from `create`Veikka Tuominen
2022-10-29Allocator: fix len_align calc in large type size casekkHAIKE
2022-10-27std.mem.Allocator: do not return undefined pointersVeikka Tuominen
2022-09-29std: Replace use of stage1 function pointersominitay
2022-07-23Revert "std.mem.Allocator: add alignedCreate"Veikka Tuominen
2022-07-23std.mem.Allocator: add alignedCreatedevins2518
2022-05-02Allocator: correct `PanicFree` function nameLee Cannon
2022-04-05zig fmt: remove trailing whitespace on doc commentsDamien Firmenich
2022-01-26std.mem.Allocator: upgrade to new function pointer semanticsAndrew Kelley
2021-12-19Allocator: `allocBytes` and `reallocBytes` (#10352)Lee Cannon
2021-12-19stage1, stage2: rename c_void to anyopaque (#10316)Isaac Freund
2021-12-02allocator: Move vtable into gen structLee Cannon
2021-11-30allocgate: change resize to return optional instead of errorLee Cannon
2021-11-30allocgate: split free out from resizeLee Cannon