16 Commits

Author SHA1 Message Date
Chris Robinson
c118daf246 Add a pointer wrapper for al::span's iterators
This helps ensure expected behavior for eventually switching to std::span in
C++20, as iterator objects can't be offset with any old integer type.
2024-03-16 07:51:23 -07:00
Chris Robinson
9018fe3f9a Avoid some pointer arithmetic 2024-03-12 08:12:37 -07:00
Chris Robinson
baa75fa453 Fix ringbuffer overflow check 2024-03-09 23:39:56 -08:00
Chris Robinson
4594ea354c Rename some variables for clarity 2024-02-23 23:24:30 -08:00
Chris Robinson
b57fde350e Allow using the total capacity of the RingBuffer 2024-02-23 07:49:09 -08:00
Chris Robinson
5381ebabe2 Make better use of cache lines for the ringbuffer indices 2024-02-23 06:57:08 -08:00
Chris Robinson
52f97eaa48 Update some includes 2024-02-13 10:45:15 -08:00
Chris Robinson
9b397885bc Remove some unneeded elses 2024-01-29 22:17:42 -08:00
Chris Robinson
cb24fe6f28 Initialize variables with appropriate values 2024-01-19 06:57:23 -08:00
Chris Robinson
8c80f29e24 Avoid some const_casts 2024-01-03 19:10:15 -08:00
Chris Robinson
1381a951be Properly check if size_t is larger than uint32_t 2023-12-15 10:00:23 -08:00
Chris Robinson
bb3387b0fc Much more clang-tidy cleanup 2023-12-10 22:15:17 -08:00
Chris Robinson
040c172cdf Clean up some more clang-tidy warnings 2023-12-08 10:11:08 -08:00
Chris Robinson
7cbf3ba2e2 Use std::byte instead of a custom al::byte 2023-05-04 11:39:13 -07:00
Chris Robinson
b1559227b0 Make some structs nested 2022-02-23 10:37:09 -08:00
Chris Robinson
8a352d25f9 Move the ringbuffer to common 2020-12-05 03:28:19 -08:00