/dports/misc/lf/lf-r26/ |
H A D | complete.go | 181 if longest != "" { 182 longest = matchLongest(longest, w) 184 longest = w + " " 188 if longest == "" { 189 longest = s 295 longest = matchLongest(longest, name) 305 if longest == "" { 306 longest = s 316 var longest string 383 longest = matchLongest(longest, f.Name()) [all …]
|
/dports/devel/p5-Test-LongString/Test-LongString-0.17/t/ |
H A D | 06lcss.t | 10 my $longest = substr('xyzzx', $off, $len); 11 is ( $longest, "xyz", "xyzzx vs abcxyzefg" ); 14 $longest = substr("abcxyzzx", $off, $len); 18 $longest = substr("foobar", $off, $len); 25 $longest = substr($needle, $off, $len); 29 $longest = substr($haystack, $off, $len); 34 $longest = substr($needle, $off, $len); 38 $longest = substr("ABBAGGG", $off, $len); 46 $longest = substr("b", $off, $len); 47 is($longest, 'b', 'bug in LCSS'); [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/devtools-frontend/src/node_modules/longest-streak/ |
H A D | readme.md | 1 # longest-streak 8 Count the longest repeating streak of a character. 15 npm install longest-streak 21 var longestStreak = require('longest-streak') 30 Get the count of the longest repeating streak of `character` in `value`. 40 its longest streak in `value`. 54 [build]: https://travis-ci.org/wooorm/longest-streak 58 [coverage]: https://codecov.io/github/wooorm/longest-streak 60 [downloads-badge]: https://img.shields.io/npm/dm/longest-streak.svg 62 [downloads]: https://www.npmjs.com/package/longest-streak [all …]
|
/dports/textproc/kibana7/kibana-7.16.2-darwin-x86_64/node_modules/longest-streak/ |
H A D | readme.md | 1 # longest-streak 8 Count the longest repeating streak of a character. 15 npm install longest-streak 21 var longestStreak = require('longest-streak') 30 Get the count of the longest repeating streak of `character` in `value`. 40 its longest streak in `value`. 54 [build]: https://travis-ci.org/wooorm/longest-streak 58 [coverage]: https://codecov.io/github/wooorm/longest-streak 60 [downloads-badge]: https://img.shields.io/npm/dm/longest-streak.svg 62 [downloads]: https://www.npmjs.com/package/longest-streak [all …]
|
/dports/textproc/uncrustify/uncrustify-uncrustify-0.74.0/src/ |
H A D | align_oc_msg_colons.cpp | 96 chunk_t *longest = nullptr; in align_oc_msg_colon() local 114 longest = tmp; in align_oc_msg_colon() 136 if ( longest != nullptr in align_oc_msg_colon() 139 && ( (longest->column >= len_diff) in align_oc_msg_colon() 140 && (longest->column - len_diff) > (longest->brace_level * indent_size))) in align_oc_msg_colon() 142 longest->column -= len_diff; in align_oc_msg_colon() 144 else if ( longest != nullptr in align_oc_msg_colon() 151 chunk.orig_line = longest->orig_line; in align_oc_msg_colon() 152 chunk.orig_col = longest->orig_col; in align_oc_msg_colon() 153 chunk.level = longest->level; in align_oc_msg_colon() [all …]
|
/dports/textproc/p5-String-LCSS/String-LCSS-0.12/t/ |
H A D | 01strings.t | 13 my $longest = String::LCSS::lcss ( "xyzzx", "abcxyzefg" ); 14 is ( $longest, "xyz", "xyzzx vs abcxyzefg" ); 16 $longest = String::LCSS::lcss ( "abcxyzzx", "abcxyzefg" ); 17 is ( $longest, "abcxyz", "abcxyzzx vs abcxyzefg" ); 19 $longest = String::LCSS::lcss ( "foobar", "abcxyzefg" ); 20 is ( $longest, undef, "foobar vs abcxyzefg" ); 25 $longest = String::LCSS::lcss ( $needle, $haystack ); 26 is ( $longest, "the quick brown fox ", "the quick brown fox" ); 28 $longest = String::LCSS::lcss ( $haystack, $needle ); 32 $longest = String::LCSS::lcss ( $needle, $haystack ); [all …]
|
/dports/lang/jimtcl/jimtcl-0.81/tests/ |
H A D | prefix.test | 116 tcl::prefix longest a 119 tcl::prefix longest a b c 124 test string-28.4 {tcl::prefix longest} { 127 test string-28.5 {tcl::prefix longest} { 130 test string-28.6 {tcl::prefix longest} { 133 test string-28.7 {tcl::prefix longest} { 134 tcl::prefix longest {apa aska appa} a 136 test string-28.8 {tcl::prefix longest} { 139 test string-28.9 {tcl::prefix longest} { 140 tcl::prefix longest {apa bska appa} a [all …]
|
/dports/devel/openocd/openocd-0.11.0/jimtcl/tests/ |
H A D | prefix.test | 116 tcl::prefix longest a 119 tcl::prefix longest a b c 124 test string-28.4 {tcl::prefix longest} { 127 test string-28.5 {tcl::prefix longest} { 130 test string-28.6 {tcl::prefix longest} { 133 test string-28.7 {tcl::prefix longest} { 134 tcl::prefix longest {apa aska appa} a 136 test string-28.8 {tcl::prefix longest} { 139 test string-28.9 {tcl::prefix longest} { 140 tcl::prefix longest {apa bska appa} a [all …]
|
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/cargo-crates/line_drawing-0.7.0/src/ |
H A D | bresenham_3d.rs | 37 longest: T, field 53 let longest = max(len_x, max(len_y, len_z)); in new() localVariable 59 longest, in new() 60 count: longest, in new() 61 err_x: longest / T::cast(2), in new() 62 err_y: longest / T::cast(2), in new() 63 err_z: longest / T::cast(2), in new() 91 self.err_x += self.longest; in next() 96 self.err_y += self.longest; in next() 101 self.err_z += self.longest; in next()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/line_drawing-0.7.0/src/ |
H A D | bresenham_3d.rs | 37 longest: T, field 53 let longest = max(len_x, max(len_y, len_z)); in new() localVariable 59 longest, in new() 60 count: longest, in new() 61 err_x: longest / T::cast(2), in new() 62 err_y: longest / T::cast(2), in new() 63 err_z: longest / T::cast(2), in new() 91 self.err_x += self.longest; in next() 96 self.err_y += self.longest; in next() 101 self.err_z += self.longest; in next()
|
/dports/games/dose-response/dose-response-179c326/cargo-crates/line_drawing-0.7.0/src/ |
H A D | bresenham_3d.rs | 37 longest: T, field 53 let longest = max(len_x, max(len_y, len_z)); in new() localVariable 59 longest, in new() 60 count: longest, in new() 61 err_x: longest / T::cast(2), in new() 62 err_y: longest / T::cast(2), in new() 63 err_z: longest / T::cast(2), in new() 91 self.err_x += self.longest; in next() 96 self.err_y += self.longest; in next() 101 self.err_z += self.longest; in next()
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/clap-3.0.14/src/output/ |
H A D | help.rs | 159 let mut longest = 2; in write_args_unsorted() localVariable 167 longest = longest.max(display_width(arg.to_string().as_str())); in write_args_unsorted() 197 longest = longest.max(display_width(arg.to_string().as_str())); in write_args() 239 longest: usize, in write_arg() 321 longest: usize, in align_to_about() 391 longest: usize, in help() 400 longest + 12 in help() 445 longest: usize, in write_arg_inner() 463 longest, in write_arg_inner() 660 longest: usize, in write_subcommand() [all …]
|
/dports/converters/yj-bruceadams/yj-1.1.34/cargo-crates/clap-3.0.0-beta.5/src/output/ |
H A D | help.rs | 172 let mut longest = 2; in write_args_unsorted() localVariable 180 longest = longest.max(display_width(arg.to_string().as_str())); in write_args_unsorted() 198 let mut longest = 2; in write_args() localVariable 210 longest = longest.max(display_width(arg.to_string().as_str())); in write_args() 257 longest: usize, in write_arg() 399 longest: usize, in help() 408 longest + 12 in help() 453 longest: usize, in write_arg_inner() 470 longest, in write_arg_inner() 671 longest: usize, in write_subcommand() [all …]
|
/dports/www/firefox/firefox-99.0/third_party/rust/clap/src/output/ |
H A D | help.rs | 155 let mut longest = 2; in write_args_unsorted() localVariable 163 longest = longest.max(display_width(arg.to_string().as_str())); in write_args_unsorted() 181 let mut longest = 2; in write_args() localVariable 193 longest = longest.max(display_width(arg.to_string().as_str())); in write_args() 242 longest: usize, in write_arg() 384 longest: usize, in help() 393 longest + 12 in help() 438 longest: usize, in write_arg_inner() 455 longest, in write_arg_inner() 652 longest: usize, in write_subcommand() [all …]
|
/dports/x11/swayr/swayr-v0.11.2/cargo-crates/clap-3.0.0-rc.5/src/output/ |
H A D | help.rs | 155 let mut longest = 2; in write_args_unsorted() localVariable 163 longest = longest.max(display_width(arg.to_string().as_str())); in write_args_unsorted() 181 let mut longest = 2; in write_args() localVariable 193 longest = longest.max(display_width(arg.to_string().as_str())); in write_args() 242 longest: usize, in write_arg() 384 longest: usize, in help() 393 longest + 12 in help() 438 longest: usize, in write_arg_inner() 455 longest, in write_arg_inner() 656 longest: usize, in write_subcommand() [all …]
|
/dports/textproc/jql/jql-3.0.6/cargo-crates/clap-3.0.0-rc.7/src/output/ |
H A D | help.rs | 155 let mut longest = 2; in write_args_unsorted() localVariable 163 longest = longest.max(display_width(arg.to_string().as_str())); in write_args_unsorted() 181 let mut longest = 2; in write_args() localVariable 193 longest = longest.max(display_width(arg.to_string().as_str())); in write_args() 242 longest: usize, in write_arg() 384 longest: usize, in help() 393 longest + 12 in help() 438 longest: usize, in write_arg_inner() 455 longest, in write_arg_inner() 656 longest: usize, in write_subcommand() [all …]
|
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/clap-3.0.0-beta.5/src/output/ |
H A D | help.rs | 172 let mut longest = 2; in write_args_unsorted() localVariable 180 longest = longest.max(display_width(arg.to_string().as_str())); in write_args_unsorted() 198 let mut longest = 2; in write_args() localVariable 210 longest = longest.max(display_width(arg.to_string().as_str())); in write_args() 257 longest: usize, in write_arg() 399 longest: usize, in help() 408 longest + 12 in help() 453 longest: usize, in write_arg_inner() 470 longest, in write_arg_inner() 671 longest: usize, in write_subcommand() [all …]
|
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/clap-3.0.0-beta.5/src/output/ |
H A D | help.rs | 172 let mut longest = 2; in write_args_unsorted() localVariable 180 longest = longest.max(display_width(arg.to_string().as_str())); in write_args_unsorted() 198 let mut longest = 2; in write_args() localVariable 210 longest = longest.max(display_width(arg.to_string().as_str())); in write_args() 257 longest: usize, in write_arg() 399 longest: usize, in help() 408 longest + 12 in help() 453 longest: usize, in write_arg_inner() 470 longest, in write_arg_inner() 671 longest: usize, in write_subcommand() [all …]
|
/dports/sysutils/dua-cli/dua-cli-2.14.11/cargo-crates/clap-3.0.0-beta.5/src/output/ |
H A D | help.rs | 172 let mut longest = 2; in write_args_unsorted() localVariable 180 longest = longest.max(display_width(arg.to_string().as_str())); in write_args_unsorted() 198 let mut longest = 2; in write_args() localVariable 210 longest = longest.max(display_width(arg.to_string().as_str())); in write_args() 257 longest: usize, in write_arg() 399 longest: usize, in help() 408 longest + 12 in help() 453 longest: usize, in write_arg_inner() 470 longest, in write_arg_inner() 671 longest: usize, in write_subcommand() [all …]
|
/dports/devel/R-cran-data.table/data.table/src/ |
H A D | between.c | 8 const int longest = MAX(MAX(nx, nl), nu); in between() local 9 if ((nl!=1 && nl!=longest) || in between() 10 (nu!=1 && nu!=longest) || in between() 11 (nx!=1 && nx!=longest)) { in between() 68 for (int i=0; i<longest; ++i) { in between() 75 for (int i=0; i<longest; ++i) { in between() 99 for (int i=0; i<longest; ++i) { in between() 105 for (int i=0; i<longest; ++i) { in between() 127 for (int i=0; i<longest; ++i) { in between() 175 for (int i=0; i<longest; ++i) { in between() [all …]
|
/dports/sysutils/kubectl/kubernetes-1.22.2/vendor/sigs.k8s.io/kustomize/api/internal/utils/ |
H A D | stringslice.go | 30 func SameEndingSubSlice(shortest, longest []string) bool { 31 if len(shortest) > len(longest) { 32 longest, shortest = shortest, longest 34 diff := len(longest) - len(shortest) 39 if longest[i+diff] != shortest[i] {
|
/dports/ports-mgmt/dialog4ports-static/dialog-1.1-20120706/ |
H A D | buttons.c | 40 if (len < longest) { in center_label() 167 int *longest, in dlg_button_sizes() argument 173 *longest = 0; in dlg_button_sizes() 177 *longest = 1; in dlg_button_sizes() 180 if (len > *longest) in dlg_button_sizes() 181 *longest = len; in dlg_button_sizes() 189 if (*longest < 6 - (*longest & 1)) in dlg_button_sizes() 190 *longest = 6 - (*longest & 1); in dlg_button_sizes() 192 *length = *longest * n; in dlg_button_sizes() 202 int longest; in dlg_button_x_step() local [all …]
|
/dports/devel/radare2/radare2-5.1.1/libr/search/ |
H A D | search.c | 144 int longest = 0, i, j; in r_search_deltakey_update() local 149 longest = R_MAX (longest, kw->keyword_length + 1); in r_search_deltakey_update() 151 if (!longest) { in r_search_deltakey_update() 241 if (len1 < longest) { in r_search_deltakey_update() 245 memmove (left->data, left->data + len1 - longest + 1, longest - 1); in r_search_deltakey_update() 249 memcpy (left->data, buf + len - longest + 1, longest - 1); in r_search_deltakey_update() 363 int longest = 0, i; in r_search_mybinparse_update() local 367 longest = R_MAX (longest, kw->keyword_length); in r_search_mybinparse_update() 369 if (!longest) { in r_search_mybinparse_update() 440 memmove (left->data, left->data + len1 - longest + 1, longest - 1); in r_search_mybinparse_update() [all …]
|
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libcmd/ |
H A D | wclib.c | 171 register Sfoff_t longest = 0; in wc_count() local 184 wp->longest = 0; in wc_count() 205 if ((nchars - longest) > wp->longest) in wc_count() 206 wp->longest = nchars - longest; in wc_count() 237 if ((nchars - longest) > wp->longest) in wc_count() 238 wp->longest = nchars - longest; in wc_count() 239 longest = nchars + 1; in wc_count() 389 if((cp-start)-adjust > longest) in wc_count() 390 longest = (cp-start)-adjust-1; in wc_count() 489 longest = (endbuff + 1 - start) - adjust - (lastchar == '\n'); in wc_count() [all …]
|
/dports/shells/ksh93/ast-93u/src/lib/libcmd/ |
H A D | wclib.c | 171 register Sfoff_t longest = 0; in wc_count() local 184 wp->longest = 0; in wc_count() 205 if ((nchars - longest) > wp->longest) in wc_count() 206 wp->longest = nchars - longest; in wc_count() 237 if ((nchars - longest) > wp->longest) in wc_count() 238 wp->longest = nchars - longest; in wc_count() 239 longest = nchars + 1; in wc_count() 389 if((cp-start)-adjust > longest) in wc_count() 390 longest = (cp-start)-adjust-1; in wc_count() 489 longest = (endbuff + 1 - start) - adjust - (lastchar == '\n'); in wc_count() [all …]
|