Searched refs:score (Results 1 - 25 of 222) sorted by relevance

123456789

/external/chromium_org/base/process/
H A Dmemory_stubs.cc15 bool AdjustOOMScore(ProcessId process, int score) { argument
H A Dmemory.h43 // The maximum allowed value for the OOM score.
53 BASE_EXPORT bool AdjustOOMScore(ProcessId process, int score);
/external/chromium_org/chrome/common/
H A Dthumbnail_score_unittest.cc49 // This one has a lot of redirects but a better score. It should still be
57 ThumbnailScore score; local
58 // By default, the score is low, thus we should generate a new thumbnail.
59 EXPECT_TRUE(score.ShouldConsiderUpdating());
62 score.boring_score = 0.0;
63 EXPECT_TRUE(score.ShouldConsiderUpdating());
66 score.good_clipping = true;
67 EXPECT_TRUE(score.ShouldConsiderUpdating());
70 score.at_top = true;
71 EXPECT_TRUE(score
[all...]
H A Dthumbnail_score.cc18 // Calculates a numeric score from traits about where a snapshot was
22 static int GetThumbnailType(const ThumbnailScore& score) { argument
24 if (!score.at_top)
26 if (!score.good_clipping)
28 if (!score.load_completed)
42 ThumbnailScore::ThumbnailScore(double score, bool clipping, bool top) argument
43 : boring_score(score),
51 ThumbnailScore::ThumbnailScore(double score, bool clipping, bool top, argument
53 : boring_score(score),
96 // is better." Then we can decrease the score b
[all...]
H A Dthumbnail_score.h20 ThumbnailScore(double score, bool clipping, bool top);
23 ThumbnailScore(double score, bool clipping, bool top,
33 // How "boring" a thumbnail is. The boring score is the 0,1 ranged
38 // The score should only be used for comparing two thumbnails taken from
40 // absolute score is not suitable for judging whether the thumbnail is
42 // succinct, so the boring score can be as high as 0.9, depending on the
86 // We consider a thumbnail interesting enough if the boring score is
103 // this score. For instance, we don't have to update a new thumbnail
/external/chromium/chrome/common/
H A Dthumbnail_score_unittest.cc49 // This one has a lot of redirects but a better score. It should still be
57 ThumbnailScore score; local
58 // By default, the score is 1.0, meaning very boring, thus we should
60 EXPECT_DOUBLE_EQ(1.0, score.boring_score);
61 EXPECT_TRUE(score.ShouldConsiderUpdating());
64 score.boring_score = 0.0;
65 EXPECT_TRUE(score.ShouldConsiderUpdating());
68 score.good_clipping = true;
69 EXPECT_TRUE(score.ShouldConsiderUpdating());
72 score
[all...]
H A Dthumbnail_score.h21 ThumbnailScore(double score, bool clipping, bool top);
24 ThumbnailScore(double score, bool clipping, bool top,
34 // How "boring" a thumbnail is. The boring score is the 0,1 ranged
74 // We consider a thumbnail interesting enough if the boring score is
87 // this score. For instance, we don't have to update a new thumbnail
/external/chromium_org/chrome/browser/extensions/api/discovery/
H A Dsuggested_link.cc12 double score)
16 score_(score) {}
9 SuggestedLink(const std::string& link_url, const std::string& link_text, const std::string& url_image, double score) argument
H A Ddiscovery_api.cc18 const char kInvalidScore[] = "Invalid score, must be between 0 and 1.";
28 double score = 1.0; local
29 if (params->details.score != NULL) {
30 score = *params->details.score;
31 if (score < 0.0 || score > 1.0) {
48 score));
H A Dsuggested_link.h20 const std::string& url_image, double score);
26 double score() const { return score_; } function in class:extensions::SuggestedLink
34 // this suggested link. A link with score 1 is twice as likely to be presented
35 // than one with score 0.5. Use a score of 1 if no information is available on
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A DFilePathScoreFunction.js70 score: function(data, matchIndexes)
80 var score = this._score;
86 var skipCharScore = j === 0 ? 0 : score[i * m + j - 1];
87 var prevCharScore = i === 0 || j === 0 ? 0 : score[(i - 1) * m + j - 1];
92 score[i * m + j] = (prevCharScore + pickCharScore);
95 score[i * m + j] = skipCharScore;
101 return score[n * m - 1];
153 var score = 10;
155 score += 4;
157 score
[all...]
/external/apache-xml/src/main/java/org/apache/xpath/patterns/
H A DFunctionPattern.java55 * Static calc of match score.
107 XNumber score = SCORE_NONE;
115 score = (n == context) ? SCORE_OTHER : SCORE_NONE;
117 if (score == SCORE_OTHER)
129 return score;
151 XNumber score = SCORE_NONE;
159 score = (n == context) ? SCORE_OTHER : SCORE_NONE;
161 if (score == SCORE_OTHER)
172 return score;
194 XNumber score
[all...]
H A DContextMatchStepPattern.java90 XObject score = NodeTest.SCORE_NONE;
119 score = execute(xctxt);
121 if (score != NodeTest.SCORE_NONE)
123 //score = executePredicates( xctxt, prevStep, SCORE_OTHER,
126 return score;
128 score = NodeTest.SCORE_NONE;
147 score = execute(xctxt);
149 if (score != NodeTest.SCORE_NONE)
151 //score = executePredicates( xctxt, prevStep, SCORE_OTHER,
154 if (score !
[all...]
/external/chromium_org/sandbox/linux/suid/
H A Dprocess_util.h21 // try to set the older oom_adj value instead, scaling the score to
24 BASE_EXPORT bool AdjustOOMScore(pid_t process, int score);
H A Dprocess_util_linux.c23 // flavors of OOM score.
33 bool AdjustOOMScore(pid_t process, int score) { argument
34 if (score < 0 || score > kMaxOomScore)
65 // [0, kMaxOldOomScore], so we scale the score. This may result in some
67 score = score * kMaxOldOomScore / kMaxOomScore;
72 char buf[11]; // 0 <= |score| <= kMaxOomScore; using log_10(2**32) + 1 size
73 snprintf(buf, sizeof(buf), "%d", score);
/external/chromium_org/chrome/browser/thumbnails/
H A Dthumbnailing_context.cc17 score.at_top =
19 score.load_completed = !web_contents->IsLoading() && !load_interrupted;
H A Dthumbnail_service_unittest.cc31 ThumbnailScore* score) OVERRIDE {
37 *score = iter->second;
42 // Adds a known URL with the associated thumbnail score.
43 void AddKnownURL(const GURL& url, const ThumbnailScore& score) { argument
44 known_url_map_[url.spec()] = score;
66 void AddKnownURL(const GURL& url, const ThumbnailScore& score) { argument
67 mock_top_sites_->AddKnownURL(url, score);
111 // Replace the thumbnail score with a really good one.
/external/chromium_org/v8/benchmarks/
H A Drun.js52 function PrintScore(score) {
55 print('Score (version ' + BenchmarkSuite.version + '): ' + score);
/external/v8/benchmarks/
H A Drun.js52 function PrintScore(score) {
55 print('Score (version ' + BenchmarkSuite.version + '): ' + score);
/external/chromium_org/chrome/browser/history/
H A Dselect_favicon_frames.h19 // Score which is smaller than the minimum score returned by
27 // If score is non-NULL, it receives a score between 0 (bad) and 1 (good)
30 // The score is arbitrary, but it's best for exact size matches,
36 float* score);
41 // of the largest size is returned. If score is non-NULL, it receives a score
44 // |scale_factors|. The score is arbitrary, but it's best for exact size
52 float* score);
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/
H A DRagdollPreset.java40 int score = lexicon.get(key).getScore(boneName);
41 if (score > resultScore) {
42 resultScore = score;
51 logger.log(Level.INFO, "Found matching joint for bone {0} : {1} with score {2}", new Object[]{boneName, resultName, resultScore});
56 logger.log(Level.INFO, "Best match found is {0} with score {1}", new Object[]{resultName, resultScore});
91 public void addSynonym(String word, int score) { argument
92 put(word.toLowerCase(), score);
96 int score = 0;
100 score += get(key);
103 return score;
[all...]
/external/chromium_org/content/public/browser/
H A Dzygote_host_linux.h36 // Adjust the OOM score of the given renderer's PID. The allowed
37 // range for the score is [0, 1000], where higher values are more
40 int score) = 0;
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/
H A Ddromaeorunner.js41 var score = message.status.score;
42 if (score)
43 DRT.log(score.name + ': [' + score.times.join(', ') + ']');
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DTouchDisambiguation.cpp77 float score = 1; local
80 score *= max((padding - abs(distance.width())) * reciprocalPadding, 0.f);
81 score *= max((padding - abs(distance.height())) * reciprocalPadding, 0.f);
83 return score;
88 float score; member in struct:WebCore::TouchTargetData
134 targetData.score = scoreTouchTarget(touchPoint, touchPointPadding, targetData.windowBoundingBox);
135 bestScore = max(bestScore, targetData.score);
142 // Currently the scoring function uses the overlap area with the fat point as the score.
144 if (it->value.score < bestScore * 0.5)
/external/chromium_org/tools/perf/measurements/
H A Ddromaeo.py17 score = eval(tab.EvaluateJavaScript(js_get_results))
26 for k, v in score.iteritems():

Completed in 361 milliseconds

123456789