github.com/google/go-cmp/cmp.diffStats.NumIdentical (field)
13 uses
github.com/google/go-cmp/cmp (current package)
report_compare.go#L295: numEqual := ds.NumIgnored + ds.NumIdentical
report_compare.go#L319: ds.NumIdentical -= numLo + numHi
report_compare.go#L422: lastStats(1).NumIdentical++
report_slices.go#L361: numEqual := ds.NumIgnored + ds.NumIdentical
report_slices.go#L375: ds.NumIdentical -= numLo + numHi
report_slices.go#L386: nx := appendChunks(vx.Slice(0, ds.NumIdentical+ds.NumRemoved+ds.NumModified), diffRemoved)
report_slices.go#L388: ny := appendChunks(vy.Slice(0, ds.NumIdentical+ds.NumInserted+ds.NumModified), diffInserted)
report_slices.go#L414: lastStats(1).NumIdentical++
report_slices.go#L439: if ((hadX || hasX) && (hadY || hasY)) && curr.NumIdentical <= windowSize {
report_text.go#L368: NumIdentical int
report_text.go#L386: s.NumIdentical += ds.NumIdentical
report_text.go#L401: counts := [...]int{s.NumIgnored, s.NumIdentical, s.NumRemoved, s.NumInserted, s.NumModified}
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |