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
0e5cfcd7
Commit
0e5cfcd7
authored
Jun 01, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
9b5339ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
wcfs/δbtail_test.go
wcfs/δbtail_test.go
+2
-3
No files found.
wcfs/δbtail_test.go
View file @
0e5cfcd7
...
...
@@ -203,15 +203,14 @@ func xverifyΔBTail(t *testing.T, db *zodb.DB, treeRoot zodb.Oid, at1, at2 zodb.
d12
:=
kvdiff
(
kv1
,
kv2
)
fmt
.
Println
(
"d12:"
,
d12
)
// verify transition at1->at2 for all initial states of tracked {keys} from kv1
keyv1
:=
[]
Key
{
}
// verify transition at1->at2 for all initial states of tracked {keys} from kv1
+ ∞
keyv1
:=
[]
Key
{
10000
}
// inf, simulating ZBigFile.Size() query
for
k1
:=
range
kv1
{
keyv1
=
append
(
keyv1
,
k1
)
}
sort
.
Slice
(
keyv1
,
func
(
i
,
j
int
)
bool
{
return
keyv1
[
i
]
<
keyv1
[
j
]
})
keyv1
=
append
(
keyv1
,
10000
)
// inf, simulating ZBigFile.Size() query
for
kidx
:=
range
IntSets
(
len
(
keyv1
))
{
keys
:=
make
([]
Key
,
len
(
kidx
))
for
i
,
idx
:=
range
kidx
{
...
...
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