MCPcopy
hub / github.com/CodisLabs/codis / Sub

Method Sub

pkg/utils/sync2/atomic2/atomic64.go:34–36  ·  view source on GitHub ↗
(v int64)

Source from the content-addressed store, hash-verified

32}
33
34func (a *Int64) Sub(v int64) int64 {
35 return a.Add(-v)
36}
37
38func (a *Int64) Incr() int64 {
39 return a.Add(1)

Callers 5

newCGoSliceFunction · 0.80
reclaimMethod · 0.80
rewatchSentinelsMethod · 0.80
rewatchSentinelsMethod · 0.80
reloadMethod · 0.80

Calls 1

AddMethod · 0.95

Tested by

no test coverage detected