Searched refs:SequenceMatcher (Results 1 – 19 of 19) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_difflib.py | 10 sm = difflib.SequenceMatcher(None, 'b' * 100, 'a' + 'b' * 100) 15 sm = difflib.SequenceMatcher(None, 'b' * 100, 'b' * 50 + 'a' + 'b' * 50) 23 sm = difflib.SequenceMatcher(None, 'a' * 40 + 'c' + 'b' * 40, 'a' * 40 + 'b' * 40) 39 sm = difflib.SequenceMatcher(None, seq1, seq2) 43 sm = difflib.SequenceMatcher(None, seq1, seq2, autojunk=False) 50 s = difflib.SequenceMatcher(None, [], []) 57 group_gen = difflib.SequenceMatcher(None, [], []).get_grouped_opcodes() 64 s = difflib.SequenceMatcher(None, "abxcd", "abcd") 207 difflib.SequenceMatcher(None, old, new).get_opcodes()
|
/external/python/cpython3/Lib/test/ |
D | test_difflib.py | 10 sm = difflib.SequenceMatcher(None, 'b' * 100, 'a' + 'b' * 100) 16 sm = difflib.SequenceMatcher(None, 'b' * 100, 'b' * 50 + 'a' + 'b' * 50) 25 sm = difflib.SequenceMatcher(None, 'a' * 40 + 'c' + 'b' * 40, 'a' * 40 + 'b' * 40) 33 sm = difflib.SequenceMatcher(isjunk=lambda x: x == ' ', 37 sm = difflib.SequenceMatcher(isjunk=lambda x: x == ' ', 41 sm = difflib.SequenceMatcher(isjunk=lambda x: x in [' ', 'b'], 54 sm = difflib.SequenceMatcher(None, seq1, seq2) 59 sm = difflib.SequenceMatcher(None, seq1, seq2, autojunk=False) 67 s = difflib.SequenceMatcher(None, [], []) 74 group_gen = difflib.SequenceMatcher(None, [], []).get_grouped_opcodes() [all …]
|
/external/python/cpython3/Doc/library/ |
D | difflib.rst | 26 .. class:: SequenceMatcher 41 case and quadratic time in the expected case. :class:`SequenceMatcher` is 46 **Automatic junk heuristic:** :class:`SequenceMatcher` supports a heuristic that 52 the ``autojunk`` argument to ``False`` when creating the :class:`SequenceMatcher`. 61 human-readable differences or deltas. Differ uses :class:`SequenceMatcher` 229 -- however the underlying :class:`SequenceMatcher` class does a dynamic 358 SequenceMatcher Objects 361 The :class:`SequenceMatcher` class has this constructor: 364 .. class:: SequenceMatcher(isjunk=None, a='', b='', autojunk=True) 386 SequenceMatcher objects get three data attributes: *bjunk* is the [all …]
|
/external/python/cpython2/Doc/library/ |
D | difflib.rst | 22 .. class:: SequenceMatcher 35 case and quadratic time in the expected case. :class:`SequenceMatcher` is 40 **Automatic junk heuristic:** :class:`SequenceMatcher` supports a heuristic that 46 the ``autojunk`` argument to ``False`` when creating the :class:`SequenceMatcher`. 54 human-readable differences or deltas. Differ uses :class:`SequenceMatcher` 225 :class:`SequenceMatcher` class does a dynamic analysis of which lines are so 341 SequenceMatcher Objects 344 The :class:`SequenceMatcher` class has this constructor: 347 .. class:: SequenceMatcher(isjunk=None, a='', b='', autojunk=True) 369 :class:`SequenceMatcher` objects have the following methods: [all …]
|
/external/python/cpython2/Lib/ |
D | difflib.py | 44 class SequenceMatcher: class 735 s = SequenceMatcher() 907 cruncher = SequenceMatcher(self.linejunk, a, b) 965 cruncher = SequenceMatcher(self.charjunk) 1198 for group in SequenceMatcher(None,a,b).get_grouped_opcodes(n): 1285 for group in SequenceMatcher(None,a,b).get_grouped_opcodes(n):
|
/external/python/cpython3/Lib/ |
D | difflib.py | 43 class SequenceMatcher: class 722 s = SequenceMatcher() 894 cruncher = SequenceMatcher(self.linejunk, a, b) 950 cruncher = SequenceMatcher(self.charjunk) 1179 for group in SequenceMatcher(None,a,b).get_grouped_opcodes(n): 1268 for group in SequenceMatcher(None,a,b).get_grouped_opcodes(n):
|
/external/clang/tools/clang-format/ |
D | clang-format.py | 98 sequence = difflib.SequenceMatcher(None, vim.current.buffer, lines)
|
/external/autotest/server/cros/dynamic_suite/ |
D | suite.py | 590 (t.path, difflib.SequenceMatcher(a=t.path, 608 difflib.SequenceMatcher(a=t.name, b=test_name).ratio())) 689 difflib.SequenceMatcher(a=suite, b=name).ratio())
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.8.rst | 124 The difflib SequenceMatcher.get_matching_blocks() method cache didn't match
|
D | 2.7.1rc1.rst | 654 difflib.SequenceMatcher gets a new parameter, autojunk, which can be set to
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.4.rst | 2216 * :meth:`difflib.SequenceMatcher.isbjunk` and 2217 :meth:`difflib.SequenceMatcher.isbpopular` were deprecated in 3.2, and have 2219 ``x in sm.bpopular``, where *sm* is a :class:`~difflib.SequenceMatcher` object
|
D | 2.1.rst | 616 * The :mod:`difflib` module contains a class, :class:`SequenceMatcher`, which
|
D | 2.5.rst | 1321 * The :meth:`SequenceMatcher.get_matching_blocks` method in the :mod:`difflib`
|
D | 2.6.rst | 1946 * The :mod:`difflib` module's :class:`SequenceMatcher` class
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.1.rst | 616 * The :mod:`difflib` module contains a class, :class:`SequenceMatcher`, which
|
D | 2.5.rst | 1320 * The :meth:`SequenceMatcher.get_matching_blocks` method in the :mod:`difflib`
|
D | 2.6.rst | 1942 * The :mod:`difflib` module's :class:`SequenceMatcher` class
|
/external/python/cpython2/Misc/ |
D | HISTORY | 743 - ``difflib``'s ``SequenceMatcher.get_matching_blocks()`` was changed to 5591 - difflib's SequenceMatcher class now does a dynamic analysis of 5596 that SequenceMatcher may run much faster now when applied 7839 - New library module difflib.py, primarily packaging the SequenceMatcher
|
/external/python/cpython3/Misc/ |
D | HISTORY | 1603 - Issue #21635: The difflib SequenceMatcher.get_matching_blocks() method 11349 - Issue #2986: difflib.SequenceMatcher gets a new parameter, autojunk, which can 18127 - ``difflib``'s ``SequenceMatcher.get_matching_blocks()`` was changed to 22975 - difflib's SequenceMatcher class now does a dynamic analysis of 22980 that SequenceMatcher may run much faster now when applied 25218 - New library module difflib.py, primarily packaging the SequenceMatcher
|