Commit ea53a795 authored by Kirill Smelkov's avatar Kirill Smelkov

go/zodb: Fix typos

parent c70027a5
// Copyright (C) 2017-2019 Nexedi SA and Contributors.
// Copyright (C) 2017-2020 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 overridding b.N
// worker for benchLoad, with n overriding b.N
func benchLoadN(b *testing.B, n int, l Loader, worksize int) {
ctx := context.Background()
......
......@@ -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 asseer .pinned[oid] == nil ?
// XXX assert .pinned[oid] == nil ?
}
}
......
// Copyright (C) 2018-2019 Nexedi SA and Contributors.
// Copyright (C) 2018-2020 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 repoens zodb/go .stor and .db .
// Reopen reopens zodb/go .stor and .db .
func (t *tDB) Reopen() {
t.Helper()
X := t.fatalif
......
......@@ -82,7 +82,7 @@
//
// obj.xxx // use object.
// if ... {
// obj.PModify() // let persistency layer know we are going to modifiy the object.
// obj.PModify() // let persistency layer know we are going to modify the object.
// obj.xxx++ // change the object.
// }
//
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment