aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-08Fix trivial compiler errors.Tucker Evans
2020-05-30Add remove index function for double ended queue.Tucker Evans
2020-05-30Add deq_clear function for double ended queue.Tucker Evans
Frees all elements in double ended queue, does not free the queue struct itself (deq_free is used for this).
2020-05-29Fix change beg, end to indices.Tucker Evans
These are now indices of the buffer rather than pointers into buffer, as this is simpler to maintain and extend. end is also changed to point to next location for storage rather than the last element.
2020-05-27Fix resize implementation (double ended queue).Tucker Evans
Needed to take into account circular buffer i.e. handle a split buffer (base<->end & beg<->limit) along with regular (beg<->end).
2020-05-27Add brief description of double ended queue struct.Tucker Evans
2020-05-27Add print function for double ended queue.Tucker Evans
Moves original print to debug_print.
2020-05-27Fix trivial compiler errors.Tucker Evans
2020-05-27Fix double ended queue pop back w/ wrap around.Tucker Evans
2020-05-27Fix move index function for double ended queue.Tucker Evans
2020-05-27Fix double ended queue pop front w/ wrap around.Tucker Evans
2020-05-26Fix push front for double ended queue.Tucker Evans
Was only a copy of push back.
2020-05-26Fix double ended queue push back.Tucker Evans
2020-05-26Fix double ended queue size.Tucker Evans
2020-05-26Fix index function for double ended queue.Tucker Evans
Double ended queue's did not account for pushing in-front of the base i.e. a truly circular buffer, this is the start to fixing that across all functions.
2020-05-25Add push front for double ended queue.Tucker Evans
2020-05-25Fix typo in struct name.Tucker Evans
2020-02-23Add front/back access functions for double ended queueTucker Evans
2020-02-23Add truncate function for double ended queueTucker Evans
2020-02-23Add swap to double ended queueTucker Evans
2020-02-23Fix rename functions/variablesTucker Evans
2020-02-21Add basic readmeTucker Evans
2020-02-21Fix rename function for "deq" prefix (from "vec").Tucker Evans
2020-02-21Fix rename double ended queue filesTucker Evans
Also add gitignore.
2020-02-21Initial commitTucker Evans
Includes vector (really double ended queue) code from previous project.