aboutsummaryrefslogtreecommitdiff
path: root/core/mem/allocators.odin
Commit message (Expand)AuthorAgeFilesLines
...
* | [mem]: Put panic allocator after nil allocator, adjust @require_resultsflysand72024-09-081-58/+57
* | [mem]: Remove old commentsflysand72024-09-081-2/+0
* | [mem]: Panic when allocator is not initializedflysand72024-09-081-22/+45
* | [mem]: Make resize_bytes take a slice for the old memoryflysand72024-09-071-45/+45
* | [mem]: Rename alloc to alloc_bytes and add allocflysand72024-09-071-47/+248
* | [mem]: Add free_all for buddy allocatorflysand72024-09-071-9/+9
* | [mem]: Split alloc and alloc_non_zeroed for buddy allocatorflysand72024-09-071-38/+21
* | [mem]: Add @require_results to all functions returning valuesflysand72024-09-071-7/+25
* | [mem]: Add resize_non_zeroed variant to dynamic arena, and rename pool to arenaflysand72024-09-071-50/+76
* | [mem]: Add alloc_non_zeroed variant to dynamic poolflysand72024-09-071-123/+122
* | [mem]: Rename dynamic pool to dynamic arenaflysand72024-09-071-26/+37
* | [mem]: Fix vet errorsflysand72024-09-071-8/+9
* | [mem]: API for using small stack allocator directlyflysand72024-09-071-153/+203
* | [mem]: Remove the extra word 'allocator' in proceduresflysand72024-09-071-46/+49
* | [mem]: API for using stack allocator directlyflysand72024-09-071-114/+169
* | [mem]: Initialize scratch allocator during calls to free and resizeflysand72024-09-071-8/+10
* | [mem]: API for using scratch allocator directlyflysand72024-09-071-120/+165
* | [mem]: API for using arena directlyflysand72024-09-071-33/+38
* | [mem]: Code formattingflysand72024-09-071-77/+98
|/
* fix #3692 memory alignment bug in core:mem.dynamic_pool_alloc_bytesDerTee2024-07-031-3/+1
* fix: buddy allocator wrong query info pointerLaytan Laats2024-04-281-1/+1
* Add missing attributegingerBill2024-03-061-0/+1
* Add `Query_Info` to `Buddy_Allocator`gingerBill2024-03-061-2/+14
* Add `mem.Buddy_Allocator`gingerBill2024-03-061-0/+264
* Fix indentationgingerBill2024-03-061-4/+6
* Move Tracking_Allocator to its own file.dev-2024-02gingerBill2024-02-011-132/+0
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-281-2/+2
* add resize_non_zeroed to query featuresColin Davidson2024-01-171-3/+6
* add non-zeroing append and resizeColin Davidson2023-12-041-14/+18
* [core]: Remove `do` keyword from the core libraryflysand72023-11-111-1/+3
* fix whitespaceBenjamin Findley2023-08-151-1/+1
* prevent potential segfaults when using large allocations from dynamic poolBenjamin Findley2023-08-111-0/+1
* Clean up usage of `using` throughout core and vendorgingerBill2023-07-311-52/+52
* Default to `panic` allocator for wasm targetsgingerBill2023-06-261-6/+6
* Add mutex to `mem.Tracking_Allocator`gingerBill2023-05-251-0/+7
* Add missing `Allocator_Error` and `@(require_results)` to many proceduresgingerBill2023-05-221-3/+12
* Replaced opaque bit-shifts with readable constants for memory unitshikari2022-12-241-1/+1
* Merge pull request #2181 from odin-lang/map-devgingerBill2022-11-171-9/+15
|\
| * Add extra calls to `Tracking_Allocator`gingerBill2022-11-091-0/+11
| * Fix bug with allocator not getting set on a `map`gingerBill2022-11-081-9/+4
* | Handle freeing nil in scratch allocatorMichael Freundorfer2022-11-141-0/+3
|/
* Add `Allocator_Mode.Alloc_Non_Zerored`gingerBill2022-09-221-25/+42
* Clean up naming conventionsgingerBill2022-08-081-6/+29
* Merge pull request #1819 from IanLilleyT/no_query_infogingerBill2022-06-121-5/+4
|\
| * tidying up Query_Info return value when not in query featuresIan Lilley2022-06-011-5/+4
* | tighter allocation for arena allocatorIan Lilley2022-06-011-4/+5
|/
* Correct logic for tracking allocator proc for freeing a nil pointergingerBill2022-05-151-1/+1
* Fix `dynamic_pool_destroy`gingerBill2022-05-151-0/+1
* [mem] Fix Dynamic_Pool.Jeroen van Rijn2022-05-051-0/+2
* Revert "Update `mem.nil_allocator` to match the same in `runtime`"Jeroen van Rijn2022-04-191-18/+1