/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/measure/mc_meta/ |
H A D | createluts.py | 20 lines2 = [] 24 lines2.extend(more_lines) 28 lines2.extend(more_lines) 60 return '\n'.join(lines2) 71 lines2 = [] 91 lines2.append(line2) 97 lines2.append('') 109 lines2 = [] 112 lines2.append(text) 113 lines2.append('') [all …]
|
/dports/sysutils/chezmoi/chezmoi-2.9.3/vendor/github.com/rogpeppe/go-internal/internal/textutil/ |
H A D | diff.go | 26 lines2 := strings.Split(text2, "\n") 27 lines2 = lines2[:len(lines2)-1] // remove empty string after final line 36 dist[i] = make([]int, len(lines2)+1) 52 if lines1[len(lines1)-i] == lines2[len(lines2)-j] { 62 i, j := len(lines1), len(lines2) 65 if i > 0 && j > 0 && cost == dist[i-1][j-1] && lines1[len(lines1)-i] == lines2[len(lines2)-j] { 73 fmt.Fprintf(&buf, "+%s\n", lines2[len(lines2)-j])
|
/dports/security/gopass/gopass-1.13.0/vendor/github.com/rogpeppe/go-internal/internal/textutil/ |
H A D | diff.go | 26 lines2 := strings.Split(text2, "\n") 27 lines2 = lines2[:len(lines2)-1] // remove empty string after final line 36 dist[i] = make([]int, len(lines2)+1) 52 if lines1[len(lines1)-i] == lines2[len(lines2)-j] { 62 i, j := len(lines1), len(lines2) 65 if i > 0 && j > 0 && cost == dist[i-1][j-1] && lines1[len(lines1)-i] == lines2[len(lines2)-j] { 73 fmt.Fprintf(&buf, "+%s\n", lines2[len(lines2)-j])
|
/dports/www/gohugo/hugo-0.91.2/vendor/github.com/rogpeppe/go-internal/internal/textutil/ |
H A D | diff.go | 26 lines2 := strings.Split(text2, "\n") 27 lines2 = lines2[:len(lines2)-1] // remove empty string after final line 36 dist[i] = make([]int, len(lines2)+1) 52 if lines1[len(lines1)-i] == lines2[len(lines2)-j] { 62 i, j := len(lines1), len(lines2) 65 if i > 0 && j > 0 && cost == dist[i-1][j-1] && lines1[len(lines1)-i] == lines2[len(lines2)-j] { 73 fmt.Fprintf(&buf, "+%s\n", lines2[len(lines2)-j])
|
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/rogpeppe/go-internal/internal/textutil/ |
H A D | diff.go | 26 lines2 := strings.Split(text2, "\n") 27 lines2 = lines2[:len(lines2)-1] // remove empty string after final line 36 dist[i] = make([]int, len(lines2)+1) 52 if lines1[len(lines1)-i] == lines2[len(lines2)-j] { 62 i, j := len(lines1), len(lines2) 65 if i > 0 && j > 0 && cost == dist[i-1][j-1] && lines1[len(lines1)-i] == lines2[len(lines2)-j] { 73 fmt.Fprintf(&buf, "+%s\n", lines2[len(lines2)-j])
|
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/rogpeppe/go-internal/internal/textutil/ |
H A D | diff.go | 26 lines2 := strings.Split(text2, "\n") 27 lines2 = lines2[:len(lines2)-1] // remove empty string after final line 36 dist[i] = make([]int, len(lines2)+1) 52 if lines1[len(lines1)-i] == lines2[len(lines2)-j] { 62 i, j := len(lines1), len(lines2) 65 if i > 0 && j > 0 && cost == dist[i-1][j-1] && lines1[len(lines1)-i] == lines2[len(lines2)-j] { 73 fmt.Fprintf(&buf, "+%s\n", lines2[len(lines2)-j])
|
/dports/devel/kBuild/kBuild-0.1.9998/src/sed/testsuite/ |
H A D | bsd.sh | 56 : > lines2 59 echo l2_$i >> lines2 146 mark '2.2' ; $SED -n -e '20p' lines1 lines2 148 mark '2.4' ; $SED -n -e '$p' lines1 lines2 160 mark '2.13' ; $SED -n '1,$p' lines1 lines2 166 mark '2.19' ; $SED -n '12,3p' lines1 lines2 206 ' lines1 lines2 213 ' lines1 lines2 220 ' lines1 lines2 265 ' lines1 lines2 [all …]
|
/dports/textproc/gsed/sed-4.8/testsuite/ |
H A D | bsd.sh | 56 : > lines2 59 echo l2_$i >> lines2 146 mark '2.2' ; $SED -n -e '20p' lines1 lines2 148 mark '2.4' ; $SED -n -e '$p' lines1 lines2 160 mark '2.13' ; $SED -n '1,$p' lines1 lines2 166 mark '2.19' ; $SED -n '12,3p' lines1 lines2 206 ' lines1 lines2 213 ' lines1 lines2 220 ' lines1 lines2 265 ' lines1 lines2 [all …]
|
/dports/editors/ssed/sed-3.62/testsuite/ |
H A D | bsd.sh | 56 : > lines2 59 echo l2_$i >> lines2 146 mark '2.2' ; $SED -n -e '20p' lines1 lines2 148 mark '2.4' ; $SED -n -e '$p' lines1 lines2 160 mark '2.13' ; $SED -n '1,$p' lines1 lines2 166 mark '2.19' ; $SED -n '12,3p' lines1 lines2 206 ' lines1 lines2 213 ' lines1 lines2 220 ' lines1 lines2 265 ' lines1 lines2 [all …]
|
/dports/games/battletanks/btanks-0.9.8083/engine/src/ |
H A D | credits.cpp | 47 std::vector<std::string> lines, lines2; in Credits() local 84 lines2.push_back("THE CREDITS HAVE BEEN COMPLETED IN AN ENTIRELY DIFFERENT STYLE"); in Credits() 85 lines2.push_back("AT GREAT EXPENSE AND AT THE LAST MINUTE"); in Credits() 86 lines2.push_back("BY A TEAM OF FORTY OR FIFTY WELL-TRAINED LLAMAS."); in Credits() 87 lines2.push_back(""); in Credits() 88 lines2.push_back(""); in Credits() 90 _h = fh * lines.size() + mfh * lines2.size(); in Credits() 98 for(std::vector<std::string>::const_iterator i = lines2.begin(); i != lines2.end(); ++i) { in Credits() 113 for(size_t i = 0; i < lines2.size(); ++i) { in Credits() 114 const std::string &str = lines2[i]; in Credits()
|
/dports/math/py-theano/Theano-1.0.5/theano/compile/tests/ |
H A D | test_profiling.py | 52 lines2 = [l for l in the_string.split("\n") if "Minimum peak" in l] 54 assert "CPU: 4112KB (4104KB)" in the_string, (lines1, lines2) 55 assert "CPU: 8204KB (8196KB)" in the_string, (lines1, lines2) 56 assert "CPU: 8208KB" in the_string, (lines1, lines2) 58 lines1, lines2) 60 assert "CPU: 16KB (16KB)" in the_string, (lines1, lines2) 61 assert "GPU: 8204KB (8204KB)" in the_string, (lines1, lines2) 62 assert "GPU: 12300KB (12300KB)" in the_string, (lines1, lines2) 63 assert "GPU: 8212KB" in the_string, (lines1, lines2) 65 lines1, lines2)
|
/dports/misc/rump/buildrump.sh-b914579/src/usr.bin/sed/TEST/ |
H A D | sed.test | 202 mark '2.2' ; $SED -n -e '20p' lines1 lines2 204 mark '2.4' ; $SED -n -e '$p' lines1 lines2 222 mark '2.13' ; $SED -n '1,$p' lines1 lines2 224 mark '2.15' ; $SED -n '/4/,$p' lines1 lines2 232 $SED -n '12,3p' lines1 lines2 237 $SED -n '/l1_7/,3p' lines1 lines2 276 ' lines1 lines2 283 ' lines1 lines2 294 ' lines1 lines2 344 ' lines1 lines2 [all …]
|
/dports/devel/git-lfs/git-lfs-3.0.2/git/gitattr/ |
H A D | macro_test.go | 109 lines2, _, err := ParseLines(strings.NewReader("*.dat lfs\n")) 111 assert.Len(t, lines2, 1) 114 lines2 = mp.ProcessLines(lines2, false) 116 assert.Len(t, lines2, 1) 118 assert.Equal(t, lines2[0].Macro, "") 119 assert.Equal(t, lines2[0].Pattern.String(), "*.dat") 120 assert.Len(t, lines2[0].Attrs, 5) 121 assert.Equal(t, lines2[0].Attrs[0], &Attr{K: "filter", V: "lfs"}) 122 assert.Equal(t, lines2[0].Attrs[1], &Attr{K: "diff", V: "lfs"}) 123 assert.Equal(t, lines2[0].Attrs[2], &Attr{K: "merge", V: "lfs"}) [all …]
|
/dports/devel/codeville/codeville-0.1.18/Codeville/ |
H A D | diff.py | 13 def standard_diff(lines1, lines2): argument 14 matches = find_matches(lines1, lines2) 18 matches[-1][1]+matches[-1][2] != len(lines2): 19 matches.append((len(lines1), len(lines2), 0)) 53 text.extend(["> ", lines2[j], "\n"]) 60 def unified_diff(lines1, lines2): argument 61 matches = find_matches(lines1, lines2) 64 matches[-1][1]+matches[-1][2] != len(lines2): 65 matches.append((len(lines1), len(lines2), 0)) 104 text.append('+' + lines2[line2] + "\n")
|
/dports/misc/vxl/vxl-3.3.2/core/vgl/algo/ |
H A D | vgl_h_matrix_2d_compute.h | 60 std::vector<vgl_homg_line_2d<double> > const& lines2, in compute() 63 return compute_l(lines1, lines2, H); in compute() 68 std::vector<vgl_homg_line_2d<double> > const& lines2, in compute() 72 return compute_l(lines1, lines2, weights, H); in compute() 79 std::vector<vgl_homg_line_2d<double> > const& lines2, in compute() 82 return compute_pl(points1, points2, lines1, lines2, H); in compute() 119 std::vector<vgl_homg_line_2d<double>> const &lines2, 123 std::vector<vgl_homg_line_2d<double>> const &lines2, 131 std::vector<vgl_homg_line_2d<double>> const &lines2,
|
/dports/www/limesurvey/limesurvey/framework/gii/components/ |
H A D | TextDiff.php | 12 public static function compare($lines1, $lines2) argument 16 if(is_string($lines2)) 17 $lines2=explode("\n",$lines2); 18 $diff = new Text_Diff('auto', array($lines1, $lines2));
|
/dports/www/thundersnarf/thundersnarf/protected/yii114/framework/gii/components/ |
H A D | TextDiff.php | 12 public static function compare($lines1, $lines2) argument 16 if(is_string($lines2)) 17 $lines2=explode("\n",$lines2); 18 $diff = new Text_Diff('auto', array($lines1, $lines2));
|
/dports/lang/seed7/seed7/prg/ |
H A D | diff7.sd7 | 59 var array string: lines2 is 0 times ""; 69 lines2 := split(content2, '\n'); 72 lines1[index1] = lines2[index2] do 74 # writeln("B " <& lines2[index2]); 89 lines1[index1b] = lines2[index2] then 99 lines1[index1] = lines2[index2b] then 105 showLines("> ", lines2, index2, pred(index2b)); 113 if lines1[index1c] = lines2[index2b] then 128 if lines1[index1b] = lines2[index2c] then 152 showLines("> ", lines2, index2, length(lines2)); [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.team/bundles/org.eclipse.compare.core/src/org/eclipse/compare/internal/core/ |
H A D | TextLineLCS.java | 23 private final TextLine[] lines2; field in TextLineLCS 26 public TextLineLCS(TextLine[] lines1, TextLine[] lines2) { in TextLineLCS() argument 28 this.lines2 = lines2; in TextLineLCS() 39 result[1] = compactAndShiftLCS(this.lcs[1], length, this.lines2); in getResult() 46 return this.lines2.length; in getLength2() 56 return this.lines1[i1].sameText(this.lines2[i2]); in isRangeEqual() 62 this.lcs[1][sl1] = this.lines2[sl2]; in setLcs()
|
/dports/devel/tcllib/tcllib-1.20/examples/struct/ |
H A D | diff.tcl | 26 set lines2 [split [read $f2] \n] 32 ::struct::list assign [::struct::list longestCommonSubsequence $lines1 $lines2] x1 x2 40 set m [lindex $lines2 $j] 50 while { $j < [llength $lines2] } { 51 set m [lindex $lines2 $j]
|
H A D | diff2.tcl | 22 set lines2 [split [read $f2] \n] 28 ::struct::list assign [::struct::list longestCommonSubsequence $lines1 $lines2] x1 x2 31 foreach chunk [::struct::list lcsInvert2 $x1 $x2 [llength $lines1] [llength $lines2]] { 44 puts "> [join [lrange $lines2 $b2 $e2] "\n> "]" 47 puts "> [join [lrange $lines2 $b2 $e2] "\n> "]"
|
/dports/devel/tcllibc/tcllib-1.20/examples/struct/ |
H A D | diff.tcl | 26 set lines2 [split [read $f2] \n] 32 ::struct::list assign [::struct::list longestCommonSubsequence $lines1 $lines2] x1 x2 40 set m [lindex $lines2 $j] 50 while { $j < [llength $lines2] } { 51 set m [lindex $lines2 $j]
|
H A D | diff2.tcl | 22 set lines2 [split [read $f2] \n] 28 ::struct::list assign [::struct::list longestCommonSubsequence $lines1 $lines2] x1 x2 31 foreach chunk [::struct::list lcsInvert2 $x1 $x2 [llength $lines1] [llength $lines2]] { 44 puts "> [join [lrange $lines2 $b2 $e2] "\n> "]" 47 puts "> [join [lrange $lines2 $b2 $e2] "\n> "]"
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pyelftools/test/ |
H A D | run_readelf_tests.py | 107 lines2 = prepare_lines(s2) 113 if len(lines1) != len(lines2): 115 len(lines1), len(lines2)) 123 lines2_parts = lines2[i].split() 138 sm.set_seqs(lines1[i], lines2[i]) 154 if 'unix - gnu' in lines1[i] and 'unix - linux' in lines2[i]: 157 'dw_at_apple' in lines2[i]): 161 if s in lines1[i] or s in lines2[i]: 166 i, lines1[i], lines2[i], changes)
|
/dports/misc/vxl/vxl-3.3.2/contrib/oxl/mvl/ |
H A D | TripleMatchSetLineSeg.cxx | 24 LineSegSet& lines2, in TripleMatchSetLineSeg() argument 26 TripleMatchSet(new PairMatchSetLineSeg(lines1, lines2), in TripleMatchSetLineSeg() 27 new PairMatchSetLineSeg(lines2, lines3)) in TripleMatchSetLineSeg() 40 void TripleMatchSetLineSeg::set(LineSegSet& lines1, LineSegSet& lines2, LineSegSet& lines3) in set() argument 42 …TripleMatchSet::set(new PairMatchSetLineSeg(lines1, lines2), new PairMatchSetLineSeg(lines2, lines… in set()
|