summaryrefslogtreecommitdiff
path: root/src/tests/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ring_buffer: Remove granularity template argumentGravatar MerryMage2021-02-061-5/+5
| | | | | | Non-obvious bug in RingBuffer::Push(std::vector<T>&) when granularity != 1 Just remove it altogether because we do not have a use for granularity != 1
* common/bit_util: Replace CLZ/CTZ operations with standardized onesGravatar Lioncash2021-01-151-23/+0
| | | | Makes for less code that we need to maintain.
* tests/ring_buffer: Silence signed/unsigned mismatch warningsGravatar ReinUsesLisp2021-01-081-15/+15
|
* general: Fix various spelling errorsGravatar Morph2021-01-021-2/+2
|
* hle: kernel: Separate KScheduler from GlobalSchedulerContext class.Gravatar bunnei2020-12-061-55/+0
|
* tests: Fix warning about comparison between signed and unsignedGravatar comex2020-11-271-2/+2
|
* tests: Fix data race in fibers testGravatar ReinUsesLisp2020-10-281-31/+40
| | | | | | | | | | | | | | | | | | | Previous to this commit, the tests were using operator[] from unordered_map to query elements but this silently inserts empty elements when they don't exist. If all threads were executed without concurrency, this wouldn't be an issue, but the same unordered_map could be written from two threads at the same time. This is a data race and makes some previously inserted elements invisible for a short period of time, causing them to insert and return an empty element. This default constructed element (a zero) was used to index an array of fibers that asserted when one of them was nullptr, shutting the test session off. To address this issue, lock on thread id reads and writes. This could be a shared mutex to allow concurrent reads, but the definition of std::this_thread::get_id is fuzzy when using non-standard techniques like fibers. I opted to use a standard mutex. While we are at it, fix the included headers.
* Core/Common: Address Feedback.Gravatar Fernando Sahmkow2020-06-271-1/+1
|
* Common/Fiber: Implement Rewinding.Gravatar Fernando Sahmkow2020-06-181-0/+46
|
* Common/Tests: Address FeedbackGravatar Fernando Sahmkow2020-06-181-10/+10
|
* Common/Tests: Clang Format.Gravatar Fernando Sahmkow2020-06-181-9/+14
|
* Common: Polish Fiber class, add comments, asserts and more tests.Gravatar Fernando Sahmkow2020-06-181-1/+94
|
* Tests: Add tests for fibers and refactor/fix Fiber classGravatar Fernando Sahmkow2020-06-181-0/+214
|
* Fixes and corrections on formatting.Gravatar Fernando Sahmkow2019-03-272-30/+11
|
* Add MultiLevelQueue TestsGravatar Fernando Sahmkow2019-03-271-0/+55
|
* Implement intrinsics CountTrailingZeroes and test it.Gravatar Fernando Sahmkow2019-03-271-0/+42
|
* common/bitfield: make it endianness-awareGravatar Weiyi Wang2019-02-061-0/+90
|
* Port #4182 from Citra: "Prefix all size_t with std::"Gravatar fearlessTobi2018-09-151-10/+10
|
* common: Implement a ring bufferGravatar MerryMage2018-09-081-0/+130
|
* externals: Update catch to 2.3.0Gravatar Lioncash2018-08-071-1/+1
| | | | Updates the library from 2.2.3 to 2.3.0
* Format: Run the new clang format on everythingGravatar James Rowe2018-01-201-1/+3
|
* Common: add ParamPackageGravatar wwylele2017-03-011-0/+25