Commit afe3cd61 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 9bec71f7
// 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 ?
}
}
......
......@@ -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