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

Method Incr

pkg/utils/sync2/atomic2/atomic64.go:38–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38func (a *Int64) Incr() int64 {
39 return a.Add(1)
40}
41
42func (a *Int64) Decr() int64 {
43 return a.Add(-1)

Callers 8

initFunction · 0.95
SubscribeMethod · 0.95
initFunction · 0.95
incrSessionsFunction · 0.45
incrOpTotalMethod · 0.45
incrOpStatsMethod · 0.45
incrOpFailsMethod · 0.45
newSlotActionExecutorMethod · 0.45

Calls 1

AddMethod · 0.95

Tested by

no test coverage detected