OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:scorer
(Results
1 - 10
of
10
) 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
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
...]
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.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_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
...]
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
/frameworks/base/services/java/com/android/server/
NotificationManagerService.java
1378
NotificationScorer
scorer
= (NotificationScorer)
scorer
Class.newInstance();
local
[
all
...]
/prebuilts/tools/common/m2/internal/org/gradle/gradle-tooling-api/1.7/
gradle-tooling-api-1.7.jar
Completed in 322 milliseconds