/dports/deskutils/presage/presage-0.9.1/test/lib/core/ |
H A D | selectorTest.cpp | 88 op->addSuggestion(Suggestion("foo", 0.9)); in init() 89 op->addSuggestion(Suggestion("foo1", 0.8)); in init() 90 op->addSuggestion(Suggestion("foo2", 0.7)); in init() 91 op->addSuggestion(Suggestion("foo3", 0.6)); in init() 92 op->addSuggestion(Suggestion("foo4", 0.5)); in init() 93 op->addSuggestion(Suggestion("foo5", 0.4)); in init() 169 op->addSuggestion(Suggestion("foo", 0.9)); in init() 170 op->addSuggestion(Suggestion("foo1", 0.8)); in init() 171 op->addSuggestion(Suggestion("foo2", 0.7)); in init() 172 op->addSuggestion(Suggestion("foo3", 0.6)); in init() [all …]
|
H A D | meritocracyCombinerTest.cpp | 34 p1->addSuggestion(Suggestion("foo1", 1.0)); in setUp() 35 p1->addSuggestion(Suggestion("foo2", 0.8)); in setUp() 36 p1->addSuggestion(Suggestion("foo3", 0.6)); in setUp() 37 p1->addSuggestion(Suggestion("foo4", 0.4)); in setUp() 38 p1->addSuggestion(Suggestion("foo5", 0.2)); in setUp() 39 p1->addSuggestion(Suggestion("foo6", 0.0)); in setUp() 42 p2->addSuggestion(Suggestion("bar1", 0.9)); in setUp() 43 p2->addSuggestion(Suggestion("bar2", 0.7)); in setUp() 44 p2->addSuggestion(Suggestion("bar3", 0.5)); in setUp() 45 p2->addSuggestion(Suggestion("bar4", 0.3)); in setUp() [all …]
|
H A D | suggestionTest.h | 44 Suggestion* sugg1Ptr; 45 Suggestion* sugg2Ptr; 46 Suggestion* sugg3Ptr; 47 Suggestion* sugg4Ptr; 48 Suggestion* sugg5Ptr; 49 Suggestion* sugg6Ptr; 50 Suggestion* sugg7Ptr; 51 Suggestion* sugg8Ptr;
|
H A D | combinerTest.h | 52 Suggestion* sugg1Ptr; 53 Suggestion* sugg2Ptr; 54 Suggestion* sugg3Ptr; 55 Suggestion* sugg4Ptr; 56 Suggestion* sugg5Ptr; 57 Suggestion* sugg6Ptr; 58 Suggestion* sugg123Ptr; 59 Suggestion* sugg456Ptr;
|
/dports/textproc/soothsayer/soothsayer-0.6.3/test/lib/core/ |
H A D | selectorTest.cpp | 86 op->addSuggestion(Suggestion("foo", 0.9)); in init() 87 op->addSuggestion(Suggestion("foo1", 0.8)); in init() 88 op->addSuggestion(Suggestion("foo2", 0.7)); in init() 89 op->addSuggestion(Suggestion("foo3", 0.6)); in init() 90 op->addSuggestion(Suggestion("foo4", 0.5)); in init() 91 op->addSuggestion(Suggestion("foo5", 0.4)); in init() 167 op->addSuggestion(Suggestion("foo", 0.9)); in init() 168 op->addSuggestion(Suggestion("foo1", 0.8)); in init() 169 op->addSuggestion(Suggestion("foo2", 0.7)); in init() 170 op->addSuggestion(Suggestion("foo3", 0.6)); in init() [all …]
|
H A D | meritocracyCombinerTest.cpp | 33 p1->addSuggestion(Suggestion("foo1", 1.0)); in setUp() 34 p1->addSuggestion(Suggestion("foo2", 0.8)); in setUp() 35 p1->addSuggestion(Suggestion("foo3", 0.6)); in setUp() 36 p1->addSuggestion(Suggestion("foo4", 0.4)); in setUp() 37 p1->addSuggestion(Suggestion("foo5", 0.2)); in setUp() 38 p1->addSuggestion(Suggestion("foo6", 0.0)); in setUp() 41 p2->addSuggestion(Suggestion("bar1", 0.9)); in setUp() 42 p2->addSuggestion(Suggestion("bar2", 0.7)); in setUp() 43 p2->addSuggestion(Suggestion("bar3", 0.5)); in setUp() 44 p2->addSuggestion(Suggestion("bar4", 0.3)); in setUp() [all …]
|
H A D | suggestionTest.h | 43 Suggestion* sugg1Ptr; 44 Suggestion* sugg2Ptr; 45 Suggestion* sugg3Ptr; 46 Suggestion* sugg4Ptr; 47 Suggestion* sugg5Ptr; 48 Suggestion* sugg6Ptr; 49 Suggestion* sugg7Ptr; 50 Suggestion* sugg8Ptr;
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/autofill/core/browser/ui/ |
H A D | suggestion.cc | 13 Suggestion::Suggestion() = default; 14 Suggestion::Suggestion(const Suggestion& other) = default; 15 Suggestion::Suggestion(Suggestion&& other) = default; 17 Suggestion::Suggestion(base::string16 value) : value(std::move(value)) {} in Suggestion() function in autofill::Suggestion 19 Suggestion::Suggestion(base::StringPiece value, in Suggestion() function in autofill::Suggestion 28 Suggestion& Suggestion::operator=(const Suggestion& other) = default; 29 Suggestion& Suggestion::operator=(Suggestion&& other) = default; 31 Suggestion::~Suggestion() = default;
|
H A D | suggestion.h | 17 struct Suggestion { struct 25 Suggestion(); argument 26 Suggestion(const Suggestion& other); 27 Suggestion(Suggestion&& other); 29 explicit Suggestion(base::string16 value); 32 Suggestion(base::StringPiece value, 37 Suggestion& operator=(const Suggestion& other); argument 38 Suggestion& operator=(Suggestion&& other); argument 40 ~Suggestion();
|
H A D | suggestion_test_helpers.h | 22 : public testing::MatcherInterface<const std::vector<Suggestion>&> { 28 EltType Suggestion::*elt) in SuggestionVectorMembersAreMatcher() 31 virtual bool MatchAndExplain(const std::vector<Suggestion>& suggestions, in MatchAndExplain() 49 EltType Suggestion::*element_; 60 elts_are_matcher, &Suggestion::frontend_id)); in SuggestionVectorIdsAre() 65 inline testing::Matcher<const std::vector<Suggestion>&> 69 elts_are_matcher, &Suggestion::value)); in SuggestionVectorValuesAre() 74 inline testing::Matcher<const std::vector<Suggestion>&> 78 elts_are_matcher, &Suggestion::label)); in SuggestionVectorLabelsAre() 83 inline testing::Matcher<const std::vector<Suggestion>&> [all …]
|
H A D | suggestion_selection_unittest.cc | 92 std::vector<Suggestion> CreateSuggestions( in CreateSuggestions() 95 std::vector<Suggestion> suggestions; in CreateSuggestions() 528 std::vector<Suggestion> suggestions{Suggestion(ASCIIToUTF16("Jon Snow")), in TEST_F() 546 Field(&Suggestion::value, ASCIIToUTF16("Jon Snow")), in TEST_F() 554 std::vector<Suggestion> suggestions{Suggestion(ASCIIToUTF16("Sansa")), in TEST_F() 567 AllOf(Field(&Suggestion::value, ASCIIToUTF16("Sansa")), in TEST_F() 569 AllOf(Field(&Suggestion::value, ASCIIToUTF16("Sansa")), in TEST_F() 570 Field(&Suggestion::label, ASCIIToUTF16(""))), in TEST_F() 576 std::vector<Suggestion> suggestions{ in TEST_F() 577 Suggestion(base::UTF8ToUTF16("4 Mañana Road"))}; in TEST_F() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/autofill/core/browser/ui/ |
H A D | suggestion.cc | 13 Suggestion::Suggestion() = default; 14 Suggestion::Suggestion(const Suggestion& other) = default; 15 Suggestion::Suggestion(Suggestion&& other) = default; 17 Suggestion::Suggestion(base::string16 value) : value(std::move(value)) {} in Suggestion() function in autofill::Suggestion 19 Suggestion::Suggestion(base::StringPiece value, in Suggestion() function in autofill::Suggestion 28 Suggestion& Suggestion::operator=(const Suggestion& other) = default; 29 Suggestion& Suggestion::operator=(Suggestion&& other) = default; 31 Suggestion::~Suggestion() = default;
|
H A D | suggestion.h | 17 struct Suggestion { struct 25 Suggestion(); argument 26 Suggestion(const Suggestion& other); 27 Suggestion(Suggestion&& other); 29 explicit Suggestion(base::string16 value); 32 Suggestion(base::StringPiece value, 37 Suggestion& operator=(const Suggestion& other); argument 38 Suggestion& operator=(Suggestion&& other); argument 40 ~Suggestion();
|
H A D | suggestion_test_helpers.h | 22 : public testing::MatcherInterface<const std::vector<Suggestion>&> { 28 EltType Suggestion::*elt) in SuggestionVectorMembersAreMatcher() 31 virtual bool MatchAndExplain(const std::vector<Suggestion>& suggestions, in MatchAndExplain() 49 EltType Suggestion::*element_; 60 elts_are_matcher, &Suggestion::frontend_id)); in SuggestionVectorIdsAre() 65 inline testing::Matcher<const std::vector<Suggestion>&> 69 elts_are_matcher, &Suggestion::value)); in SuggestionVectorValuesAre() 74 inline testing::Matcher<const std::vector<Suggestion>&> 78 elts_are_matcher, &Suggestion::label)); in SuggestionVectorLabelsAre() 83 inline testing::Matcher<const std::vector<Suggestion>&> [all …]
|
H A D | suggestion_selection_unittest.cc | 92 std::vector<Suggestion> CreateSuggestions( in CreateSuggestions() 95 std::vector<Suggestion> suggestions; in CreateSuggestions() 528 std::vector<Suggestion> suggestions{Suggestion(ASCIIToUTF16("Jon Snow")), in TEST_F() 546 Field(&Suggestion::value, ASCIIToUTF16("Jon Snow")), in TEST_F() 554 std::vector<Suggestion> suggestions{Suggestion(ASCIIToUTF16("Sansa")), in TEST_F() 567 AllOf(Field(&Suggestion::value, ASCIIToUTF16("Sansa")), in TEST_F() 569 AllOf(Field(&Suggestion::value, ASCIIToUTF16("Sansa")), in TEST_F() 570 Field(&Suggestion::label, ASCIIToUTF16(""))), in TEST_F() 576 std::vector<Suggestion> suggestions{ in TEST_F() 577 Suggestion(base::UTF8ToUTF16("4 Mañana Road"))}; in TEST_F() [all …]
|
/dports/deskutils/presage/presage-0.9.1/src/lib/predictors/ |
H A D | dummyPredictor.cpp | 49 result.addSuggestion (Suggestion("foo1", 0.99)); in predict() 50 result.addSuggestion (Suggestion("foo2", 0.98)); in predict() 51 result.addSuggestion (Suggestion("foo3", 0.97)); in predict() 52 result.addSuggestion (Suggestion("foo4", 0.96)); in predict() 53 result.addSuggestion (Suggestion("foo5", 0.95)); in predict() 54 result.addSuggestion (Suggestion("foo6", 0.94)); in predict() 56 result.addSuggestion (Suggestion("bar1", 0.89)); in predict() 57 result.addSuggestion (Suggestion("bar2", 0.88)); in predict() 58 result.addSuggestion (Suggestion("bar3", 0.87)); in predict() 59 result.addSuggestion (Suggestion("bar4", 0.86)); in predict() [all …]
|
/dports/deskutils/presage/presage-0.9.1/src/lib/core/ |
H A D | suggestion.cpp | 27 const double Suggestion::MIN_PROBABILITY = 0.0; 30 Suggestion::Suggestion(std::string s, double p) in Suggestion() function in Suggestion 36 Suggestion::~Suggestion() {} in ~Suggestion() 39 bool Suggestion::operator== (const Suggestion& right) const in operator ==() 47 bool Suggestion::operator!= (const Suggestion& right) const in operator !=() 52 bool Suggestion::operator< (const Suggestion& right) const in operator <() 64 std::string Suggestion::getWord() const in getWord() 69 double Suggestion::getProbability() const in getProbability() 74 void Suggestion::setWord(std::string s) in setWord() 79 void Suggestion::setProbability(double p) in setProbability() [all …]
|
/dports/textproc/soothsayer/soothsayer-0.6.3/src/lib/core/ |
H A D | suggestion.cpp | 26 const double Suggestion::MIN_PROBABILITY = 0.0; 29 Suggestion::Suggestion(std::string s, double p) in Suggestion() function in Suggestion 35 Suggestion::~Suggestion() {} in ~Suggestion() 38 bool Suggestion::operator== (const Suggestion& right) const in operator ==() 46 bool Suggestion::operator!= (const Suggestion& right) const in operator !=() 51 bool Suggestion::operator< (const Suggestion& right) const in operator <() 63 std::string Suggestion::getWord() const in getWord() 68 double Suggestion::getProbability() const in getProbability() 73 void Suggestion::setWord(std::string s) in setWord() 78 void Suggestion::setProbability(double p) in setProbability() [all …]
|
/dports/textproc/soothsayer/soothsayer-0.6.3/src/lib/plugins/ |
H A D | dummyPlugin.cpp | 48 result.addSuggestion (Suggestion("foo1", 0.99)); in predict() 49 result.addSuggestion (Suggestion("foo2", 0.98)); in predict() 50 result.addSuggestion (Suggestion("foo3", 0.97)); in predict() 51 result.addSuggestion (Suggestion("foo4", 0.96)); in predict() 52 result.addSuggestion (Suggestion("foo5", 0.95)); in predict() 53 result.addSuggestion (Suggestion("foo6", 0.94)); in predict() 55 result.addSuggestion (Suggestion("bar1", 0.89)); in predict() 56 result.addSuggestion (Suggestion("bar2", 0.88)); in predict() 57 result.addSuggestion (Suggestion("bar3", 0.87)); in predict() 58 result.addSuggestion (Suggestion("bar4", 0.86)); in predict() [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/ |
H A D | CodeCorrectionTestsRequestor.java | 22 private class Suggestion { class in CodeCorrectionTestsRequestor 26 public Suggestion(char[] text, int start, int end){ in Suggestion() method in CodeCorrectionTestsRequestor.Suggestion 36 Suggestion s1 = (Suggestion)o1; in compare() 37 Suggestion s2 = (Suggestion)o2; in compare() 54 this.suggestions.addElement(new Suggestion(correctionName, correctionStart, correctionEnd)); in acceptClass() 66 this.suggestions.addElement(new Suggestion(name, correctionStart, correctionEnd)); in acceptLocalVariable() 78 Suggestion[] sortedSuggestions = getSortedSuggestions(); in getSuggestions() 91 Suggestion[] sortedSuggestions = getSortedSuggestions(); in getStarts() 104 Suggestion[] sortedSuggestions = getSortedSuggestions(); in getEnds() 116 private Suggestion[] getSortedSuggestions(){ in getSortedSuggestions() [all …]
|
/dports/www/carbonapi/carbonapi-0.14.1/expr/types/ |
H A D | list.go | 111 type Suggestion struct { struct 119 return &Suggestion{Type: SInt, Value: v} 121 return &Suggestion{Type: SInt32, Value: v} 123 return &Suggestion{Type: SInt64, Value: v} 125 return &Suggestion{Type: SUint, Value: v} 127 return &Suggestion{Type: SUint32, Value: v} 129 return &Suggestion{Type: SUint64, Value: v} 133 return &Suggestion{Type: SString, Value: v} 135 return &Suggestion{Type: SBool, Value: v} 138 return &Suggestion{Type: SNone} [all …]
|
/dports/devel/lazygit/lazygit-0.31.4/pkg/gui/ |
H A D | find_suggestions.go | 32 func matchesToSuggestions(matches []string) []*types.Suggestion { 33 suggestions := make([]*types.Suggestion, len(matches)) 35 suggestions[i] = &types.Suggestion{ 60 return func(input string) []*types.Suggestion { 68 suggestions := make([]*types.Suggestion, len(matchingBranchNames)) 70 suggestions[i] = &types.Suggestion{ 117 return func(input string) []*types.Suggestion { 127 suggestions := make([]*types.Suggestion, len(matchingNames)) 129 suggestions[i] = &types.Suggestion{ 179 func fuzzySearchFunc(options []string) func(string) []*types.Suggestion { [all …]
|
/dports/textproc/py-spylls/spylls-0.1.6/spylls/hunspell/algo/ |
H A D | suggest.py | 55 class Suggestion: class 437 yield Suggestion(suggestion, 'replchars') 440 yield Suggestion(' '.join(words), 'spaceword') 449 yield Suggestion(suggestion, 'mapchars') 454 yield Suggestion(suggestion, 'swapchar') 458 yield Suggestion(suggestion, 'longswapchar') 463 yield Suggestion(suggestion, 'badcharkey') 467 yield Suggestion(suggestion, 'extrachar') 472 yield Suggestion(suggestion, 'forgotchar') 479 yield Suggestion(suggestion, 'movechar') [all …]
|
/dports/devel/py-prompt-toolkit/prompt_toolkit-3.0.23/prompt_toolkit/ |
H A D | auto_suggest.py | 36 class Suggestion: class 58 ) -> Optional[Suggestion]: 76 ) -> Optional[Suggestion]: 97 ) -> Optional[Suggestion]: 102 ) -> Optional[Suggestion]: 120 ) -> Optional[Suggestion]: 131 ) -> Optional[Suggestion]: 143 return Suggestion(line[len(text) :]) 160 ) -> Optional[Suggestion]: 179 ) -> Optional[Suggestion]: [all …]
|
/dports/devel/bit/bit-1.1.2/vendor/github.com/chriswalz/complete/v3/ |
H A D | new_autocomplete.go | 20 type Suggestion struct { struct 54 s := make([]Suggestion, 0, 20) 61 s = append(s, Suggestion{ 69 s = append(s, Suggestion{ 85 s = append(s, Suggestion{ 91 s = append(s, Suggestion{ 102 s = append(s, Suggestion{ 110 s = append(s, Suggestion{ 119 s = append(s, Suggestion{ 134 s = append(s, Suggestion{ [all …]
|