Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dgraph-io/badger
/ incrIteratorCount
Method
incrIteratorCount
value.go:751–753 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
749
}
750
751
func
(vlog *valueLog) incrIteratorCount() {
752
atomic.AddInt32(&vlog.numActiveIterators, 1)
753
}
754
755
func
(vlog *valueLog) iteratorCount() int {
756
return
int(atomic.LoadInt32(&vlog.numActiveIterators))
Callers
1
NewIterator
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected