ring-buffer icon indicating copy to clipboard operation
ring-buffer copied to clipboard

Ring buffer library for C++17

Results 1 ring-buffer issues
Sort by recently updated
recently updated
newest added

The following is an excerpt from `ring_buffer.cc`, see https://github.com/jpcima/ring-buffer/blob/e0c7b5ee052ab67cecdf26ca20dda77363506a5d/sources/ring_buffer.cc#L127C1-L147C2 ```c++ template bool Ring_Buffer_Ex::putbytes_(const void *data, size_t len) { if (len == 0) return true; if (size_free() < len) return false;...