Abdelrahman Said abdelrahman
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 21:06:58 +00:00
efe8a104de Add allocator functions
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 21:05:57 +00:00
6f799c4330 Remove alloc_obj and pass double pointer to free function
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 20:30:37 +00:00
8a58a1cc48 Implement Allocator wrapper for memory context
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 20:26:14 +00:00
03d2a59948 Implement Allocator wrapper for Arena
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 19:25:41 +00:00
5b8e9f8be6 Wrap libc memory functions in Allocator interface
9ec123c41b Start implementing allocator abstraction
7039b5437a Implement memory context realloc function
Compare 3 commits »
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 17:25:12 +00:00
ca36e0dc35 Fix bug in the function that searches for the allocation header
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 14:57:45 +00:00
3fdd897291 Implement realloc function for Arena
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 13:55:37 +00:00
08703b465c Add arena allocation header
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 11:26:11 +00:00
49ce26a6c2 Switch to using calloc instead of malloc
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 08:10:47 +00:00
feada0b31c Add -O3 to compile flags
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 08:00:12 +00:00
0c07437ef2 Implement memory context with main and temp arenas
063bc03974 Fix bug with clearing arena function
09af7ec734 Update .gitignore
04e86d355d Rename output name in compile script
7bfaf53d4e Return false when initialising arena with 0 capacity
Compare 8 commits »
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 05:52:42 +00:00
df4315cdcc Use echo instead of printf in compile script
abdelrahman pushed to main at abdelrahman/wizapp-stdlib 2024-03-24 05:45:33 +00:00
b3a174f26c Update compile script
abdelrahman pushed to main at abdelrahman/prng-tests 2024-03-22 12:38:12 +00:00
e4893c150b Add split_mix_64 utility
abdelrahman pushed to main at abdelrahman/prng-tests 2024-03-22 12:21:27 +00:00
05b9a22174 Add xoshiro256p generator
b8ce449e99 Update compile script
Compare 2 commits »
abdelrahman pushed to main at abdelrahman/prng-tests 2024-03-22 12:07:03 +00:00
a6f0bf93d9 Create single state struct and add utility function for initialising it
80aeb3fc92 Update compile script to run the generators
Compare 2 commits »
abdelrahman pushed to main at abdelrahman/prng-tests 2024-03-22 11:53:26 +00:00
f4afa5d7ea Add xoshiro256** generator
2708825924 Add Image struct
Compare 2 commits »
abdelrahman pushed to main at abdelrahman/prng-tests 2024-03-22 09:48:40 +00:00
546229e412 Rename xorshift_basic to xorshift_256
abdelrahman pushed to main at abdelrahman/prng-tests 2024-03-22 09:35:47 +00:00
038172f593 Update .gitignore
abdelrahman pushed to main at abdelrahman/prng-tests 2024-03-22 09:34:31 +00:00
c889708ba3 Update .gitignore