MCPcopy Create free account

hub / github.com/sergi/go-diff / functions

Functions144 in github.com/sergi/go-diff

FunctionTestDiffCleanupSemanticScore
(t *testing.T)
diffmatchpatch/diff_test.go:478
FunctionTestDiffCommonOverlap
(t *testing.T)
diffmatchpatch/diff_test.go:200
FunctionTestDiffCommonPrefix
(t *testing.T)
diffmatchpatch/diff_test.go:63
FunctionTestDiffCommonSuffix
(t *testing.T)
diffmatchpatch/diff_test.go:113
FunctionTestDiffDelta
(t *testing.T)
diffmatchpatch/diff_test.go:1111
FunctionTestDiffHalfMatch
(t *testing.T)
diffmatchpatch/diff_test.go:225
FunctionTestDiffLevenshtein
(t *testing.T)
diffmatchpatch/diff_test.go:1221
FunctionTestDiffLinesToChars
(t *testing.T)
diffmatchpatch/diff_test.go:304
FunctionTestDiffMain
(t *testing.T)
diffmatchpatch/diff_test.go:1302
FunctionTestDiffMainWithCheckLines
(t *testing.T)
diffmatchpatch/diff_test.go:1462
FunctionTestDiffMainWithTimeout
(t *testing.T)
diffmatchpatch/diff_test.go:1437
FunctionTestDiffPartialLineIndex
(t *testing.T)
diffmatchpatch/diff_test.go:1510
FunctionTestDiffPrettyHtml
(t *testing.T)
diffmatchpatch/diff_test.go:1016
FunctionTestDiffPrettyText
(t *testing.T)
diffmatchpatch/diff_test.go:1041
FunctionTestDiffText
(t *testing.T)
diffmatchpatch/diff_test.go:1077
FunctionTestDiffText1PrefixRuneAligned
The end context of a split patch must not end inside a multi-byte rune.
diffmatchpatch/patch_rune_safety_test.go:115
FunctionTestDiffXIndex
(t *testing.T)
diffmatchpatch/diff_test.go:1200
FunctionTestIndexConversion
(t *testing.T)
diffmatchpatch/index_test.go:8
FunctionTestIndexOf
(t *testing.T)
diffmatchpatch/stringutil_test.go:44
FunctionTestIntToRuneLimit
(t *testing.T)
diffmatchpatch/stringutil_test.go:136
FunctionTestLastIndexOf
(t *testing.T)
diffmatchpatch/stringutil_test.go:79
FunctionTestMassiveRuneDiffConversion
(t *testing.T)
diffmatchpatch/diff_test.go:1497
FunctionTestMatchAlphabet
(t *testing.T)
diffmatchpatch/match_test.go:18
FunctionTestMatchBitap
(t *testing.T)
diffmatchpatch/match_test.go:52
FunctionTestMatchMain
(t *testing.T)
diffmatchpatch/match_test.go:141
FunctionTestPatchAddContext
(t *testing.T)
diffmatchpatch/patch_test.go:127
FunctionTestPatchAddPadding
(t *testing.T)
diffmatchpatch/patch_test.go:241
FunctionTestPatchApply
(t *testing.T)
diffmatchpatch/patch_test.go:271
FunctionTestPatchApplyChangedTextNoPanic
When a patch is applied to a text that has changed, earlier edits can leave the text shorter than the indices computed for later ones. PatchApply must
diffmatchpatch/patch_rune_safety_test.go:101
FunctionTestPatchApplyMultibyteMonsterDelete
A replaced text over 32 bytes takes the long-delete path even when it is only 20 characters. text2 must keep its last rune there, or the trailing 日 is
diffmatchpatch/patch_rune_safety_test.go:68
FunctionTestPatchApplyStripPaddingKeepsValidUTF8
An insertion that lands in the padding must not leave part of a rune behind when the padding is stripped.
diffmatchpatch/patch_rune_safety_test.go:91
FunctionTestPatchApply_Issue132_NoPanic
Issue #132 minimal repro: applying a patch containing a multi-byte character with a short anchor used to panic with "slice bounds out of range". After
diffmatchpatch/patch_rune_safety_test.go:127
FunctionTestPatchFromText
(t *testing.T)
diffmatchpatch/patch_test.go:53
FunctionTestPatchMakeAndPatchToText
(t *testing.T)
diffmatchpatch/patch_test.go:154
FunctionTestPatchMakeApplyContextEndsInsideRune
The end context added by PatchMake must keep a whole rune when the margin ends inside one. A shortened context made PatchApply pad the patch as if it
diffmatchpatch/patch_rune_safety_test.go:80
FunctionTestPatchMakeInvalidUTF8
(t *testing.T)
diffmatchpatch/patch_test.go:372
FunctionTestPatchMakeOutOfRangePanic
(t *testing.T)
diffmatchpatch/patch_test.go:347
FunctionTestPatchSplitMax
(t *testing.T)
diffmatchpatch/patch_test.go:217
FunctionTestPatchSplitMax_NoInvalidUTF8
PatchSplitMax on a CJK-heavy base must produce diff.Text slices that are all valid UTF-8 (prior to this fix, byte-level slicing of multi-byte characte
diffmatchpatch/patch_rune_safety_test.go:147
FunctionTestPatchString
(t *testing.T)
diffmatchpatch/patch_test.go:19
FunctionTestPatchToText
(t *testing.T)
diffmatchpatch/patch_test.go:108
FunctionTestRuneToInt
Exhaustive check for all ints from 0 to 1112060 for correctness of implementation of `intToRune() -> runeToInt()`. This test is slow and runs longer t
diffmatchpatch/stringutil_test.go:122
FunctionTestRunesIndexOf
(t *testing.T)
diffmatchpatch/stringutil_test.go:18
Functionpretty
(diffs []Diff)
diffmatchpatch/diff_test.go:25
← previous101–144 of 144, ranked by callers