HomeSort by relevance Sort by last modified time
    Searched refs:Scorer (Results 1 - 13 of 13) sorted by null

  /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);
69 Scorer();
86 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
66 scoped_ptr<Scorer> scorer; local
67 scorer.reset(Scorer::Create(model_.SerializeAsString()));
68 EXPECT_TRUE(scorer.get() != NULL);
71 scorer.reset(Scorer::Create("bogus string"));
72 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
40 class Scorer;
63 // Sets a scorer for the classifier to use in computing the phishiness score.
66 // scorer.
67 void set_phishing_scorer(const Scorer* scorer);
70 // has had a scorer set via set_phishing_scorer().
132 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_browsertest.cc 20 #include "chrome/renderer/safe_browsing/scorer.h"
100 scorer_.reset(Scorer::Create(model.SerializeAsString()));
199 scoped_ptr<Scorer> scorer_;
219 // No scorer yet, so the classifier is not ready.
222 // Now set the scorer.
293 // No scorer yet, so the classifier is not ready.
296 // Now set the scorer.
300 // Set a NULL scorer, which turns detection back off.
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_delegate_browsertest.cc 20 #include "chrome/renderer/safe_browsing/scorer.h"
71 class MockScorer : public Scorer {
73 MockScorer() : Scorer() {}
269 MockScorer scorer; local
270 delegate_->SetPhishingScorer(&scorer);
411 // For this test, we'll create the delegate with no scorer available yet.
425 // Now set a scorer, which should cause a classifier to be created and
429 MockScorer scorer; local
430 delegate_->SetPhishingScorer(&scorer);
433 // If we set a new scorer while a classification is going on th
462 MockScorer scorer; local
474 MockScorer scorer; local
545 MockScorer scorer; local
579 MockScorer scorer; local
608 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 
  /external/owasp/sanitizer/tools/findbugs/lib/
findbugs.jar 
  /prebuilts/tools/common/m2/repository/com/google/code/findbugs/findbugs/2.0.1/
findbugs-2.0.1.jar 

Completed in 198 milliseconds