Home
last modified time | relevance | path

Searched refs:lines1 (Results 1 – 25 of 343) sorted by relevance

12345678910>>...14

/dports/textproc/gsed/sed-4.8/testsuite/
H A Dbsd.sh132 mark '1.17' ; $SED p <lines1 lines1
139 mark '1.18' ; $SED -f script1 <lines1 lines1
224 ' lines1
228 ' lines1
232 ' lines1
236 ' lines1
258 ' lines1
273 ' lines1
284 ' lines1
293 ' lines1
[all …]
/dports/devel/kBuild/kBuild-0.1.9998/src/sed/testsuite/
H A Dbsd.sh132 mark '1.17' ; $SED p <lines1 lines1
139 mark '1.18' ; $SED -f script1 <lines1 lines1
224 ' lines1
228 ' lines1
232 ' lines1
236 ' lines1
258 ' lines1
273 ' lines1
284 ' lines1
293 ' lines1
[all …]
/dports/editors/ssed/sed-3.62/testsuite/
H A Dbsd.sh132 mark '1.17' ; $SED p <lines1 lines1
139 mark '1.18' ; $SED -f script1 <lines1 lines1
224 ' lines1
228 ' lines1
232 ' lines1
236 ' lines1
258 ' lines1
273 ' lines1
284 ' lines1
293 ' lines1
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/usr.bin/sed/TEST/
H A Dsed.test185 $SED -e 's/^/e1_/p' lines1 lines1
188 mark '1.17' ; $SED p <lines1 lines1
195 mark '1.18' ; $SED -f script1 <lines1 lines1
298 ' lines1
302 ' lines1
306 ' lines1
333 ' lines1
364 ' lines1
377 ' lines1
400 ' lines1
[all …]
/dports/sysutils/chezmoi/chezmoi-2.9.3/vendor/github.com/rogpeppe/go-internal/internal/textutil/
H A Ddiff.go21 lines1 := strings.Split(text1, "\n")
22 lines1 = lines1[:len(lines1)-1] // remove empty string after final line
34 dist := make([][]int, len(lines1)+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] {
66 fmt.Fprintf(&buf, " %s\n", lines1[len(lines1)-i])
70 fmt.Fprintf(&buf, "-%s\n", lines1[len(lines1)-i])
/dports/security/gopass/gopass-1.13.0/vendor/github.com/rogpeppe/go-internal/internal/textutil/
H A Ddiff.go21 lines1 := strings.Split(text1, "\n")
22 lines1 = lines1[:len(lines1)-1] // remove empty string after final line
34 dist := make([][]int, len(lines1)+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] {
66 fmt.Fprintf(&buf, " %s\n", lines1[len(lines1)-i])
70 fmt.Fprintf(&buf, "-%s\n", lines1[len(lines1)-i])
/dports/www/gohugo/hugo-0.91.2/vendor/github.com/rogpeppe/go-internal/internal/textutil/
H A Ddiff.go21 lines1 := strings.Split(text1, "\n")
22 lines1 = lines1[:len(lines1)-1] // remove empty string after final line
34 dist := make([][]int, len(lines1)+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] {
66 fmt.Fprintf(&buf, " %s\n", lines1[len(lines1)-i])
70 fmt.Fprintf(&buf, "-%s\n", lines1[len(lines1)-i])
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/rogpeppe/go-internal/internal/textutil/
H A Ddiff.go21 lines1 := strings.Split(text1, "\n")
22 lines1 = lines1[:len(lines1)-1] // remove empty string after final line
34 dist := make([][]int, len(lines1)+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] {
66 fmt.Fprintf(&buf, " %s\n", lines1[len(lines1)-i])
70 fmt.Fprintf(&buf, "-%s\n", lines1[len(lines1)-i])
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/rogpeppe/go-internal/internal/textutil/
H A Ddiff.go21 lines1 := strings.Split(text1, "\n")
22 lines1 = lines1[:len(lines1)-1] // remove empty string after final line
34 dist := make([][]int, len(lines1)+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] {
66 fmt.Fprintf(&buf, " %s\n", lines1[len(lines1)-i])
70 fmt.Fprintf(&buf, "-%s\n", lines1[len(lines1)-i])
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pyelftools/test/
H A Drun_readelf_tests.py106 lines1 = prepare_lines(s1)
109 lines1 = list(filter_readelf_lines(lines1))
113 if len(lines1) != len(lines2):
115 len(lines1), len(lines2))
117 for i in range(len(lines1)):
118 if 'symbol table' in lines1[i]:
122 lines1_parts = lines1[i].split()
138 sm.set_seqs(lines1[i], lines2[i])
146 elif 'at_const_value' in lines1[i]:
153 elif 'os/abi' in lines1[i]:
[all …]
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/measure/mc_meta/
H A Dcreateluts.py17 lines1 = [line.rstrip() for line in text.splitlines()]
23 more_lines, ii = get_table(lines1, 'static const char casesClassic', 0)
27 more_lines, ii = get_table(lines1, 'static const char cases', 0)
34 more_lines, ii = get_table(lines1, 'static const char tiling', ii+1)
44 more_lines, ii = get_table(lines1, 'static const char test', ii+1)
54 more_lines, ii = get_table(lines1, 'static const char subconfig', ii+1)
63 def get_table(lines1, needle, i): argument
66 ii = search_line(lines1, needle, i)
74 front, dummu, back = lines1[ii].partition('[')
77 cdes = lines1[ii].rstrip(' {=')
[all …]
/dports/devel/codeville/codeville-0.1.18/Codeville/
H A Ddiff.py13 def standard_diff(lines1, lines2): argument
14 matches = find_matches(lines1, lines2)
17 if matches[-1][0]+matches[-1][2] != len(lines1) or \
19 matches.append((len(lines1), len(lines2), 0))
49 text.extend(["< ", lines1[i], "\n"])
60 def unified_diff(lines1, lines2): argument
61 matches = find_matches(lines1, lines2)
65 matches.append((len(lines1), len(lines2), 0))
97 text.append(' ' + lines1[line] + "\n")
102 text.append('-' + lines1[line] + "\n")
[all …]
/dports/devel/py-pyelftools/pyelftools-0.27/test/
H A Drun_readelf_tests.py130 lines1 = prepare_lines(s1)
135 if len(lines1) != len(lines2):
137 len(lines1), len(lines2))
139 for i in range(len(lines1)):
140 if 'symbol table' in lines1[i]:
144 lines1_parts = lines1[i].split()
160 sm.set_seqs(lines1[i], lines2[i])
168 elif 'at_const_value' in lines1[i]:
175 elif 'os/abi' in lines1[i]:
178 elif ( 'unknown at value' in lines1[i] and
[all …]
/dports/math/py-theano/Theano-1.0.5/theano/compile/tests/
H A Dtest_profiling.py51 lines1 = [l for l in the_string.split("\n") if "Max if linker" 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/devel/tcllib/tcllib-1.20/examples/struct/
H A Ddiff.tcl22 set lines1 [split [read $f1] \n]
32 ::struct::list assign [::struct::list longestCommonSubsequence $lines1 $lines2] x1 x2
36 set l [lindex $lines1 $i]
43 set l [lindex $lines1 $i]
46 while { $i < [llength $lines1] } {
47 set l [lindex $lines1 $i]
H A Ddiff2.tcl18 set lines1 [split [read $f1] \n]
28 ::struct::list assign [::struct::list longestCommonSubsequence $lines1 $lines2] x1 x2
31 foreach chunk [::struct::list lcsInvert2 $x1 $x2 [llength $lines1] [llength $lines2]] {
42 puts "< [join [lrange $lines1 $b1 $e1] "\n< "]"
50 puts "< [join [lrange $lines1 $b1 $e1] "\n< "]"
/dports/devel/tcllibc/tcllib-1.20/examples/struct/
H A Ddiff.tcl22 set lines1 [split [read $f1] \n]
32 ::struct::list assign [::struct::list longestCommonSubsequence $lines1 $lines2] x1 x2
36 set l [lindex $lines1 $i]
43 set l [lindex $lines1 $i]
46 while { $i < [llength $lines1] } {
47 set l [lindex $lines1 $i]
H A Ddiff2.tcl18 set lines1 [split [read $f1] \n]
28 ::struct::list assign [::struct::list longestCommonSubsequence $lines1 $lines2] x1 x2
31 foreach chunk [::struct::list lcsInvert2 $x1 $x2 [llength $lines1] [llength $lines2]] {
42 puts "< [join [lrange $lines1 $b1 $e1] "\n< "]"
50 puts "< [join [lrange $lines1 $b1 $e1] "\n< "]"
/dports/misc/vxl/vxl-3.3.2/core/vgl/algo/
H A Dvgl_h_matrix_2d_compute.h59 bool compute(std::vector<vgl_homg_line_2d<double> > const& lines1, in compute() argument
63 return compute_l(lines1, lines2, H); in compute()
67 bool compute(std::vector<vgl_homg_line_2d<double> > const& lines1, in compute() argument
72 return compute_l(lines1, lines2, weights, H); in compute()
78 std::vector<vgl_homg_line_2d<double> > const& lines1, in compute()
82 return compute_pl(points1, points2, lines1, lines2, H); in compute()
118 virtual bool compute_l(std::vector<vgl_homg_line_2d<double>> const &lines1,
122 virtual bool compute_l(std::vector<vgl_homg_line_2d<double>> const &lines1,
130 std::vector<vgl_homg_line_2d<double>> const &lines1,
H A Dvgl_h_matrix_2d_optimize_lmq.cxx105 vgl_h_matrix_2d_optimize_lmq::optimize_l(std::vector<vgl_homg_line_2d<double>> const & lines1, in optimize_l() argument
110 assert(lines1.size() == lines2.size()); in optimize_l()
111 assert(lines1.size() > 4); in optimize_l()
116 if (!tr1.compute_from_lines(lines1)) in optimize_l()
121 for (const auto & lit : lines1) in optimize_l()
176 std::vector<vgl_homg_line_2d<double>> const & lines1, in optimize_pl() argument
184 assert(lines1.size() == lines2.size()); in optimize_pl()
185 int nl = lines1.size(); in optimize_pl()
190 if (!tr1.compute_from_points_and_lines(points1, lines1)) in optimize_pl()
202 double a = lines1[i].a(), b = lines1[i].b(), c = lines1[i].c(), d = std::sqrt(a * a + b * b); in optimize_pl()
H A Dvgl_h_matrix_2d_compute_rigid_body.cxx142 assert(lines1.size() == lines2.size()); in compute_l()
143 int n = lines1.size(); in compute_l()
148 if (!tr1.compute_from_lines(lines1)) in compute_l()
153 for (const auto & lit : lines1) in compute_l()
202 assert(lines1.size() == lines2.size()); in compute_pl()
203 int nl = lines1.size(); in compute_pl()
215 if (!tr1.compute_from_points_and_lines(points1, lines1)) in compute_pl()
227 double a = lines1[i].a(), b = lines1[i].b(), c = lines1[i].c(), d = std::sqrt(a * a + b * b); in compute_pl()
339 assert(lines1.size() == lines2.size());
344 if (!tr1.compute_from_lines(lines1))
[all …]
/dports/www/limesurvey/limesurvey/framework/gii/components/
H A DTextDiff.php12 public static function compare($lines1, $lines2) argument
14 if(is_string($lines1))
15 $lines1=explode("\n",$lines1);
18 $diff = new Text_Diff('auto', array($lines1, $lines2));
/dports/www/thundersnarf/thundersnarf/protected/yii114/framework/gii/components/
H A DTextDiff.php12 public static function compare($lines1, $lines2) argument
14 if(is_string($lines1))
15 $lines1=explode("\n",$lines1);
18 $diff = new Text_Diff('auto', array($lines1, $lines2));
/dports/lang/seed7/seed7/prg/
H A Ddiff7.sd758 var array string: lines1 is 0 times "";
68 lines1 := split(content1, '\n');
72 lines1[index1] = lines2[index2] do
73 # writeln("A " <& lines1[index1]);
89 lines1[index1b] = lines2[index2] then
94 showLines("< ", lines1, index1, pred(index1b));
99 lines1[index1] = lines2[index2b] then
113 if lines1[index1c] = lines2[index2b] then
128 if lines1[index1b] = lines2[index2c] then
150 showLines("< ", lines1, index1, length(lines1));
[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 DTextLineLCS.java22 private final TextLine[] lines1; field in TextLineLCS
26 public TextLineLCS(TextLine[] lines1, TextLine[] lines2) { in TextLineLCS() argument
27 this.lines1 = lines1; in TextLineLCS()
38 result[0] = compactAndShiftLCS(this.lcs[0], length, this.lines1); in getResult()
51 return this.lines1.length; in getLength1()
56 return this.lines1[i1].sameText(this.lines2[i2]); in isRangeEqual()
61 this.lcs[0][sl1] = this.lines1[sl1]; in setLcs()

12345678910>>...14