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
f024efee
Commit
f024efee
authored
Jul 01, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
dbb9508a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
43 deletions
+0
-43
wcfs/internal/xbtree/δbtail_test.go
wcfs/internal/xbtree/δbtail_test.go
+0
-43
No files found.
wcfs/internal/xbtree/δbtail_test.go
View file @
f024efee
...
...
@@ -89,50 +89,7 @@ func _trackSetWithCov(rbs xbtreetest.RBucketSet, tracked setKey, outKeyCover *bl
if
outKeyCover
!=
nil
{
outKeyCover
.
AddRange
(
kb
.
Keycov
)
}
// // trackSet explicitly records only regular buckets.
// // embedded buckets all have oid=zodb.InvalidOid and would lead to z
// newNode := false
trackSet
.
AddPath
(
kb
.
Path
())
// if kb.Oid != zodb.InvalidOid {
/*
track, already := trackSet[kb.Oid]
if !already {
track = &blib.nodeInTree{parent: kb.parent.oid, nchild: 0}
trackSet[kb.Oid] = track
newNode = true
}
if track.parent != kb.Parent.Oid {
panicf("BUG: %s: B%s -> multiple parents: %s %s", rbs.coverage(), kb.Oid, track.parent, kb.Parent.Oid)
}
*/
// }
/*
p := kb.Parent
for p != nil {
ppoid := zodb.InvalidOid // oid of p.parent
if p.Parent != nil {
ppoid = p.Parent.Oid
}
newParent := false
pt, already := trackSet[p.Oid]
if !already {
pt = &nodeInTree{parent: ppoid, nchild: 0}
trackSet[p.Oid] = pt
newParent = true
}
if pt.parent != ppoid {
panicf("BUG: %s: T%s -> multiple parents: %s %s", rbs.coverage(), p.Oid, pt.parent, ppoid)
}
if newNode {
pt.nchild++
}
newNode = newParent
p = p.Parent
}
*/
}
return
trackSet
}
...
...
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