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

@@ -66,6 +66,17 @@ def test_inner_full_words():
cs.check(read(1, b"\x21", b"\xc2"))
def test_internal_version_zero():
with DebugConflictSet() as cs:
cs.setOldestVersion(0xFFFFFFF0)
for i in range(24):
cs.addWrites(0xFFFFFFF1, write(bytes([i])))
for i in range(256 - 25, 256):
cs.addWrites(0xFFFFFFF1, write(bytes([i])))
cs.addWrites(0, write(b"\xff"))
cs.check(read(0xFFFFFFF1, b"\x00", b"\xff"))
def test_decrease_capacity():
# make a Node48, then a Node256
for count in (17, 49):