aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc/malloc.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-05-07Added Basic Error codes, Tests and de-inliningmain1-2/+8
Error codes needs to be ingrated with the alloc module Tests now have great coverage in the mem module (>75%). Signed-off-by: Marc Pervaz Boocha <mboocha@sudomsg.xyz> On branch main Your branch is up to date with 'origin/main'. Changes to be committed: modified: include/alloc.h new file: include/err.h modified: include/mem.h modified: include/meson.build modified: readme.md modified: src/alloc/free.c modified: src/alloc/malloc.c new file: src/err/errstr.c new file: src/err/meson.build new file: src/err/set_err.c modified: src/mem/memccpy.c modified: src/mem/memchr.c modified: src/mem/memcmp.c modified: src/mem/memcpy.c modified: src/mem/memlen.c modified: src/mem/memmem.c modified: src/mem/memmove.c modified: src/mem/memrchr.c modified: src/mem/memrev.c modified: src/mem/memset.c modified: src/mem/memswap.c modified: src/mem/memzero.c modified: src/meson.build new file: test/alloc/memdup.c modified: test/alloc/meson.build new file: test/mem/memccpy_nullnull.c new file: test/mem/memchr.c new file: test/mem/memchr_notfound.c new file: test/mem/memcmp_diff.c new file: test/mem/memcmp_prefix.c new file: test/mem/memcmp_same.c new file: test/mem/memcmp_samenull.c new file: test/mem/memcmp_sing.c new file: test/mem/memcpy_null_prefix.c new file: test/mem/memcpy_null_same.c new file: test/mem/memcpy_nullnull.c new file: test/mem/memcpy_prefix.c new file: test/mem/memcpy_same.c new file: test/mem/memlen.c new file: test/mem/memlen_overflow.c new file: test/mem/memmove_backward.c new file: test/mem/memmove_null_backward.c new file: test/mem/memmove_null_overlap.c new file: test/mem/memmove_null_prefix.c new file: test/mem/memmove_null_same.c new file: test/mem/memmove_null_sing.c new file: test/mem/memmove_nullnull.c new file: test/mem/memmove_overlap.c new file: test/mem/memmove_prefix.c new file: test/mem/memmove_same.c new file: test/mem/memmove_sing.c new file: test/mem/memrchr.c new file: test/mem/memrchr_notfound.c new file: test/mem/memrev.c new file: test/mem/memset_null.c new file: test/mem/memset_nullnull.c new file: test/mem/memswap.c new file: test/mem/memswap_null.c new file: test/mem/memswap_same.c new file: test/mem/memzero_null.c new file: test/mem/memzero_nullnull.c modified: test/mem/meson.build modified: test/meson.build
2023-05-06Updated Readme to include build instructions1-2/+16
Signed-off-by: Marc Pervaz Boocha <mboocha@sudomsg.xyz> On branch main Your branch is ahead of 'origin/main' by 1 commit. (use "git push" to publish your local commits) Changes to be committed: modified: readme.md
2023-05-06Added MIT License23-4/+156
On branch main Your branch is up to date with 'origin/main'. Changes to be committed: new file: ../LICENSE modified: ../include/alloc.h modified: ../include/calt.h modified: ../include/mem.h modified: alloc/alloc.c modified: alloc/calloc.c modified: alloc/free.c modified: alloc/malloc.c modified: alloc/memdup.c modified: alloc/realloc.c modified: mem/memccpy.c modified: mem/memchr.c modified: mem/memcmp.c modified: mem/memcpy.c modified: mem/memhash.c modified: mem/memlen.c modified: mem/memmem.c modified: mem/memmove.c modified: mem/memrchr.c modified: mem/memrev.c modified: mem/memset.c modified: mem/memswap.c modified: mem/memzero.c
2023-05-06Added Initial Implementation of memory and allocation function33-0/+484
Signed-off-by: Marc Pervaz Boocha <mboocha@sudomsg.xyz> On branch main Your branch is up to date with 'origin/main'. Changes to be committed: new file: include/alloc.h new file: include/calt.h new file: include/mem.h new file: include/meson.build new file: meson.build new file: meson_options.txt new file: src/alloc/alloc.c new file: src/alloc/calloc.c new file: src/alloc/free.c new file: src/alloc/malloc.c new file: src/alloc/memdup.c new file: src/alloc/meson.build new file: src/alloc/realloc.c new file: src/mem/memccpy.c new file: src/mem/memchr.c new file: src/mem/memcmp.c new file: src/mem/memcpy.c new file: src/mem/memhash.c new file: src/mem/memlen.c new file: src/mem/memmem.c new file: src/mem/memmove.c new file: src/mem/memrchr.c new file: src/mem/memrev.c new file: src/mem/memset.c new file: src/mem/memswap.c new file: src/mem/memzero.c new file: src/mem/meson.build new file: src/meson.build new file: test/alloc/meson.build new file: test/mem/memset.c new file: test/mem/memzero.c new file: test/mem/meson.build new file: test/meson.build