aboutsummaryrefslogtreecommitdiff
path: root/lib/std/heap
AgeCommit message (Expand)Author
2023-10-04GeneralPurposeAllocator.searchBucket: check current bucket before searching t...Ryan Liptak
2023-10-03Treap: do not set key to undefined in `remove` to allow re-use of removed nodesRyan Liptak
2023-10-03GeneralPurposeAllocator: Considerably improve worst case performanceRyan Liptak
2023-09-06std: enable FailingAllocator to fail on resizeGregory Anders
2023-08-21Update default stack frames for general_purpose_allocator.zigGregory Mullen
2023-08-02std: add SbrkAllocator and use it for Plan 9Jacob G-W
2023-07-03std: fix doc comment of GPA deinitPhilipp Lühmann
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-06-16migration: std.math.{min, min3, max, max3} -> `@min` & `@max`r00ster91
2023-06-13arena_allocator/reset: avoid zero-capacity allocationsErik Arvstedt
2023-06-13arena_allocator/reset: fix use after freeErik Arvstedt
2023-06-13arena_allocator/reset: fix buffer overrunErik Arvstedt
2023-04-30std: fix a bunch of typosLinus Groh
2023-04-28update codebase to use `@memset` and `@memcpy`Andrew Kelley
2023-04-25zig fmtAndrew Kelley
2023-04-25change semantics of `@memcpy` and `@memset`Andrew Kelley
2023-04-22std: GPA deinit return an enum instead of a boolBorja Clemente
2023-04-05std: fix memory bugsJacob Young
2023-04-04GPA: Catch invalid freesGanesan Rajagopal
2023-03-15add std.heap.ThreadSafeAllocatorAndrew Kelley
2023-02-27std.heap.GeneralPurposeAllocator: add doc comment for deinitAndrew Kelley
2023-02-18update std lib and compiler sources to new for loop syntaxAndrew Kelley
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
2023-01-03Implements std.ArenaAllocator.reset() (#12590)Felix Queißner
2022-12-15Improves the comment formatting.Felix "xq" Queißner
2022-12-15Implements std.heap.MemoryPool and friends.Felix "xq" Queißner
2022-11-30std.ArrayList: fix shrinkAndFreeAndrew Kelley
2022-11-29WasmAllocator: simplify thanks to new Allocator interfaceAndrew Kelley
2022-11-29rename a couple variablesAndrew Kelley
2022-11-29std.heap.WasmAllocator: redoAndrew Kelley
2022-11-29std.heap.WasmAllocator: implement resizingAndrew Kelley
2022-11-29std.heap.WasmAllocator: resize in place without force shrinkingAndrew Kelley
2022-11-29std.heap.WasmAllocator: large allocationsAndrew Kelley
2022-11-29introduce std.heap.WasmAllocatorAndrew Kelley
2022-11-29std.heap: extract PageAllocator, WasmPageAllocatorAndrew Kelley
2022-11-29std.mem.Allocator: allow shrink to failAndrew Kelley
2022-11-12Make invalidFmtError public and use in place of compileErrors for bad format ...Nick Cernis
2022-10-30std.heap.PageAllocator: add check for large allocationAndrew Kelley
2022-09-12remove pointless discardsAndrew Kelley
2022-06-25Move sys_can_stack_trace from GPA to std.debug so that it can be re-used as n...Ryan Liptak
2022-06-03std: update tests to stage2 semanticsVeikka Tuominen
2022-04-23std.Thread: Mutex and Condition improvements (#11497)protty
2022-03-19Sema: implement zirSwitchCaptureElse for error setsVeikka Tuominen
2022-03-19std: enable default panic handler for stage2 LLVM on LinuxVeikka Tuominen
2022-03-16std.heap.GeneralPurposeAllocator: use `var` for mutable localsAndrew Kelley
2022-02-28make gpa.deinit work with stage2Veikka Tuominen
2021-12-19stage1: deal with BPF not supporting @returnAddress()Kenta Iwasaki