7134d6ff13
fix bug
2025-06-20 22:27:20 +02:00
786d7213ae
Update README
2024-01-16 02:34:19 +01:00
59e2d3ff25
Add more tests
2024-01-16 02:22:23 +01:00
f67a3cc335
Fix arena_delete()
2024-01-16 01:38:49 +01:00
6b46af52aa
Update tests
...
Add test for arena_attach
2024-01-15 16:33:17 +01:00
0af6582a64
Add flag option to not align allocations
2024-01-15 16:32:19 +01:00
6e0e6f7437
Add rudimentary test
2024-01-15 15:04:33 +01:00
d11557a4fe
Fix bug and handle more errors
...
Fix bug where mprotect calls don't match the arena cap increase
(https://github.com/olemorud/arena-allocator/issues/1 )
Handle syscall errors in arena_new()
Check for syscall errors in arena_delete() and switch from void to int
to return error status.
2024-01-15 15:02:43 +01:00
44a2982376
Update README
2023-08-19 01:29:21 +02:00
Ole Morud
069f6b11dc
Full rewrite
2023-08-19 01:18:32 +02:00
Ole Morud
e5fa743d85
Add arena_free()
2023-08-19 00:49:51 +02:00
Ole Morud
45e6023d42
Add arena_delete()
2023-08-19 00:49:51 +02:00
Ole Morud
d3754e64e5
Rewrite everything
2023-08-19 00:49:51 +02:00
Ole Morud
57979892f8
Add arena_realloc_tail()
2023-08-19 00:49:51 +02:00
olemorud
51feaf1d00
Move header files to include/
2023-08-19 00:49:51 +02:00
olemorud
529955dbfb
Add *.so, *.a to .gitignore
2023-08-19 00:49:49 +02:00
olemorud
05e69d8776
Add dynamic and static as makefile targets
2023-08-19 00:49:49 +02:00
olemorud
9f6eaca42e
Add and run WebKit based clang-format
2023-08-19 00:49:49 +02:00
olemorud
d4a9708082
Makefile: save as ar file
2023-08-19 00:49:49 +02:00
olemorud
b9d743e868
Update test_arena.c
2023-08-19 00:49:49 +02:00
olemorud
b95c63c965
Add compile_flags.txt
2023-08-19 00:49:49 +02:00
olemorud
c4fe01a54a
Update arena.c, arena.h
2023-08-19 00:49:49 +02:00
olemorud
2b14b86ccb
Update Makefile
2023-08-19 00:49:49 +02:00
olemorud
ba39a77c0c
Add README
2023-08-19 00:49:49 +02:00
olemorud
6576032654
Makefile: update CFLAGS
2023-08-19 00:49:49 +02:00
olemorud
09528df89b
Add .gitignore
2023-08-19 00:49:46 +02:00
olemorud
cd68347dd9
Remove memcpy use
2023-08-19 00:49:41 +02:00
olemorud
5e92c4eaea
Add makefile and restructure
2023-05-14 23:57:05 +02:00
olemorud
9c93b37557
Initial commit
2023-05-14 23:50:43 +02:00