/dports/misc/broot/broot-1.7.0/cargo-crates/deser-hjson-1.0.2/tests/ |
H A D | guess.rs | 10 enum Guess { enum 27 fn string(s: &str) -> Guess { in string() argument 28 Guess::String(Some(s.to_owned())) in string() 39 gift: Guess, 59 guess("-45", Guess::I8(-45)); in test_guess_type() 60 guess("45", Guess::U8(45)); in test_guess_type() 61 guess("453", Guess::U16(453)); in test_guess_type() 70 guess("a", Guess::Char('a')); in test_guess_type() 106 Guess::StrArray(vo![ in test_wrapped_guess() 116 Guess::U8(55), in test_wrapped_guess() [all …]
|
/dports/mail/phplist/phplist-3.6.6/public_html/lists/base/vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Validator/ |
H A D | ValidatorTypeGuesser.php | 15 use Symfony\Component\Form\Guess\Guess; alias 16 use Symfony\Component\Form\Guess\TypeGuess; 17 use Symfony\Component\Form\Guess\ValueGuess; 172 return new ValueGuess(true, Guess::HIGH_CONFIDENCE); 188 return new ValueGuess($constraint->max, Guess::HIGH_CONFIDENCE); 194 return new ValueGuess(null, Guess::MEDIUM_CONFIDENCE); 226 return new ValueGuess($htmlPattern, Guess::HIGH_CONFIDENCE); 238 return new ValueGuess(null, Guess::MEDIUM_CONFIDENCE); 257 * @return Guess|null The guessed value with the highest confidence 275 $guesses[] = new ValueGuess($defaultValue, Guess::LOW_CONFIDENCE); [all …]
|
/dports/finance/prestashop/prestashop/vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Validator/ |
H A D | ValidatorTypeGuesser.php | 15 use Symfony\Component\Form\Guess\Guess; alias 16 use Symfony\Component\Form\Guess\TypeGuess; 17 use Symfony\Component\Form\Guess\ValueGuess; 172 return new ValueGuess(true, Guess::HIGH_CONFIDENCE); 188 return new ValueGuess($constraint->max, Guess::HIGH_CONFIDENCE); 194 return new ValueGuess(null, Guess::MEDIUM_CONFIDENCE); 226 return new ValueGuess($htmlPattern, Guess::HIGH_CONFIDENCE); 238 return new ValueGuess(null, Guess::MEDIUM_CONFIDENCE); 257 * @return Guess|null The guessed value with the highest confidence 275 $guesses[] = new ValueGuess($defaultValue, Guess::LOW_CONFIDENCE); [all …]
|
/dports/www/bolt/bolt-2.2.24/vendor/symfony/form/Symfony/Component/Form/Extension/Validator/ |
H A D | ValidatorTypeGuesser.php | 15 use Symfony\Component\Form\Guess\Guess; alias 16 use Symfony\Component\Form\Guess\TypeGuess; 17 use Symfony\Component\Form\Guess\ValueGuess; 132 return new TypeGuess('file', array(), Guess::HIGH_CONFIDENCE); 144 return new TypeGuess('url', array(), Guess::HIGH_CONFIDENCE); 151 return new TypeGuess('text', array(), Guess::LOW_CONFIDENCE); 181 return new ValueGuess(true, Guess::HIGH_CONFIDENCE); 203 return new ValueGuess(null, Guess::MEDIUM_CONFIDENCE); 247 return new ValueGuess(null, Guess::MEDIUM_CONFIDENCE); 264 * @return Guess|null The guessed value with the highest confidence [all …]
|
/dports/mail/phplist/phplist-3.6.6/public_html/lists/base/vendor/symfony/symfony/src/Symfony/Component/Form/Tests/Extension/Validator/ |
H A D | ValidatorTypeGuesserTest.php | 22 use Symfony\Component\Form\Guess\Guess; alias 23 use Symfony\Component\Form\Guess\TypeGuess; 24 use Symfony\Component\Form\Guess\ValueGuess; 89 [new Type('real'), new TypeGuess(NumberType::class, [], Guess::MEDIUM_CONFIDENCE)], 93 [new Type('string'), new TypeGuess(TextType::class, [], Guess::LOW_CONFIDENCE)], 102 [new NotNull(), new ValueGuess(true, Guess::HIGH_CONFIDENCE)], 103 [new NotBlank(), new ValueGuess(true, Guess::HIGH_CONFIDENCE)], 104 [new IsTrue(), new ValueGuess(true, Guess::HIGH_CONFIDENCE)], 105 [new Length(10), new ValueGuess(false, Guess::LOW_CONFIDENCE)], 136 $this->assertEquals(Guess::HIGH_CONFIDENCE, $result->getConfidence()); [all …]
|
/dports/finance/prestashop/prestashop/vendor/symfony/symfony/src/Symfony/Component/Form/Tests/Extension/Validator/ |
H A D | ValidatorTypeGuesserTest.php | 22 use Symfony\Component\Form\Guess\Guess; alias 23 use Symfony\Component\Form\Guess\TypeGuess; 24 use Symfony\Component\Form\Guess\ValueGuess; 89 [new Type('real'), new TypeGuess(NumberType::class, [], Guess::MEDIUM_CONFIDENCE)], 93 [new Type('string'), new TypeGuess(TextType::class, [], Guess::LOW_CONFIDENCE)], 102 [new NotNull(), new ValueGuess(true, Guess::HIGH_CONFIDENCE)], 103 [new NotBlank(), new ValueGuess(true, Guess::HIGH_CONFIDENCE)], 104 [new IsTrue(), new ValueGuess(true, Guess::HIGH_CONFIDENCE)], 105 [new Length(10), new ValueGuess(false, Guess::LOW_CONFIDENCE)], 136 $this->assertEquals(Guess::HIGH_CONFIDENCE, $result->getConfidence()); [all …]
|
/dports/mail/phplist/phplist-3.6.6/public_html/lists/base/vendor/symfony/symfony/src/Symfony/Bridge/Doctrine/Form/ |
H A D | DoctrineOrmTypeGuesser.php | 24 use Symfony\Component\Form\Guess\Guess; alias 25 use Symfony\Component\Form\Guess\TypeGuess; 26 use Symfony\Component\Form\Guess\ValueGuess; 54 …return new TypeGuess('Symfony\Component\Form\Extension\Core\Type\TextType', [], Guess::LOW_CONFIDE… 119 return new ValueGuess(true, Guess::HIGH_CONFIDENCE); 122 return new ValueGuess(false, Guess::MEDIUM_CONFIDENCE); 133 return new ValueGuess(false, Guess::HIGH_CONFIDENCE); 136 return new ValueGuess(!$mapping['joinColumns'][0]['nullable'], Guess::HIGH_CONFIDENCE); 152 return new ValueGuess($mapping['length'], Guess::HIGH_CONFIDENCE); 156 return new ValueGuess(null, Guess::MEDIUM_CONFIDENCE); [all …]
|
/dports/finance/prestashop/prestashop/vendor/symfony/symfony/src/Symfony/Bridge/Doctrine/Form/ |
H A D | DoctrineOrmTypeGuesser.php | 24 use Symfony\Component\Form\Guess\Guess; alias 25 use Symfony\Component\Form\Guess\TypeGuess; 26 use Symfony\Component\Form\Guess\ValueGuess; 54 …return new TypeGuess('Symfony\Component\Form\Extension\Core\Type\TextType', [], Guess::LOW_CONFIDE… 119 return new ValueGuess(true, Guess::HIGH_CONFIDENCE); 122 return new ValueGuess(false, Guess::MEDIUM_CONFIDENCE); 133 return new ValueGuess(false, Guess::HIGH_CONFIDENCE); 136 return new ValueGuess(!$mapping['joinColumns'][0]['nullable'], Guess::HIGH_CONFIDENCE); 152 return new ValueGuess($mapping['length'], Guess::HIGH_CONFIDENCE); 156 return new ValueGuess(null, Guess::MEDIUM_CONFIDENCE); [all …]
|
/dports/databases/fastdb/fastdb/examples/ |
H A D | guess_std.cpp | 20 class Guess { class 22 dbReference<Guess> yes; 23 dbReference<Guess> no; 29 REGISTER(Guess); 67 dbReference<Guess> whoIsIt(dbReference<Guess> const& parent) { in whoIsIt() 71 Guess node; in whoIsIt() 73 dbReference<Guess> child = insert(node); in whoIsIt() 81 dbReference<Guess> dialog(dbCursor<Guess>& cur) { in dialog() 83 dbCursor<Guess> c(dbCursorForUpdate); in dialog() 92 dbReference<Guess> clarify = dialog(c); in dialog() [all …]
|
H A D | guess2.cpp | 20 class Guess { class 22 dbReference<Guess> yes; 23 dbReference<Guess> no; 29 REGISTER_UNASSIGNED(Guess); 53 dbReference<Guess> whoIsIt(dbReference<Guess> const& parent) { in whoIsIt() 58 Guess node; in whoIsIt() 60 dbReference<Guess> child = db->insert(node); in whoIsIt() 68 dbReference<Guess> dialog(dbCursor<Guess>& cur) { in dialog() 70 dbCursor<Guess> c(db, dbCursorForUpdate); in dialog() 77 dbReference<Guess> clarify = dialog(c); in dialog() [all …]
|
H A D | guess.cpp | 19 class Guess { class 21 dbReference<Guess> yes; 22 dbReference<Guess> no; 28 REGISTER(Guess); 51 dbReference<Guess> whoIsIt(dbReference<Guess> const& parent) { in whoIsIt() 56 Guess node; in whoIsIt() 58 dbReference<Guess> child = insert(node); in whoIsIt() 66 dbReference<Guess> dialog(dbCursor<Guess>& cur) { in dialog() 68 dbCursor<Guess> c(dbCursorForUpdate); in dialog() 75 dbReference<Guess> clarify = dialog(c); in dialog() [all …]
|
/dports/databases/gigabase/gigabase/ |
H A D | guess_std.cpp | 21 class Guess { class 23 dbReference<Guess> yes; 24 dbReference<Guess> no; 30 REGISTER(Guess); 68 dbReference<Guess> whoIsIt(dbReference<Guess> const& parent) { in whoIsIt() 72 Guess node; in whoIsIt() 74 dbReference<Guess> child = insert(node); in whoIsIt() 82 dbReference<Guess> dialog(dbCursor<Guess>& cur) { in dialog() 84 dbCursor<Guess> c(dbCursorForUpdate); in dialog() 93 dbReference<Guess> clarify = dialog(c); in dialog() [all …]
|
H A D | guess2.cpp | 20 class Guess { class 22 dbReference<Guess> yes; 23 dbReference<Guess> no; 29 REGISTER_UNASSIGNED(Guess); 53 dbReference<Guess> whoIsIt(dbReference<Guess> const& parent) { in whoIsIt() 58 Guess node; in whoIsIt() 60 dbReference<Guess> child = db->insert(node); in whoIsIt() 68 dbReference<Guess> dialog(dbCursor<Guess>& cur) { in dialog() 70 dbCursor<Guess> c(db, dbCursorForUpdate); in dialog() 77 dbReference<Guess> clarify = dialog(c); in dialog() [all …]
|
H A D | guess.cpp | 21 class Guess { class 23 dbReference<Guess> yes; 24 dbReference<Guess> no; 30 REGISTER(Guess); 54 dbReference<Guess> whoIsIt(dbReference<Guess> const& parent) { in whoIsIt() 59 Guess node; in whoIsIt() 61 dbReference<Guess> child = insert(node); in whoIsIt() 69 dbReference<Guess> dialog(dbCursor<Guess>& cur) { in dialog() 71 dbCursor<Guess> c(dbCursorForUpdate); in dialog() 78 dbReference<Guess> clarify = dialog(c); in dialog() [all …]
|
/dports/textproc/gitlab-elasticsearch-indexer/gitlab-elasticsearch-indexer-ef1440548effec15831eda2d246dacc43233cefb/vendor/github.com/go-enry/go-enry/v2/java/src/main/java/tech/sourced/enry/ |
H A D | Enry.java | 8 public static final Guess unknownLanguage = new Guess("", false); 41 return new Guess(toJavaString(res.r0), toJavaBool(res.r1)); in getLanguageByContent() 54 return new Guess(toJavaString(res.r0), toJavaBool(res.r1)); in getLanguageByEmacsModeline() 65 public static synchronized Guess getLanguageByExtension(String filename) { in getLanguageByExtension() 67 return new Guess(toJavaString(res.r0), toJavaBool(res.r1)); in getLanguageByExtension() 78 public static synchronized Guess getLanguageByShebang(byte[] content) { in getLanguageByShebang() 80 return new Guess(toJavaString(res.r0), toJavaBool(res.r1)); in getLanguageByShebang() 93 return new Guess(toJavaString(res.r0), toJavaBool(res.r1)); in getLanguageByFilename() 104 public static synchronized Guess getLanguageByModeline(byte[] content) { in getLanguageByModeline() 106 return new Guess(toJavaString(res.r0), toJavaBool(res.r1)); in getLanguageByModeline() [all …]
|
/dports/textproc/gitlab-elasticsearch-indexer/gitlab-elasticsearch-indexer-ef1440548effec15831eda2d246dacc43233cefb/vendor/github.com/go-enry/go-enry/v2/python/enry/ |
H A D | definitions.py | 7 from enry.types import Guess 12 GetLanguageByExtension = transform_types([str], Guess)(lib.GetLanguageByExtension) 13 GetLanguageByFilename = transform_types([str], Guess)(lib.GetLanguageByFilename) 15 GetLanguageByShebang = transform_types([bytes], Guess)(lib.GetLanguageByShebang) 45 def get_language_by_content(filename: str, content: bytes) -> Guess: 58 def get_language_by_extension(filename: str) -> Guess: 70 def get_language_by_filename(filename: str) -> Guess: 82 def get_language_by_modeline(content: bytes) -> Guess: 94 def get_language_by_vim_modeline(content: bytes) -> Guess: 106 def get_language_by_emacs_modeline(content: bytes) -> Guess: [all …]
|
/dports/textproc/p5-Text-Language-Guess/Text-Language-Guess-0.02/t/ |
H A D | 001Basic.t | 2 # Test suite for Text::Language::Guess 10 BEGIN { use_ok('Text::Language::Guess') }; 18 my $guesser = Text::Language::Guess->new(); 19 is($guesser->language_guess("$canned/de.txt"), 'de', "Guess German"); 25 my $data = Text::Language::Guess::slurp("$canned/de.txt"); 26 is($guesser->language_guess_string($data), 'de', "Guess German"); 28 $data = Text::Language::Guess::slurp("$canned/en.txt"); 29 is($guesser->language_guess_string($data), 'en', "Guess English"); 41 $data = Text::Language::Guess::slurp("$canned/de.txt"); 45 $data = Text::Language::Guess::slurp("$canned/en.txt"); [all …]
|
/dports/mail/phplist/phplist-3.6.6/public_html/lists/base/vendor/symfony/symfony/src/Symfony/Component/Form/Tests/Guess/ |
H A D | GuessTest.php | 12 namespace Symfony\Component\Form\Tests\Guess; 15 use Symfony\Component\Form\Guess\Guess; alias 17 class TestGuess extends Guess 25 $guess1 = new TestGuess(Guess::MEDIUM_CONFIDENCE); 26 $guess2 = new TestGuess(Guess::LOW_CONFIDENCE); 27 $guess3 = new TestGuess(Guess::HIGH_CONFIDENCE); 29 $this->assertSame($guess3, Guess::getBestGuess([$guess1, $guess2, $guess3]));
|
/dports/finance/prestashop/prestashop/vendor/symfony/symfony/src/Symfony/Component/Form/Tests/Guess/ |
H A D | GuessTest.php | 12 namespace Symfony\Component\Form\Tests\Guess; 15 use Symfony\Component\Form\Guess\Guess; alias 17 class TestGuess extends Guess 25 $guess1 = new TestGuess(Guess::MEDIUM_CONFIDENCE); 26 $guess2 = new TestGuess(Guess::LOW_CONFIDENCE); 27 $guess3 = new TestGuess(Guess::HIGH_CONFIDENCE); 29 $this->assertSame($guess3, Guess::getBestGuess([$guess1, $guess2, $guess3]));
|
/dports/astro/celestia-gtk/celestia-1.6.1/data/ |
H A D | numberedmoons.ssc | 44 RotationPeriod 10 # Guess 67 RotationPeriod 10 # Guess 90 RotationPeriod 10 # Guess 113 RotationPeriod 10 # Guess 136 RotationPeriod 10 # Guess 159 RotationPeriod 10 # Guess 182 RotationPeriod 10 # Guess 205 RotationPeriod 10 # Guess 228 RotationPeriod 10 # Guess 251 RotationPeriod 10 # Guess [all …]
|
/dports/astro/celestia/celestia-1.6.1/data/ |
H A D | numberedmoons.ssc | 44 RotationPeriod 10 # Guess 67 RotationPeriod 10 # Guess 90 RotationPeriod 10 # Guess 113 RotationPeriod 10 # Guess 136 RotationPeriod 10 # Guess 159 RotationPeriod 10 # Guess 182 RotationPeriod 10 # Guess 205 RotationPeriod 10 # Guess 228 RotationPeriod 10 # Guess 251 RotationPeriod 10 # Guess [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/lingucomponent/source/languageguessing/ |
H A D | simpleguesser.cxx | 113 vector<Guess> SimpleGuesser::GuessLanguage(const char* text) in GuessLanguage() 115 vector<Guess> guesses; in GuessLanguage() 138 Guess g(guess_list + current_pointer); in GuessLanguage() 149 Guess SimpleGuesser::GuessPrimaryLanguage(const char* text) in GuessPrimaryLanguage() 151 vector<Guess> ret = GuessLanguage(text); in GuessPrimaryLanguage() 152 return ret.empty() ? Guess() : ret[0]; in GuessPrimaryLanguage() 164 vector<Guess> lang; in GetManagedLanguages() 173 Guess g(langStr.c_str()); in GetManagedLanguages() 181 vector<Guess> SimpleGuesser::GetAvailableLanguages() in GetAvailableLanguages() 186 vector<Guess> SimpleGuesser::GetUnavailableLanguages() in GetUnavailableLanguages() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/lingucomponent/source/languageguessing/ |
H A D | simpleguesser.cxx | 109 vector<Guess> SimpleGuesser::GuessLanguage(const char* text) in GuessLanguage() 111 vector<Guess> guesses; in GuessLanguage() 134 Guess g(guess_list + current_pointer); in GuessLanguage() 145 Guess SimpleGuesser::GuessPrimaryLanguage(const char* text) in GuessPrimaryLanguage() 147 vector<Guess> ret = GuessLanguage(text); in GuessPrimaryLanguage() 148 return ret.empty() ? Guess() : ret[0]; in GuessPrimaryLanguage() 160 vector<Guess> lang; in GetManagedLanguages() 169 Guess g(langStr.c_str()); in GetManagedLanguages() 177 vector<Guess> SimpleGuesser::GetAvailableLanguages() in GetAvailableLanguages() 182 vector<Guess> SimpleGuesser::GetUnavailableLanguages() in GetUnavailableLanguages() [all …]
|
/dports/devel/p5-Shell-Guess/Shell-Guess-0.09/ |
H A D | README | 13 use Shell::Guess; 14 my $shell = Shell::Guess->running_shell; 23 use Shell::Guess; 24 my $shell = Shell::Guess->login_shell; 29 use Shell::Guess; 87 use Shell::Guess; 172 my $shell = Shell::Guess->c_shell; 190 my $shell = Shell::Guess->cmd_shell; 295 my $shell = Shell::Guess->tc_shell; 315 my $shell = Shell::Guess->z_shell [all …]
|
/dports/security/libgsasl/gsasl-1.10.0/lib/m4/ |
H A D | printf.m4 | 139 # Guess no on BeOS. 141 # Guess yes on Android. 736 # Guess no on Android. 817 # Guess no on Android. 993 # Guess yes on BeOS. 1157 # Guess yes on AIX. 1165 # Guess yes on IRIX. 1167 # Guess yes on OSF/1. 1169 # Guess yes on BeOS. 1171 # Guess yes on Haiku. [all …]
|