Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/nutsdb/nutsdb
/ DecrRef
Method
DecrRef
value.go:33–40 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
31
}
32
33
func
(req *request) DecrRef() {
34
nRef := atomic.AddInt32(&req.ref, -1)
35
if
nRef > 0 {
36
return
37
}
38
req.tx = nil
39
requestPool.Put(req)
40
}
41
42
func
(req *request) Wait() error {
43
req.Wg.Wait()
Callers
1
Wait
Method · 0.95
Calls
1
Put
Method · 0.45
Tested by
no test coverage detected