Add an experimental, disabled 32 bit internal version
Some checks failed
Tests / Clang total: 1039, passed: 1039
Clang |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |0|0|0|0|:clap:
Tests / SIMD fallback total: 1039, passed: 1039
Tests / Release [gcc] total: 1039, passed: 1039
GNU C Compiler (gcc) |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |0|0|0|0|:clap:
Tests / Release [gcc,aarch64] total: 775, passed: 775
Tests / Coverage total: 780, failed: 1, passed: 779
weaselab/conflict-set/pipeline/head There was a failure building this commit

I think it's only missing detection for full-precision versions more
than 2e9 apart
This commit is contained in:
2024-06-28 15:53:35 -07:00
parent ff81890921
commit b311e5f1f0
3 changed files with 109 additions and 44 deletions

View File

@@ -578,8 +578,8 @@ template <class ConflictSetImpl> struct TestDriver {
explicit TestDriver(const uint8_t *data, size_t size)
: arbitrary({data, size}) {}
int64_t writeVersion = 100;
int64_t oldestVersion = 0;
int64_t oldestVersion = arbitrary.bounded(2) ? 0 : 0xfffffff0;
int64_t writeVersion = oldestVersion + 100;
ConflictSetImpl cs{oldestVersion};
ReferenceImpl refImpl{oldestVersion};