func github.com/sergi/go-diff/diffmatchpatch.max
6 uses
github.com/sergi/go-diff/diffmatchpatch (current package)
diff.go#L1244: levenshtein += max(insertions, deletions)
diff.go#L1250: levenshtein += max(insertions, deletions)
mathutil.go#L18: func max(x, y int) int {
patch.go#L86: maxStart := max(0, patch.Start2-padding)
patch.go#L94: prefix := text[max(0, patch.Start2-padding):patch.Start2]
patch.go#L440: precontext = precontext[max(0, len(precontext)-dmp.PatchMargin):]
![]() |
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. |