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