/dports/www/ikiwiki/ikiwiki-3.20200202.3/IkiWiki/Plugin/ |
H A D | map.pm | 36 my $common_prefix; 51 if (! defined $common_prefix) { 52 $common_prefix=$page; 54 elsif (length $common_prefix && 58 $common_prefix=""; 60 if (length $common_prefix) { 61 $common_prefix.="/"; 63 $common_prefix.=shift(@a); 70 while (defined $common_prefix && length $common_prefix && 72 $common_prefix=IkiWiki::dirname($common_prefix); [all …]
|
/dports/devel/git-svn/git-2.34.1/contrib/fast-import/ |
H A D | import-zips.py | 37 common_prefix = None variable 48 if common_prefix == None: 49 common_prefix = name[:name.rfind('/') + 1] variable 51 while not name.startswith(common_prefix): 52 last_slash = common_prefix[:-1].rfind('/') + 1 53 common_prefix = common_prefix[:last_slash] variable 71 name[len(common_prefix):] + "\n")
|
/dports/devel/git-gui/git-2.34.1/contrib/fast-import/ |
H A D | import-zips.py | 37 common_prefix = None variable 48 if common_prefix == None: 49 common_prefix = name[:name.rfind('/') + 1] variable 51 while not name.startswith(common_prefix): 52 last_slash = common_prefix[:-1].rfind('/') + 1 53 common_prefix = common_prefix[:last_slash] variable 71 name[len(common_prefix):] + "\n")
|
/dports/devel/git-p4/git-2.34.1/contrib/fast-import/ |
H A D | import-zips.py | 37 common_prefix = None 48 if common_prefix == None: 49 common_prefix = name[:name.rfind('/') + 1] 51 while not name.startswith(common_prefix): 52 last_slash = common_prefix[:-1].rfind('/') + 1 53 common_prefix = common_prefix[:last_slash] 71 name[len(common_prefix):] + "\n")
|
/dports/devel/git/git-2.34.1/contrib/fast-import/ |
H A D | import-zips.py | 37 common_prefix = None variable 48 if common_prefix == None: 49 common_prefix = name[:name.rfind('/') + 1] variable 51 while not name.startswith(common_prefix): 52 last_slash = common_prefix[:-1].rfind('/') + 1 53 common_prefix = common_prefix[:last_slash] variable 71 name[len(common_prefix):] + "\n")
|
/dports/devel/git-cvs/git-2.34.1/contrib/fast-import/ |
H A D | import-zips.py | 37 common_prefix = None variable 48 if common_prefix == None: 49 common_prefix = name[:name.rfind('/') + 1] variable 51 while not name.startswith(common_prefix): 52 last_slash = common_prefix[:-1].rfind('/') + 1 53 common_prefix = common_prefix[:last_slash] variable 71 name[len(common_prefix):] + "\n")
|
/dports/devel/cgit/cgit-1.2.3/git/contrib/fast-import/ |
H A D | import-zips.py | 37 common_prefix = None variable 48 if common_prefix == None: 49 common_prefix = name[:name.rfind('/') + 1] variable 51 while not name.startswith(common_prefix): 52 last_slash = common_prefix[:-1].rfind('/') + 1 53 common_prefix = common_prefix[:last_slash] variable 71 name[len(common_prefix):] + "\n")
|
/dports/games/openttd/openttd-12.1/.github/ |
H A D | unused-strings.py | 41 common_prefix = "" 65 common_prefix = "" 135 common_prefix = name 143 for i in range(len(common_prefix)): 144 if common_prefix[0 : i + 1] != name[0 : i + 1]: 145 common_prefix = common_prefix[0:i] 151 if len(common_prefix) < 6: 153 elif common_prefix: 154 if name.startswith(common_prefix): 156 common_prefix = ""
|
/dports/devel/p5-Test-LongString/Test-LongString-0.17/lib/Test/ |
H A D | LongString.pm | 201 my $common_prefix = _common_prefix_length($got,$expected); 203 _display($got, $common_prefix), 204 _display($expected, $common_prefix), 206 my $line = () = substr($expected,0,$common_prefix) =~ /$EOL/g; 207 my $column = $line ? $common_prefix - $+[0] + 1 : $common_prefix + 1; 214 strings begin to differ at char ${\($common_prefix + 1)} (line $line column $column) 241 my $common_prefix = _common_prefix_length($got_nows,$expected_nows); 243 _display($got_nows, $common_prefix), 244 _display($expected_nows, $common_prefix), 252 strings begin to differ at char ${\($common_prefix + 1)}
|
/dports/devel/glibmm/glibmm-2.64.2/tools/pm/ |
H A D | Enum.pm | 187 my $common_prefix = undef; 199 if (not defined($common_prefix)) 201 $common_prefix = $prefix; 203 elsif ($prefix ne $common_prefix) 205 $common_prefix = ""; 217 if ($common_prefix) 220 s/^$common_prefix// foreach (@$elem_names); 223 $$self{c_prefix} = $common_prefix;
|
/dports/textproc/meld/meld-3.20.4/meld/matchers/ |
H A D | myers.py | 76 self.common_prefix = self.common_suffix = 0 94 self.common_prefix = self.common_suffix = 0 95 self.common_prefix = find_common_prefix(a, b) 96 if self.common_prefix > 0: 97 a = a[self.common_prefix:] 98 b = b[self.common_prefix:] 183 common_prefix = self.common_prefix 193 xprev = aindex[x] + common_prefix 194 yprev = bindex[y] + common_prefix 200 xnext = aindex[x] + common_prefix [all …]
|
/dports/textproc/meld-legacy/meld-1.8.6/meld/ |
H A D | matchers.py | 91 self.common_prefix = self.common_suffix = 0 109 self.common_prefix = self.common_suffix = 0 110 self.common_prefix = find_common_prefix(a, b) 111 if self.common_prefix > 0: 112 a = a[self.common_prefix:] 113 b = b[self.common_prefix:] 198 common_prefix = self.common_prefix 208 xprev = aindex[x] + common_prefix 209 yprev = bindex[y] + common_prefix 215 xnext = aindex[x] + common_prefix [all …]
|
/dports/net-mgmt/statsite/statsite-0.8.0/src/ |
H A D | radix.c | 64 int common_prefix; in radix_insert() local 101 common_prefix = longest_prefix(search, n->key, n->key_len); in radix_insert() 102 if (common_prefix == n->key_len) { in radix_insert() 111 child->key_len = common_prefix; in radix_insert() 114 n->key += common_prefix; in radix_insert() 115 n->key_len -= common_prefix; in radix_insert() 124 search += common_prefix; in radix_insert()
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/utils/ |
H A D | update_mca_test_checks.py | 121 def _break_down_block(block_info, common_prefix): argument 160 result.append((common_prefix, line[0])) 265 def _get_block_infos(run_infos, test_path, args, common_prefix): # noqa argument 381 if common_prefix and len(block_infos[block_num]) > 1: 394 def _write_block(output, block, not_prefix_set, common_prefix, prefix_pad): argument 415 if num_lines_of_prefix > 1 or any(p == common_prefix 435 args, common_prefix, prefix_pad): argument 482 common_prefix, 504 common_prefix, 551 common_prefix, prefix_pad = _get_useful_prefix_info(run_infos) [all …]
|
/dports/devel/llvm11/llvm-11.0.1.src/utils/ |
H A D | update_mca_test_checks.py | 121 def _break_down_block(block_info, common_prefix): argument 160 result.append((common_prefix, line[0])) 265 def _get_block_infos(run_infos, test_path, args, common_prefix): # noqa argument 381 if common_prefix and len(block_infos[block_num]) > 1: 394 def _write_block(output, block, not_prefix_set, common_prefix, prefix_pad): argument 415 if num_lines_of_prefix > 1 or any(p == common_prefix 435 args, common_prefix, prefix_pad): argument 482 common_prefix, 504 common_prefix, 551 common_prefix, prefix_pad = _get_useful_prefix_info(run_infos) [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/utils/ |
H A D | update_mca_test_checks.py | 121 def _break_down_block(block_info, common_prefix): argument 160 result.append((common_prefix, line[0])) 265 def _get_block_infos(run_infos, test_path, args, common_prefix): # noqa argument 381 if common_prefix and len(block_infos[block_num]) > 1: 394 def _write_block(output, block, not_prefix_set, common_prefix, prefix_pad): argument 415 if num_lines_of_prefix > 1 or any(p == common_prefix 435 args, common_prefix, prefix_pad): argument 482 common_prefix, 504 common_prefix, 551 common_prefix, prefix_pad = _get_useful_prefix_info(run_infos) [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/utils/ |
H A D | update_mca_test_checks.py | 121 def _break_down_block(block_info, common_prefix): argument 160 result.append((common_prefix, line[0])) 265 def _get_block_infos(run_infos, test_path, args, common_prefix): # noqa argument 381 if common_prefix and len(block_infos[block_num]) > 1: 394 def _write_block(output, block, not_prefix_set, common_prefix, prefix_pad): argument 415 if num_lines_of_prefix > 1 or any(p == common_prefix 435 args, common_prefix, prefix_pad): argument 482 common_prefix, 504 common_prefix, 551 common_prefix, prefix_pad = _get_useful_prefix_info(run_infos) [all …]
|
/dports/devel/llvm10/llvm-10.0.1.src/utils/ |
H A D | update_mca_test_checks.py | 121 def _break_down_block(block_info, common_prefix): argument 160 result.append((common_prefix, line[0])) 265 def _get_block_infos(run_infos, test_path, args, common_prefix): # noqa argument 381 if common_prefix and len(block_infos[block_num]) > 1: 394 def _write_block(output, block, not_prefix_set, common_prefix, prefix_pad): argument 415 if num_lines_of_prefix > 1 or any(p == common_prefix 435 args, common_prefix, prefix_pad): argument 482 common_prefix, 504 common_prefix, 551 common_prefix, prefix_pad = _get_useful_prefix_info(run_infos) [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/utils/ |
H A D | update_mca_test_checks.py | 121 def _break_down_block(block_info, common_prefix): argument 160 result.append((common_prefix, line[0])) 265 def _get_block_infos(run_infos, test_path, args, common_prefix): # noqa argument 381 if common_prefix and len(block_infos[block_num]) > 1: 394 def _write_block(output, block, not_prefix_set, common_prefix, prefix_pad): argument 415 if num_lines_of_prefix > 1 or any(p == common_prefix 435 args, common_prefix, prefix_pad): argument 482 common_prefix, 504 common_prefix, 551 common_prefix, prefix_pad = _get_useful_prefix_info(run_infos) [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/utils/ |
H A D | update_mca_test_checks.py | 121 def _break_down_block(block_info, common_prefix): argument 160 result.append((common_prefix, line[0])) 265 def _get_block_infos(run_infos, test_path, args, common_prefix): # noqa argument 381 if common_prefix and len(block_infos[block_num]) > 1: 394 def _write_block(output, block, not_prefix_set, common_prefix, prefix_pad): argument 415 if num_lines_of_prefix > 1 or any(p == common_prefix 435 args, common_prefix, prefix_pad): argument 482 common_prefix, 504 common_prefix, 551 common_prefix, prefix_pad = _get_useful_prefix_info(run_infos) [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/utils/ |
H A D | update_mca_test_checks.py | 121 def _break_down_block(block_info, common_prefix): argument 160 result.append((common_prefix, line[0])) 265 def _get_block_infos(run_infos, test_path, args, common_prefix): # noqa argument 381 if common_prefix and len(block_infos[block_num]) > 1: 394 def _write_block(output, block, not_prefix_set, common_prefix, prefix_pad): argument 415 if num_lines_of_prefix > 1 or any(p == common_prefix 435 args, common_prefix, prefix_pad): argument 482 common_prefix, 504 common_prefix, 551 common_prefix, prefix_pad = _get_useful_prefix_info(run_infos) [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/utils/ |
H A D | update_mca_test_checks.py | 121 def _break_down_block(block_info, common_prefix): argument 160 result.append((common_prefix, line[0])) 265 def _get_block_infos(run_infos, test_path, args, common_prefix): # noqa argument 381 if common_prefix and len(block_infos[block_num]) > 1: 394 def _write_block(output, block, not_prefix_set, common_prefix, prefix_pad): argument 415 if num_lines_of_prefix > 1 or any(p == common_prefix 435 args, common_prefix, prefix_pad): argument 482 common_prefix, 504 common_prefix, 551 common_prefix, prefix_pad = _get_useful_prefix_info(run_infos) [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/utils/ |
H A D | update_mca_test_checks.py | 121 def _break_down_block(block_info, common_prefix): argument 160 result.append((common_prefix, line[0])) 265 def _get_block_infos(run_infos, test_path, args, common_prefix): # noqa argument 381 if common_prefix and len(block_infos[block_num]) > 1: 394 def _write_block(output, block, not_prefix_set, common_prefix, prefix_pad): argument 415 if num_lines_of_prefix > 1 or any(p == common_prefix 435 args, common_prefix, prefix_pad): argument 482 common_prefix, 504 common_prefix, 551 common_prefix, prefix_pad = _get_useful_prefix_info(run_infos) [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/utils/ |
H A D | update_mca_test_checks.py | 121 def _break_down_block(block_info, common_prefix): argument 160 result.append((common_prefix, line[0])) 265 def _get_block_infos(run_infos, test_path, args, common_prefix): # noqa argument 381 if common_prefix and len(block_infos[block_num]) > 1: 394 def _write_block(output, block, not_prefix_set, common_prefix, prefix_pad): argument 415 if num_lines_of_prefix > 1 or any(p == common_prefix 435 args, common_prefix, prefix_pad): argument 482 common_prefix, 504 common_prefix, 551 common_prefix, prefix_pad = _get_useful_prefix_info(run_infos) [all …]
|
/dports/graphics/llvm-mesa/llvm-13.0.1.src/utils/ |
H A D | update_mca_test_checks.py | 121 def _break_down_block(block_info, common_prefix): argument 160 result.append((common_prefix, line[0])) 265 def _get_block_infos(run_infos, test_path, args, common_prefix): # noqa argument 381 if common_prefix and len(block_infos[block_num]) > 1: 394 def _write_block(output, block, not_prefix_set, common_prefix, prefix_pad): argument 415 if num_lines_of_prefix > 1 or any(p == common_prefix 435 args, common_prefix, prefix_pad): argument 482 common_prefix, 504 common_prefix, 551 common_prefix, prefix_pad = _get_useful_prefix_info(run_infos) [all …]
|