OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:diff_halfMatch
(Results
1 - 2
of
2
) sorted by null
/external/google-diff-match-patch/name/fraser/neil/plaintext/
diff_match_patch_test.java
73
assertNull("
diff_halfMatch
: No match.", dmp.
diff_halfMatch
("1234567890", "abcdef"));
75
assertArrayEquals("
diff_halfMatch
: Single Match #1.", new String[]{"12", "90", "a", "z", "345678"}, dmp.
diff_halfMatch
("1234567890", "a345678z"));
77
assertArrayEquals("
diff_halfMatch
: Single Match #2.", new String[]{"a", "z", "12", "90", "345678"}, dmp.
diff_halfMatch
("a345678z", "1234567890"));
79
assertArrayEquals("
diff_halfMatch
: Multiple Matches #1.", new String[]{"12123", "123121", "a", "z", "1234123451234"}, dmp.
diff_halfMatch
("121231234123451234123121", "a1234123451234z"));
81
assertArrayEquals("
diff_halfMatch
: Multiple Matches #2.", new String[]{"", "-=-=-=-=-=", "x", "", "x-=-=-=-=-=-=-="}, dmp.
diff_halfMatch
("x-=-=-=-=-=-=-=-=-=-=-=-=", "xx-=-=-=-=-=-=-="))
[
all
...]
diff_match_patch.java
235
String[] hm =
diff_halfMatch
(text1, text2);
708
protected String[]
diff_halfMatch
(String text1, String text2) {
[
all
...]
Completed in 25 milliseconds