/dports/math/kalker/kalker-1.1.0/cargo-crates/rustyline-7.1.0/src/ |
H A D | completion.rs | 440 let mut longest_common_prefix = 0; in longest_common_prefix() localVariable 445 if b1.len() <= longest_common_prefix in longest_common_prefix() 446 || b2.len() <= longest_common_prefix in longest_common_prefix() 447 || b1[longest_common_prefix] != b2[longest_common_prefix] in longest_common_prefix() 452 longest_common_prefix += 1; in longest_common_prefix() 455 while !candidate.is_char_boundary(longest_common_prefix) { in longest_common_prefix() 456 longest_common_prefix -= 1; in longest_common_prefix() 458 if longest_common_prefix == 0 { in longest_common_prefix() 461 Some(&candidate[0..longest_common_prefix]) in longest_common_prefix() 572 pub fn longest_common_prefix() { [all …]
|
/dports/sysutils/fselect/fselect-0.7.7/cargo-crates/rustyline-9.0.0/src/ |
H A D | completion.rs | 449 let mut longest_common_prefix = 0; in longest_common_prefix() localVariable 454 if b1.len() <= longest_common_prefix in longest_common_prefix() 455 || b2.len() <= longest_common_prefix in longest_common_prefix() 456 || b1[longest_common_prefix] != b2[longest_common_prefix] in longest_common_prefix() 461 longest_common_prefix += 1; in longest_common_prefix() 464 while !candidate.is_char_boundary(longest_common_prefix) { in longest_common_prefix() 465 longest_common_prefix -= 1; in longest_common_prefix() 467 if longest_common_prefix == 0 { in longest_common_prefix() 470 Some(&candidate[0..longest_common_prefix]) in longest_common_prefix() 581 pub fn longest_common_prefix() { [all …]
|
/dports/graphics/blender/blender-2.91.0/extern/gflags/src/ |
H A D | gflags_completions.cc | 105 string *longest_common_prefix); 218 string longest_common_prefix; in PrintFlagCompletionInfo() local 224 &longest_common_prefix); in PrintFlagCompletionInfo() 226 DVLOG(1) << "Identified " << longest_common_prefix in PrintFlagCompletionInfo() 234 fprintf(stdout, "--%s", longest_common_prefix.c_str()); in PrintFlagCompletionInfo() 350 string *longest_common_prefix) { in FindMatchingFlags() argument 360 *longest_common_prefix = it->name; in FindMatchingFlags() 363 longest_common_prefix->clear(); in FindMatchingFlags() 367 while (pos < longest_common_prefix->size() && in FindMatchingFlags() 369 (*longest_common_prefix)[pos] == it->name[pos]) in FindMatchingFlags() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libwebrtc/third_party/gflags/src/ |
H A D | gflags_completions.cc | 106 string *longest_common_prefix); 219 string longest_common_prefix; in PrintFlagCompletionInfo() local 225 &longest_common_prefix); in PrintFlagCompletionInfo() 227 DVLOG(1) << "Identified " << longest_common_prefix in PrintFlagCompletionInfo() 235 fprintf(stdout, "--%s", longest_common_prefix.c_str()); in PrintFlagCompletionInfo() 351 string *longest_common_prefix) { in FindMatchingFlags() argument 361 *longest_common_prefix = it->name; in FindMatchingFlags() 364 longest_common_prefix->clear(); in FindMatchingFlags() 368 while (pos < longest_common_prefix->size() && in FindMatchingFlags() 370 (*longest_common_prefix)[pos] == it->name[pos]) in FindMatchingFlags() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/third_party/gflags/src/ |
H A D | gflags_completions.cc | 106 string *longest_common_prefix); 219 string longest_common_prefix; in PrintFlagCompletionInfo() local 225 &longest_common_prefix); in PrintFlagCompletionInfo() 227 DVLOG(1) << "Identified " << longest_common_prefix in PrintFlagCompletionInfo() 235 fprintf(stdout, "--%s", longest_common_prefix.c_str()); in PrintFlagCompletionInfo() 351 string *longest_common_prefix) { in FindMatchingFlags() argument 361 *longest_common_prefix = it->name; in FindMatchingFlags() 364 longest_common_prefix->clear(); in FindMatchingFlags() 368 while (pos < longest_common_prefix->size() && in FindMatchingFlags() 370 (*longest_common_prefix)[pos] == it->name[pos]) in FindMatchingFlags() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/libwebrtc/third_party/gflags/src/ |
H A D | gflags_completions.cc | 106 string *longest_common_prefix); 219 string longest_common_prefix; in PrintFlagCompletionInfo() local 225 &longest_common_prefix); in PrintFlagCompletionInfo() 227 DVLOG(1) << "Identified " << longest_common_prefix in PrintFlagCompletionInfo() 235 fprintf(stdout, "--%s", longest_common_prefix.c_str()); in PrintFlagCompletionInfo() 351 string *longest_common_prefix) { in FindMatchingFlags() argument 361 *longest_common_prefix = it->name; in FindMatchingFlags() 364 longest_common_prefix->clear(); in FindMatchingFlags() 368 while (pos < longest_common_prefix->size() && in FindMatchingFlags() 370 (*longest_common_prefix)[pos] == it->name[pos]) in FindMatchingFlags() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/media/webrtc/trunk/third_party/gflags/src/ |
H A D | gflags_completions.cc | 106 string *longest_common_prefix); 219 string longest_common_prefix; in PrintFlagCompletionInfo() local 225 &longest_common_prefix); in PrintFlagCompletionInfo() 227 DVLOG(1) << "Identified " << longest_common_prefix in PrintFlagCompletionInfo() 235 fprintf(stdout, "--%s", longest_common_prefix.c_str()); in PrintFlagCompletionInfo() 351 string *longest_common_prefix) { in FindMatchingFlags() argument 361 *longest_common_prefix = it->name; in FindMatchingFlags() 364 longest_common_prefix->clear(); in FindMatchingFlags() 368 while (pos < longest_common_prefix->size() && in FindMatchingFlags() 370 (*longest_common_prefix)[pos] == it->name[pos]) in FindMatchingFlags() [all …]
|
/dports/devel/gflags/gflags-2.2.2/src/ |
H A D | gflags_completions.cc | 105 string *longest_common_prefix); 223 string longest_common_prefix; in PrintFlagCompletionInfo() local 229 &longest_common_prefix); in PrintFlagCompletionInfo() 231 DVLOG(1) << "Identified " << longest_common_prefix in PrintFlagCompletionInfo() 239 fprintf(stdout, "--%s", longest_common_prefix.c_str()); in PrintFlagCompletionInfo() 355 string *longest_common_prefix) { in FindMatchingFlags() argument 365 *longest_common_prefix = it->name; in FindMatchingFlags() 368 longest_common_prefix->clear(); in FindMatchingFlags() 372 while (pos < longest_common_prefix->size() && in FindMatchingFlags() 374 (*longest_common_prefix)[pos] == it->name[pos]) in FindMatchingFlags() [all …]
|
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/stdlib/test/ |
H A D | binary_module_SUITE.erl | 207 ?MASK_ERROR(binary:longest_common_prefix( 249 _ = binary:longest_common_prefix( 264 _ = binary:longest_common_prefix( 528 2 = Module:longest_common_prefix([<<1,2,4>>,<<1,2>>]), 529 1 = Module:longest_common_prefix([<<1,2,4>>,<<1>>]), 530 0 = Module:longest_common_prefix([<<1,2,4>>,<<>>]), 533 1251 = Module:longest_common_prefix([<<0:10000,1,2,4>>, 541 1251 = Module:longest_common_prefix( 546 12501 = Module:longest_common_prefix( 561 1250001 = Module:longest_common_prefix( [all …]
|
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/stdlib/test/ |
H A D | binary_module_SUITE.erl | 207 ?MASK_ERROR(binary:longest_common_prefix( 249 _ = binary:longest_common_prefix( 264 _ = binary:longest_common_prefix( 528 2 = Module:longest_common_prefix([<<1,2,4>>,<<1,2>>]), 529 1 = Module:longest_common_prefix([<<1,2,4>>,<<1>>]), 530 0 = Module:longest_common_prefix([<<1,2,4>>,<<>>]), 533 1251 = Module:longest_common_prefix([<<0:10000,1,2,4>>, 541 1251 = Module:longest_common_prefix( 546 12501 = Module:longest_common_prefix( 561 1250001 = Module:longest_common_prefix( [all …]
|
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/stdlib/test/ |
H A D | binary_module_SUITE.erl | 207 ?MASK_ERROR(binary:longest_common_prefix( 249 _ = binary:longest_common_prefix( 264 _ = binary:longest_common_prefix( 528 2 = Module:longest_common_prefix([<<1,2,4>>,<<1,2>>]), 529 1 = Module:longest_common_prefix([<<1,2,4>>,<<1>>]), 530 0 = Module:longest_common_prefix([<<1,2,4>>,<<>>]), 533 1251 = Module:longest_common_prefix([<<0:10000,1,2,4>>, 541 1251 = Module:longest_common_prefix( 546 12501 = Module:longest_common_prefix( 561 1250001 = Module:longest_common_prefix( [all …]
|
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/stdlib/test/ |
H A D | binary_module_SUITE.erl | 207 ?MASK_ERROR(binary:longest_common_prefix( 255 _ = binary:longest_common_prefix( 270 _ = binary:longest_common_prefix( 534 2 = Module:longest_common_prefix([<<1,2,4>>,<<1,2>>]), 535 1 = Module:longest_common_prefix([<<1,2,4>>,<<1>>]), 536 0 = Module:longest_common_prefix([<<1,2,4>>,<<>>]), 547 1251 = Module:longest_common_prefix( 552 12501 = Module:longest_common_prefix( 567 1250001 = Module:longest_common_prefix( 618 0 = Module:longest_common_prefix([<<>>]), [all …]
|
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/stdlib/test/ |
H A D | binary_module_SUITE.erl | 207 ?MASK_ERROR(binary:longest_common_prefix( 255 _ = binary:longest_common_prefix( 270 _ = binary:longest_common_prefix( 534 2 = Module:longest_common_prefix([<<1,2,4>>,<<1,2>>]), 535 1 = Module:longest_common_prefix([<<1,2,4>>,<<1>>]), 536 0 = Module:longest_common_prefix([<<1,2,4>>,<<>>]), 547 1251 = Module:longest_common_prefix( 552 12501 = Module:longest_common_prefix( 567 1250001 = Module:longest_common_prefix( 618 0 = Module:longest_common_prefix([<<>>]), [all …]
|
/dports/lang/erlang/otp-OTP-24.1.7/lib/stdlib/test/ |
H A D | binary_module_SUITE.erl | 207 ?MASK_ERROR(binary:longest_common_prefix( 255 _ = binary:longest_common_prefix( 270 _ = binary:longest_common_prefix( 534 2 = Module:longest_common_prefix([<<1,2,4>>,<<1,2>>]), 535 1 = Module:longest_common_prefix([<<1,2,4>>,<<1>>]), 536 0 = Module:longest_common_prefix([<<1,2,4>>,<<>>]), 547 1251 = Module:longest_common_prefix( 552 12501 = Module:longest_common_prefix( 567 1250001 = Module:longest_common_prefix( 618 0 = Module:longest_common_prefix([<<>>]), [all …]
|
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/stdlib/test/ |
H A D | binary_module_SUITE.erl | 207 ?MASK_ERROR(binary:longest_common_prefix( 255 _ = binary:longest_common_prefix( 270 _ = binary:longest_common_prefix( 534 2 = Module:longest_common_prefix([<<1,2,4>>,<<1,2>>]), 535 1 = Module:longest_common_prefix([<<1,2,4>>,<<1>>]), 536 0 = Module:longest_common_prefix([<<1,2,4>>,<<>>]), 547 1251 = Module:longest_common_prefix( 552 12501 = Module:longest_common_prefix( 567 1250001 = Module:longest_common_prefix( 618 0 = Module:longest_common_prefix([<<>>]), [all …]
|
/dports/devel/fatal/fatal-2021.12.27.00/fatal/type/ |
H A D | longest_common_prefix.h | 25 using longest_common_prefix = typename impl_lcp::s< variable
|
/dports/dns/encrypted-dns-server/encrypted-dns-server-0.9.1/cargo-crates/libflate_lz77-1.1.0/src/ |
H A D | default.rs | 86 let length = 3 + longest_common_prefix( in flush() 126 fn longest_common_prefix(buf: &[u8], i: usize, j: usize, max: usize) -> u16 { in longest_common_prefix() function
|
/dports/editors/kak-lsp/kak-lsp-11.1.0/cargo-crates/libflate_lz77-1.1.0/src/ |
H A D | default.rs | 86 let length = 3 + longest_common_prefix( in flush() 126 fn longest_common_prefix(buf: &[u8], i: usize, j: usize, max: usize) -> u16 { in longest_common_prefix() function
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/libflate-0.1.27/src/lz77/ |
H A D | default.rs | 83 let length = 3 + longest_common_prefix(&self.buf, i + 3, j + 3); in flush() 118 fn longest_common_prefix(buf: &[u8], i: usize, j: usize) -> u16 { in longest_common_prefix() function
|
/dports/net/krill/krill-0.9.4/cargo-crates/libflate_lz77-1.1.0/src/ |
H A D | default.rs | 86 let length = 3 + longest_common_prefix( in flush() 126 fn longest_common_prefix(buf: &[u8], i: usize, j: usize, max: usize) -> u16 { in longest_common_prefix() function
|
/dports/benchmarks/inferno/inferno-0.10.9/cargo-crates/libflate_lz77-1.1.0/src/ |
H A D | default.rs | 86 let length = 3 + longest_common_prefix( in flush() 126 fn longest_common_prefix(buf: &[u8], i: usize, j: usize, max: usize) -> u16 { in longest_common_prefix() function
|
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/libflate_lz77-1.1.0/src/ |
H A D | default.rs | 86 let length = 3 + longest_common_prefix( in flush() 126 fn longest_common_prefix(buf: &[u8], i: usize, j: usize, max: usize) -> u16 { in longest_common_prefix() function
|
/dports/editors/helix/helix-0.5.0/cargo-crates/grep-regex-0.1.9/src/ |
H A D | literal.rs | 72 let pre_lcp = self.prefixes.longest_common_prefix(); in one_regex() 74 let suf_lcp = self.suffixes.longest_common_prefix(); in one_regex() 312 let lcp = lits2.longest_common_prefix(); in alternate_literals()
|
/dports/textproc/ripgrep/ripgrep-13.0.0/cargo-crates/grep-regex-0.1.9/src/ |
H A D | literal.rs | 72 let pre_lcp = self.prefixes.longest_common_prefix(); in one_regex() 74 let suf_lcp = self.suffixes.longest_common_prefix(); in one_regex() 312 let lcp = lits2.longest_common_prefix(); in alternate_literals()
|
/dports/textproc/ripgrep/ripgrep-13.0.0/crates/regex/src/ |
H A D | literal.rs | 72 let pre_lcp = self.prefixes.longest_common_prefix(); in one_regex() 74 let suf_lcp = self.suffixes.longest_common_prefix(); in one_regex() 312 let lcp = lits2.longest_common_prefix(); in alternate_literals()
|