/dports/textproc/py-diff-match-patch/diff-match-patch-20200713/diff_match_patch/tests/ |
H A D | diff_match_patch_test.py | 1153 self.assertEqual(5, self.dmp.match_bitap("abcdefghijk", "fgh", 5)) 1155 self.assertEqual(5, self.dmp.match_bitap("abcdefghijk", "fgh", 0)) 1158 self.assertEqual(4, self.dmp.match_bitap("abcdefghijk", "efxhi", 0)) 1162 self.assertEqual(-1, self.dmp.match_bitap("abcdefghijk", "bxy", 1)) 1167 self.assertEqual(0, self.dmp.match_bitap("abcdef", "xxabc", 4)) 1169 self.assertEqual(3, self.dmp.match_bitap("abcdef", "defyy", 4)) 1171 self.assertEqual(0, self.dmp.match_bitap("abcdef", "xabcdefy", 0)) 1175 self.assertEqual(4, self.dmp.match_bitap("abcdefghijk", "efxyhi", 1)) 1178 self.assertEqual(-1, self.dmp.match_bitap("abcdefghijk", "efxyhi", 1)) 1181 self.assertEqual(1, self.dmp.match_bitap("abcdefghijk", "bcdef", 1)) [all …]
|
H A D | diff_match_patch_test_py2.py | 1153 self.assertEquals(5, self.dmp.match_bitap("abcdefghijk", "fgh", 5)) 1155 self.assertEquals(5, self.dmp.match_bitap("abcdefghijk", "fgh", 0)) 1158 self.assertEquals(4, self.dmp.match_bitap("abcdefghijk", "efxhi", 0)) 1162 self.assertEquals(-1, self.dmp.match_bitap("abcdefghijk", "bxy", 1)) 1167 self.assertEquals(0, self.dmp.match_bitap("abcdef", "xxabc", 4)) 1169 self.assertEquals(3, self.dmp.match_bitap("abcdef", "defyy", 4)) 1171 self.assertEquals(0, self.dmp.match_bitap("abcdef", "xabcdefy", 0)) 1175 self.assertEquals(4, self.dmp.match_bitap("abcdefghijk", "efxyhi", 1)) 1178 self.assertEquals(-1, self.dmp.match_bitap("abcdefghijk", "efxyhi", 1)) 1181 self.assertEquals(1, self.dmp.match_bitap("abcdefghijk", "bcdef", 1)) [all …]
|
/dports/devel/liteide/liteide-x37.4/liteidex/src/3rdparty/diff_match_patch/ |
H A D | diff_match_patch_test.cpp | 639 assertEquals("match_bitap: Exact match #1.", 5, dmp.match_bitap("abcdefghijk", "fgh", 5)); in testMatchBitap() 641 assertEquals("match_bitap: Exact match #2.", 5, dmp.match_bitap("abcdefghijk", "fgh", 0)); in testMatchBitap() 643 assertEquals("match_bitap: Fuzzy match #1.", 4, dmp.match_bitap("abcdefghijk", "efxhi", 0)); in testMatchBitap() 647 assertEquals("match_bitap: Fuzzy match #3.", -1, dmp.match_bitap("abcdefghijk", "bxy", 1)); in testMatchBitap() 649 assertEquals("match_bitap: Overflow.", 2, dmp.match_bitap("123456789xx0", "3456789x0", 2)); in testMatchBitap() 651 assertEquals("match_bitap: Before start match.", 0, dmp.match_bitap("abcdef", "xxabc", 4)); in testMatchBitap() 653 assertEquals("match_bitap: Beyond end match.", 3, dmp.match_bitap("abcdef", "defyy", 4)); in testMatchBitap() 655 assertEquals("match_bitap: Oversized pattern.", 0, dmp.match_bitap("abcdef", "xabcdefy", 0)); in testMatchBitap() 658 assertEquals("match_bitap: Threshold #1.", 4, dmp.match_bitap("abcdefghijk", "efxyhi", 1)); in testMatchBitap() 661 assertEquals("match_bitap: Threshold #2.", -1, dmp.match_bitap("abcdefghijk", "efxyhi", 1)); in testMatchBitap() [all …]
|
H A D | diff_match_patch.h | 433 int match_bitap(const QString &text, const QString &pattern, int loc);
|
H A D | diff_match_patch.cpp | 1382 return match_bitap(text, pattern, loc); in match_main() 1387 int diff_match_patch::match_bitap(const QString &text, const QString &pattern, in match_bitap() function in diff_match_patch
|
/dports/databases/sqlitestudio/sqlitestudio-3.3.3/SQLiteStudio3/coreSQLiteStudio/diff/ |
H A D | diff_match_patch.h | 475 int match_bitap(const QString &text, const QString &pattern, int loc);
|
H A D | diff_match_patch.cpp | 1452 return match_bitap(text, pattern, loc); in match_main() 1457 int diff_match_patch::match_bitap(const QString &text, const QString &pattern, in match_bitap() function in diff_match_patch
|
/dports/editors/cpeditor/cpeditor-6.8.2/third_party/diff_match_patch/ |
H A D | diff_match_patch.h | 469 int match_bitap(const QString &text, const QString &pattern, int loc);
|
H A D | diff_match_patch.cpp | 1445 return match_bitap(text, pattern, loc); in match_main() 1450 int diff_match_patch::match_bitap(const QString &text, const QString &pattern, in match_bitap() function in diff_match_patch
|
/dports/editors/texstudio/texstudio-4.1.2/src/diff/ |
H A D | diff_match_patch.h | 477 int match_bitap(const QString &text, const QString &pattern, int loc);
|
H A D | diff_match_patch.cpp | 1422 return match_bitap(text, pattern, loc); in match_main() 1427 int diff_match_patch::match_bitap(const QString &text, const QString &pattern, in match_bitap() function in diff_match_patch
|
/dports/textproc/py-xmldiff/xmldiff-2.4/xmldiff/ |
H A D | _diff_match_patch_py3.py | 1239 match = self.match_bitap(text, pattern, loc) 1242 def match_bitap(self, text, pattern, loc): member in diff_match_patch
|
H A D | _diff_match_patch_py2.py | 1245 match = self.match_bitap(text, pattern, loc) 1248 def match_bitap(self, text, pattern, loc): member in diff_match_patch
|
/dports/textproc/py-diff-match-patch/diff-match-patch-20200713/diff_match_patch/ |
H A D | diff_match_patch.py | 1314 match = self.match_bitap(text, pattern, loc) 1317 def match_bitap(self, text, pattern, loc): member in diff_match_patch
|
H A D | diff_match_patch_py2.py | 1320 match = self.match_bitap(text, pattern, loc) 1323 def match_bitap(self, text, pattern, loc): member in diff_match_patch
|