summaryrefslogtreecommitdiff
path: root/src/util/PeakBuffer.cxx
AgeCommit message (Collapse)Author
2021-01-21util/PeakBuffer: use std::byte instead of std::uint8_tMax Kellermann
2021-01-21util/PeakBuffer: add `noexcept`Max Kellermann
2021-01-21util/PeakBuffer: use std::size_tMax Kellermann
2021-01-01copyright year 2021Max Kellermann
2020-03-12replace assert.h with cassertRosen Penev
The former was deprecated with C++14. According to the C++11 and C++17 standards, both files are identical. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-18copyright year 2020Max Kellermann
2019-06-17Copyright year 2019Max Kellermann
2018-10-31*: copyright year 2018Max Kellermann
2017-11-10util/{Const,Writable}Buffer, ...: rename IsEmpty() to empty(), imitating STLMax Kellermann
2017-05-08*: add "noexcept" to many, many function prototypesMax Kellermann
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
2017-01-03update copyright yearMax Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2015-01-01Copyright year 2015Max Kellermann
2014-01-14util/PeakBuffer: fix nullptr dereference when peak_size==0Max Kellermann
2014-01-13copyright year 2014Max Kellermann
2013-12-19util/PeakBuffer: use IsEmpty() instead of IsNull()Max Kellermann
The DynamicFifoBuffer methods never return nullptr when the buffer is empty or full; instead, they return an empty buffer. This bug caused an endless loop.
2013-12-15util/PeakBuffer: use DynamicFifoBuffer instead of struct fifo_bufferMax Kellermann
Switch to the C++ version.
2013-12-15util/PeakBuffer: return ConstBuffer<void>Max Kellermann
2013-01-15Client: move output buffer code to new class PeakBufferMax Kellermann