OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:scorer
(Results
1 - 8
of
8
) sorted by null
/external/chromium_org/chrome/renderer/safe_browsing/
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
...]
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
...]
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_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
...]
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.cc
23
#include "chrome/renderer/safe_browsing/
scorer
.h"
54
void PhishingClassifier::set_phishing_scorer(const
Scorer
*
scorer
) {
56
scorer_ =
scorer
;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.apache.lucene_1.9.1.v20100518-1140.jar
Completed in 931 milliseconds