/external/chromium_org/chrome/renderer/safe_browsing/ |
scorer.h | 27 // Scorer methods are virtual to simplify mocking of this class. 28 class Scorer { 30 virtual ~Scorer(); 32 // Factory method which creates a new Scorer object by parsing the given 34 static Scorer* Create(const base::StringPiece& model_str); 63 Scorer(); 80 DISALLOW_COPY_AND_ASSIGN(Scorer);
|
scorer.cc | 5 #include "chrome/renderer/safe_browsing/scorer.h" 17 // Enum used to keep stats about the status of the Scorer creation. 50 Scorer::Scorer() {} 51 Scorer::~Scorer() {} 54 Scorer* Scorer::Create(const base::StringPiece& model_str) { 55 scoped_ptr<Scorer> scorer(new Scorer()) [all...] |
scorer_unittest.cc | 5 #include "chrome/renderer/safe_browsing/scorer.h" 24 // Setup a simple model. Note that the scorer does not care about 64 scoped_ptr<Scorer> scorer; local 65 scorer.reset(Scorer::Create(model_.SerializeAsString())); 66 EXPECT_TRUE(scorer.get() != NULL); 69 scorer.reset(Scorer::Create("bogus string")); 70 EXPECT_FALSE(scorer.get()) [all...] |
phishing_classifier.h | 11 // - Hand the hashed map off to a Scorer, which computes the probability that 15 // For more details, see phishing_*_feature_extractor.h, scorer.h, and 38 class Scorer; 61 // Sets a scorer for the classifier to use in computing the phishiness score. 64 // scorer. 65 void set_phishing_scorer(const Scorer* scorer); 68 // has had a scorer set via set_phishing_scorer(). 130 const Scorer* scorer_; // owned by the caller
|
phishing_classifier_delegate.h | 20 class Scorer; 45 // Called by the RenderView once there is a phishing scorer available. 46 // The scorer is passed on to the classifier. 47 void SetPhishingScorer(const safe_browsing::Scorer* scorer); 89 // RenderView and a Scorer has been set, this will begin classification, 103 // a scorer is made available via SetPhishingScorer(). 127 // there is no Scorer yet when OnNavigate is called, or the browser has not
|
phishing_classifier_delegate.cc | 18 #include "chrome/renderer/safe_browsing/scorer.h" 44 static base::LazyInstance<scoped_ptr<const safe_browsing::Scorer> > 70 safe_browsing::Scorer* scorer = NULL; local 74 scorer = safe_browsing::Scorer::Create(model); 75 if (!scorer) { 82 (*i)->SetPhishingScorer(scorer); 84 g_phishing_scorer.Get().reset(scorer); 120 const safe_browsing::Scorer* scorer) [all...] |
phishing_classifier.cc | 23 #include "chrome/renderer/safe_browsing/scorer.h" 54 void PhishingClassifier::set_phishing_scorer(const Scorer* scorer) { 56 scorer_ = scorer;
|
phishing_classifier_browsertest.cc | 20 #include "chrome/renderer/safe_browsing/scorer.h" 91 scorer_.reset(Scorer::Create(model.SerializeAsString())); 190 scoped_ptr<Scorer> scorer_; 210 // No scorer yet, so the classifier is not ready. 213 // Now set the scorer. 278 // No scorer yet, so the classifier is not ready. 281 // Now set the scorer. 285 // Set a NULL scorer, which turns detection back off.
|
phishing_classifier_delegate_browsertest.cc | 20 #include "chrome/renderer/safe_browsing/scorer.h" 66 class MockScorer : public Scorer { 68 MockScorer() : Scorer() {} 262 MockScorer scorer; local 263 delegate_->SetPhishingScorer(&scorer); 404 // For this test, we'll create the delegate with no scorer available yet. 418 // Now set a scorer, which should cause a classifier to be created and 422 MockScorer scorer; local 423 delegate_->SetPhishingScorer(&scorer); 426 // If we set a new scorer while a classification is going on th 455 MockScorer scorer; local 467 MockScorer scorer; local 538 MockScorer scorer; local 566 MockScorer scorer; local 595 MockScorer scorer; local [all...] |
/external/chromium_org/courgette/ |
adjustment_method_2.cc | 696 template<int (*Scorer)(const ShinglePattern*)> 699 int score_a = Scorer(a); 700 int score_b = Scorer(b); [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.apache.lucene_1.9.1.v20100518-1140.jar | |
/prebuilts/tools/common/m2/internal/com/google/code/findbugs/findbugs/2.0.1/ |
findbugs-2.0.1.jar | |