Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
3ae4e927
Commit
3ae4e927
authored
Jan 17, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
33317fd1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
go/zodb/btree/btree.go.in
go/zodb/btree/btree.go.in
+2
-2
No files found.
go/zodb/btree/btree.go.in
View file @
3ae4e927
...
@@ -227,7 +227,7 @@ func (b *Bucket) get(key KEY) (interface{}, bool) {
...
@@ -227,7 +227,7 @@ func (b *Bucket) get(key KEY) (interface{}, bool) {
// MinKey returns minimum key in BTree.
// MinKey returns minimum key in BTree.
//
//
// If the tree is empty, ok=false is returned.
// If the tree is empty, ok=false is returned.
//
t
does not need to be activated beforehand.
//
The tree
does not need to be activated beforehand.
func (t *BTree) MinKey(ctx context.Context) (_ KEY, ok bool, err error) {
func (t *BTree) MinKey(ctx context.Context) (_ KEY, ok bool, err error) {
defer xerr.Contextf(&err, "btree(%s): minkey", t.POid())
defer xerr.Contextf(&err, "btree(%s): minkey", t.POid())
err = t.PActivate(ctx)
err = t.PActivate(ctx)
...
@@ -265,7 +265,7 @@ func (t *BTree) MinKey(ctx context.Context) (_ KEY, ok bool, err error) {
...
@@ -265,7 +265,7 @@ func (t *BTree) MinKey(ctx context.Context) (_ KEY, ok bool, err error) {
// MaxKey returns maximum key in BTree.
// MaxKey returns maximum key in BTree.
//
//
// If the tree is empty, ok=false is returned.
// If the tree is empty, ok=false is returned.
//
t
does not need to be activated beforehand.
//
The tree
does not need to be activated beforehand.
func (t *BTree) MaxKey(ctx context.Context) (_ KEY, _ bool, err error) {
func (t *BTree) MaxKey(ctx context.Context) (_ KEY, _ bool, err error) {
defer xerr.Contextf(&err, "btree(%s): maxkey", t.POid())
defer xerr.Contextf(&err, "btree(%s): maxkey", t.POid())
err = t.PActivate(ctx)
err = t.PActivate(ctx)
...
...
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