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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
864af0b8
Commit
864af0b8
authored
Mar 06, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
455a5442
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
wcfs/zδtail_i64.go
wcfs/zδtail_i64.go
+3
-5
No files found.
wcfs/zδtail_i64.go
View file @
864af0b8
// Code generated by gen-δtail I64 int64; DO NOT EDIT.
// (from lab.nexedi.com/kirr/neo/go/zodb @ v1.9-
2136-g1742e47b
)
// (from lab.nexedi.com/kirr/neo/go/zodb @ v1.9-
144-g042a253a
)
// Copyright (C) 2018-2019 Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
...
...
@@ -64,15 +64,13 @@ import (
type
ΔTailI64
struct
{
head
zodb
.
Tid
tail
zodb
.
Tid
tailv
[]
ΔRevEntry
// XXX -> revv ?
tailv
[]
ΔRevEntry
lastRevOf
map
[
int64
]
zodb
.
Tid
// index for LastRevOf queries
// XXX -> lastRevOf = {} oid -> []rev↑ if linear scan in LastRevOf starts to eat cpu
}
// ΔRevEntry represents information of what have been changed in one revision.
//
// XXX -> ΔRevEntry?
type
ΔRevEntry
struct
{
Rev
zodb
.
Tid
Changev
[]
int64
...
...
@@ -101,7 +99,7 @@ func (δtail *ΔTailI64) Head() zodb.Tid {
return
δtail
.
head
}
// Tail returns
oldest
database state for which δtail has history coverage.
// Tail returns
lower-bound of
database state for which δtail has history coverage.
//
// Tail is ↑= on Forget, even if δtail becomes empty.
func
(
δtail
*
ΔTailI64
)
Tail
()
zodb
.
Tid
{
...
...
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