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

Method equal

stack/stack.go:179–181  ·  view source on GitHub ↗

equal returns true only if both arguments are exactly equal.

(r *Arg)

Source from the content-addressed store, hash-verified

177
178// equal returns true only if both arguments are exactly equal.
179func (a *Arg) equal(r *Arg) bool {
180 return a.similar(r, ExactFlags)
181}
182
183// similar returns true if the two Arg are equal or almost but not quite equal.
184func (a *Arg) similar(r *Arg, similar Similarity) bool {

Callers 6

TestSignature_EqualFunction · 0.45
equalMethod · 0.45
mergeMethod · 0.45
equalMethod · 0.45
equalMethod · 0.45
equalMethod · 0.45

Calls 1

similarMethod · 0.95

Tested by 1

TestSignature_EqualFunction · 0.36