Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
ee67e0b9
Commit
ee67e0b9
authored
May 15, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
21f3692b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
wcfs/δbtail_test.go
wcfs/δbtail_test.go
+9
-1
No files found.
wcfs/δbtail_test.go
View file @
ee67e0b9
...
@@ -957,8 +957,8 @@ func xverifyΔBTail_rebuild(t *testing.T, db *zodb.DB, treeRoot zodb.Oid, t0, t1
...
@@ -957,8 +957,8 @@ func xverifyΔBTail_rebuild(t *testing.T, db *zodb.DB, treeRoot zodb.Oid, t0, t1
xverifyΔBTail_rebuild_TR
(
t
,
db
,
δbtail_
,
t2
,
treeRoot
,
xat
,
xverifyΔBTail_rebuild_TR
(
t
,
db
,
δbtail_
,
t2
,
treeRoot
,
xat
,
// after Track(keys2)
// after Track(keys2)
keys2
,
keys2
,
// FIXME vvv trackNew should not cover ranges that are already in trackSet
/*trackSet*/
t2
.
xkv
.
trackSet
(
keys1_0
.
Union
(
keys1_2
)),
/*trackSet*/
t2
.
xkv
.
trackSet
(
keys1_0
.
Union
(
keys1_2
)),
// FIXME vvv trackNew should not cover ranges that are already in trackSet
/*trackNew*/
t2
.
xkv
.
trackSet
(
keys2
),
/*trackNew*/
t2
.
xkv
.
trackSet
(
keys2
),
// after rebuild
// after rebuild
...
@@ -1807,6 +1807,14 @@ func sortedKeys(kv map[Key]Δstring) []Key {
...
@@ -1807,6 +1807,14 @@ func sortedKeys(kv map[Key]Δstring) []Key {
return
keyv
return
keyv
}
}
func
(
b
*
RBucket
)
String
()
string
{
// XXX dup wrt nodeInRange.String
slo
:=
"-∞"
;
if
b
.
lo
>
KeyMin
{
slo
=
fmt
.
Sprintf
(
"%v"
,
b
.
lo
)
}
shi
:=
"∞"
;
if
b
.
hi_
<
KeyMax
{
shi
=
fmt
.
Sprintf
(
"%v"
,
b
.
hi_
+
1
)
}
return
fmt
.
Sprintf
(
"[%s,%s)B%s{%s}"
,
slo
,
shi
,
b
.
oid
,
kvtxt
(
b
.
kv
))
}
// String is like default %v, but uses ø for VDEL.
// String is like default %v, but uses ø for VDEL.
func
(
δv
ΔValue
)
String
()
string
{
func
(
δv
ΔValue
)
String
()
string
{
old
,
new
:=
DEL
,
DEL
old
,
new
:=
DEL
,
DEL
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment