Julian Hartmer
Julian Hartmer
Strictly speaking, the C standard does not guarantee unaligned memory accesses to work. So any time sizeof (*vec) is bigger than sizeof (size_t), accessing *vec is undefined. sizeof (size_t) is...
PR is still in early state. It's not fully tested and still buggy. Here is how I would try to tackle the issue https://github.com/eteran/c-vector/issues/40. I introduced several helper macros that...
What do you think about automatic shrinking of c-vectors? Currently, the vector capacity doubles when `capacity == size`. How about cutting the vector capacity in half when the `(size >>...
### Prerequisite checklist - [x] Read the [contribution guidelines](https://unikraft.org/docs/contributing/) regarding submitting new changes to the project; - [x] Tested your changes against relevant architectures and platforms; - [x] Ran the...
### Prerequisite checklist - [x] Read the [contribution guidelines](https://unikraft.org/docs/contributing/) regarding submitting new changes to the project; - [ ] Tested your changes against relevant architectures and platforms; - [ ]...