MCPcopy
hub / github.com/coredns/coredns / seen

Method seen

plugin/loop/loop.go:69–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67}
68
69func (l *Loop) seen() int {
70 l.RLock()
71 defer l.RUnlock()
72 return l.i
73}
74
75func (l *Loop) inc() {
76 l.Lock()

Callers 3

ServeDNSMethod · 0.95
TestLoopFunction · 0.80
TestLoop_MatchAndIncFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestLoopFunction · 0.64
TestLoop_MatchAndIncFunction · 0.64