36bd2a37c7
refactor: changed arrayslice_to_arraylsit
2026-05-14 06:53:38 -06:00
dc274787e3
refactor: slices take same approach for init
2026-05-14 06:48:56 -06:00
d69a74dad2
refactor: init takes pointer to pointer for compatibliity
...
Its better for me this way, its just this little change at least, next
is fucking going and fixig all damn tests, the fucking wors part
2026-05-13 20:42:04 -06:00
310b25ce1f
updates to cmake
2026-04-23 12:23:52 -06:00
af03e25979
README update
...
d
2026-04-23 11:38:29 -06:00
9fbd7d87ce
Merge pull request 'implementation_ArrayListSlice' ( #1 ) from implementation_ArrayListSlice into main
...
Reviewed-on: #1
2026-04-23 11:25:37 -06:00
d940b68eef
test: tests for arrayslice to aray done
2026-04-23 11:22:57 -06:00
51f1166f31
test: advance tests done
2026-04-23 10:47:23 -06:00
a515f8eaf2
test: reset tests done
2026-04-23 10:29:53 -06:00
e04fc30f4e
test: next tests done
2026-04-23 10:03:55 -06:00
9920b518bf
test: peek tests done
2026-04-23 09:39:59 -06:00
4a1575e833
addtition: slice to array, needs testing
2026-04-23 09:18:18 -06:00
dd992cf6b9
addtition: reset and advance, need testing
2026-04-23 08:59:12 -06:00
e8aaa006de
addition: next and peek, need testing
2026-04-23 08:47:45 -06:00
94dc859a8f
test: added tests for slice_destroy
2026-04-22 17:55:14 -06:00
b34fb9902f
test: added tests for slice_unsafe
2026-04-22 17:26:49 -06:00
198997e2b6
test: arraylist_slice tested
2026-04-21 19:57:58 -06:00
b313045153
test: Check for borrows before changing array state
2026-04-21 11:16:11 -06:00
dafaa5b87e
fix: fixed problems with init and destroy slice
2026-04-21 09:10:53 -06:00
6088895ad0
addition: create slice and unsafe, also destroy
2026-04-20 08:43:58 -06:00
04a52e3455
addtition: Added function declarations
2026-04-19 21:57:28 -06:00
4b2389ad62
feature: Added structure for ArrayListSlices
2026-04-19 12:32:11 -06:00
1ca3defacc
test: added test for reserve
2026-04-18 20:34:42 -06:00
8fdd5f3981
test: added test for resize
2026-04-18 20:15:18 -06:00
532a84fa8f
test: added tests for clear
2026-04-18 19:22:17 -06:00
2d66b35e0e
test: added tests for set
2026-04-17 11:07:25 -06:00
b76c52cb72
test: added test for remove at
2026-04-17 08:21:26 -06:00
462669dfa1
test: added test for push front
2026-04-17 07:47:02 -06:00
cc7de39dd6
test: added tests for pop_back
2026-04-17 07:05:13 -06:00
a3db7f376f
test: added tests for insert
2026-04-16 21:30:16 -06:00
b55432448e
test: added test for push_front
2026-04-16 20:56:48 -06:00
789fbf7d4c
test: Added push_back tests
...
All working
2026-04-16 10:42:01 -06:00
1e7e6f7b8d
test: Added tests made for state consistency
...
Also changed a few things like usin asser_null and assert_non_null
--didn't knew they existed in cmocka, or at least forgot-- for better
clarity and readability.
2026-04-16 08:42:01 -06:00
7662af09f8
test: Added test for init and destroy
...
Also changed a few things like destroy tanking a double pointer so that
is more secure and making sure before hand that capacity is not that
ridiculous of a size, still, shit can get pass but generally is fine
2026-04-15 17:17:54 -06:00
1d7f9676ec
addition: resize and reserve, not tested
2026-04-15 10:01:27 -06:00
0fc64c2d8d
addition: set and get, not tested
2026-04-15 07:38:04 -06:00
520dd9d52e
addition: added pop_back, remove_at, pop_front
...
Same thing as with addtition, not tested and decided O(n)
2026-04-15 07:15:35 -06:00
fa0d09c3d7
addition: insert, push_back and push_front
...
Decided that push front and insert will be O(n) because it moves
everything one space ahead, could do something like a buffer ring but i
think is too much, maybe in the future i do change it but i'm not sure,
for now it just moves everything, also, i havne't tested them and i'm
not sure the for loop meant for moving everything actually works.
2026-04-15 06:50:04 -06:00
4ea062fd60
addition/refactor: Made ADT design and added grow/shrink
...
So, added private functions made to grow and shrink the array in a
multiple of 2, 2 as a factro is fine, at least that is Rust does it that
way. Also changed the design to ADT, forgot i liked that, probably will
be changing that to apply also to my Arena implementation, i will see if
fits --probably--.
2026-04-14 20:30:02 -06:00
cb78e9467b
addition: size, is empty and capacity
2026-04-14 19:38:56 -06:00
f6fedcb9c2
addition: destroy and clear
2026-04-14 19:33:15 -06:00
39022d53ff
addition: Added basic header and structure
2026-04-13 17:55:45 -06:00
12197bfbbd
Initial commit
2026-04-13 11:16:58 -06:00