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
ea53a795
Commit
ea53a795
authored
Jul 06, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
go/zodb: Fix typos
parent
c70027a5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
go/zodb/cache_test.go
go/zodb/cache_test.go
+2
-2
go/zodb/connection.go
go/zodb/connection.go
+1
-1
go/zodb/persistent_test.go
go/zodb/persistent_test.go
+2
-2
go/zodb/zodb.go
go/zodb/zodb.go
+1
-1
No files found.
go/zodb/cache_test.go
View file @
ea53a795
// Copyright (C) 2017-20
19
Nexedi SA and Contributors.
// Copyright (C) 2017-20
20
Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
//
// This program is free software: you can Use, Study, Modify and Redistribute
...
...
@@ -655,7 +655,7 @@ func benchLoad(b *testing.B, l Loader, worksize int) {
benchLoadN
(
b
,
b
.
N
,
l
,
worksize
)
}
// worker for benchLoad, with n overrid
d
ing b.N
// worker for benchLoad, with n overriding b.N
func
benchLoadN
(
b
*
testing
.
B
,
n
int
,
l
Loader
,
worksize
int
)
{
ctx
:=
context
.
Background
()
...
...
go/zodb/connection.go
View file @
ea53a795
...
...
@@ -254,7 +254,7 @@ func (cache *LiveCache) setNew(oid Oid, obj IPersistent) {
// XXX assert .objtab[oid] == nil ?
}
else
{
cache
.
objtab
[
oid
]
=
weak
.
NewRef
(
obj
)
// XXX asse
er
.pinned[oid] == nil ?
// XXX asse
rt
.pinned[oid] == nil ?
}
}
...
...
go/zodb/persistent_test.go
View file @
ea53a795
// Copyright (C) 2018-20
19
Nexedi SA and Contributors.
// Copyright (C) 2018-20
20
Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
//
// This program is free software: you can Use, Study, Modify and Redistribute
...
...
@@ -266,7 +266,7 @@ func testdb(t0 *testing.T, rawcache bool) *tDB {
return
t
}
// Reopen re
po
ens zodb/go .stor and .db .
// Reopen re
op
ens zodb/go .stor and .db .
func
(
t
*
tDB
)
Reopen
()
{
t
.
Helper
()
X
:=
t
.
fatalif
...
...
go/zodb/zodb.go
View file @
ea53a795
...
...
@@ -82,7 +82,7 @@
//
// obj.xxx // use object.
// if ... {
// obj.PModify() // let persistency layer know we are going to modif
i
y the object.
// obj.PModify() // let persistency layer know we are going to modify the object.
// obj.xxx++ // change the object.
// }
//
...
...
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