This commit is contained in:
2024-02-17 22:09:00 -08:00
parent 9a72f133a9
commit cb31f4c25b
358 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -101,7 +101,9 @@ struct BitSet {
int firstSetGeq(int i) const { int firstSetGeq(int i) const {
assert(0 <= i); assert(0 <= i);
assert(i < 256); if (i >= 256) {
return -1;
}
if (i < 128) { if (i < 128) {
int a = std::countr_zero(lo >> i); int a = std::countr_zero(lo >> i);
if (a < 128) { if (a < 128) {
@@ -1319,9 +1321,11 @@ void addWriteRange(Node *&root, int64_t oldestVersion,
break; break;
} }
n = getChildExists(n, c); n->maxVersion = std::max(n->maxVersion, w.writeVersion);
remaining = remaining.subspan(n->partialKeyLen + 1, remaining = remaining.subspan(n->partialKeyLen + 1,
remaining.size() - (n->partialKeyLen + 1)); remaining.size() - (n->partialKeyLen + 1));
n = getChildExists(n, c);
} }
Node **useAsRoot = n->parent == nullptr Node **useAsRoot = n->parent == nullptr
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More