Home
last modified time | relevance | path

Searched refs:match_bitap (Results 1 – 15 of 15) sorted by relevance

/dports/textproc/py-diff-match-patch/diff-match-patch-20200713/diff_match_patch/tests/
H A Ddiff_match_patch_test.py1153 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 Ddiff_match_patch_test_py2.py1153 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 Ddiff_match_patch_test.cpp639 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 Ddiff_match_patch.h433 int match_bitap(const QString &text, const QString &pattern, int loc);
H A Ddiff_match_patch.cpp1382 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 Ddiff_match_patch.h475 int match_bitap(const QString &text, const QString &pattern, int loc);
H A Ddiff_match_patch.cpp1452 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 Ddiff_match_patch.h469 int match_bitap(const QString &text, const QString &pattern, int loc);
H A Ddiff_match_patch.cpp1445 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 Ddiff_match_patch.h477 int match_bitap(const QString &text, const QString &pattern, int loc);
H A Ddiff_match_patch.cpp1422 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.py1239 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.py1245 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 Ddiff_match_patch.py1314 match = self.match_bitap(text, pattern, loc)
1317 def match_bitap(self, text, pattern, loc): member in diff_match_patch
H A Ddiff_match_patch_py2.py1320 match = self.match_bitap(text, pattern, loc)
1323 def match_bitap(self, text, pattern, loc): member in diff_match_patch