19 Commits (b5849b356e3c50169ca5f2c6896ef8dc8cc066d3)

Author SHA1 Message Date
Andrew Tridgell dcc038dc83 AP_HAL: prevent a zero length leading buffer in peekiovec 6 years ago
Andrew Tridgell 3f5534eed5 AP_HAL: use calloc in preferance to malloc 7 years ago
Lucas De Marchi 05a7eef1a2 RingBuffer: use explict "if" and return early 8 years ago
Murilo Belluzzo 8526b25654 RingBuffer: Add a faster method to read a single byte 8 years ago
Murilo Belluzzo b856d26087 RingBuffer: ::set_size now returns true or false 9 years ago
Murilo Belluzzo f7f203efa9 RingBuffer: Add ::clear() method to discard the buffer content 9 years ago
Murilo Belluzzo 75a1b102fb RingBuffer: Handle zero sized better 9 years ago
Murilo Belluzzo 3e1acdcbbf AP_HAL: Use atomic instead volatile on RingBuffer head/tail 9 years ago
Murilo Belluzzo b7dd4dad64 AP_HAL: Fix ByteBuffer::reserve() breaking buffer state 9 years ago
Murilo Belluzzo 43d4012884 AP_HAL: Fix TOCTOU in ByteBuffer::peekiovec() 9 years ago
Murilo Belluzzo 9951b94d40 AP_HAL: Change the return type of 'peekiovec' 9 years ago
Murilo Belluzzo 625f47def7 AP_HAL: Improve ByteBuffer::set_size 9 years ago
Murilo Belluzzo e9e31172c0 AP_HAL: Simplify ByteBuffer::readptr logic 9 years ago
Leandro Pereira fbefe32017 AP_HAL: Add method to reserve space in the ring buffer 9 years ago
Leandro Pereira e3b676ba89 AP_HAL: Add method to peek non-contiguous parts of a ByteBuffer 9 years ago
Andrew Tridgell 595d5c0002 AP_HAL: added set_size() to RingBuffer API 9 years ago
Andrew Tridgell 1df2512935 AP_HAL: added update() method for object ringbuffer 9 years ago
Andrew Tridgell 4ff396dfa8 AP_HAL: added force() and peek() method for object ringbuffers 9 years ago
Andrew Tridgell ec6a679482 AP_HAL: added ByteBuffer and ObjectBuffer in RingBuffer 9 years ago