MCPcopy Index your code
hub / github.com/maruel/panicparse / pstCount

Function pstCount

stack/context_test.go:2262–2270  ·  view source on GitHub ↗
(s []panicwebSignatureType, t panicwebSignatureType)

Source from the content-addressed store, hash-verified

2260)
2261
2262func pstCount(s []panicwebSignatureType, t panicwebSignatureType) int {
2263 i := 0
2264 for _, v := range s {
2265 if v == t {
2266 i++
2267 }
2268 }
2269 return i
2270}
2271
2272// identifyPanicwebSignature tries to assign one of the predefined signature to
2273// the bucket provided.

Callers 1

TestPanicwebFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…