summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Common/FixedSizeQueueTest.cpp
AgeCommit message (Collapse)Author
2023-03-22Common: Move FixedSizeQueue into Common namespaceLioncash
Gets this out of the global namespace.
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
2019-08-31FixedSizeQueue: Bugfixes and improvementsSilent
- Fixed a bug where pushing items over queue's size left it in a corrupted state - For non-trivial types, have clear() and pop() run destructors - Added emplace(args...) - Added empty() FixedSizeQueue has semantics of a circular buffer, so pushing items continuously is expected to keep overwriting oldest elements gracefully. Tests have been updated to verify correctness of a previously bugged behaviour and to verify correctness of destructing non-trivial types
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2015-05-25Update license headers to GPLv2+Tillmann Karras
2014-03-17Tests: fix signed/unsigned comparison warningTillmann Karras
2014-03-09Add more tests for Common and Core/MMIOPierre Bourdon