Lines Matching refs:first

98     If you want to know how to change the first sequence into the second,
131 Optional arg a is the first of two sequences to be compared. By
146 # first sequence
197 """Set the first sequence to be compared.
225 The first sequence to be compared is not changed.
273 # The first trick is to build b2j ignoring the possibility
328 If isjunk is defined, first the longest matching block is
361 # the unique 'b's and then matching the first two 'a's.
475 # the first block by the length of the second, and the first
479 # Not adjacent. Remember the first block (k1==0 means it's
495 Each tuple is of the form (tag, i1, i2, j1, j2). The first tuple
607 want to try .quick_ratio() or .real_quick_ratio() first to get an
682 in a list, sorted by similarity score, most similar first.
881 # dump the shorter block first -- reduces the burden on short-term
884 first = self._dump('+', b, blo, bhi)
887 first = self._dump('-', a, alo, ahi)
890 for g in first, second:
932 # upper bounds first -- have seen this speed up messy
934 # note that ratio() is only expensive to compute the first
1146 first, last = group[0], group[-1]
1147 file1_range = _format_range_unified(first[1], last[2])
1148 file2_range = _format_range_unified(first[3], last[4])
1235 first, last = group[0], group[-1]
1238 file1_range = _format_range_context(first[1], last[2])
1247 file2_range = _format_range_context(first[3], last[4])
1388 format_key -- '+' return first line in list with "add" markup around
1390 '-' return first line in list with "delete" markup around
1392 '?' return first line in list with add/delete/change
1394 None return first line in list with no markup
1433 # Return line of text, first allow user's line formatter to do its
1456 # are a concatenation of the first character of each of the 4 lines
1581 # Yield lines that we have collected so far, but first yield
1759 wrapped (split) into separate lines. If so, the first wrap point
1760 will be determined and the first line appended to the output
1797 # if wrap point is inside markers, place end marker at end of first
1804 # tack on first line onto the output list
1932 # if not a change on first line, drop a link
1991 # generated for the first line