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
d97605e7
Commit
d97605e7
authored
Aug 04, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
9376e574
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
wcfs/internal/zdata/δftail_test.go
wcfs/internal/zdata/δftail_test.go
+2
-3
No files found.
wcfs/internal/zdata/δftail_test.go
View file @
d97605e7
...
@@ -258,9 +258,9 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
...
@@ -258,9 +258,9 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
}
}
// start track zfile[-∞,∞) from the beginning
// start track
ing
zfile[-∞,∞) from the beginning
// this should make ΔFtail to see all zfile changes
// this should make ΔFtail to see all zfile changes
// ( retrack should be called after new epoch to track zfile[-∞,∞) again )
// (
later
retrack should be called after new epoch to track zfile[-∞,∞) again )
retrack
:=
func
()
{
retrack
:=
func
()
{
for
blk
:=
range
blkTab
{
for
blk
:=
range
blkTab
{
_
,
path
,
zblk
,
_
,
err
:=
zfile
.
LoadBlk
(
ctx
,
blk
);
X
(
err
)
_
,
path
,
zblk
,
_
,
err
:=
zfile
.
LoadBlk
(
ctx
,
blk
);
X
(
err
)
...
@@ -562,7 +562,6 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
...
@@ -562,7 +562,6 @@ func testΔFtail(t_ *testing.T, testq chan ΔFTestEntry) {
// BlkRevAt
// BlkRevAt
blkv
:=
[]
int64
{}
// all blocks
blkv
:=
[]
int64
{}
// all blocks
if
l
:=
len
(
vδf
);
l
>
0
{
if
l
:=
len
(
vδf
);
l
>
0
{
for
blk
:=
range
blkRevAt
[
vδf
[
l
-
1
]
.
Rev
]
{
for
blk
:=
range
blkRevAt
[
vδf
[
l
-
1
]
.
Rev
]
{
...
...
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