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

1234

/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
H A Dthumbnail_score.cc19 // Calculates a numeric score from traits about where a snapshot was
45 ThumbnailScore::ThumbnailScore(double score, bool clipping, bool top) argument
46 : boring_score(score),
53 ThumbnailScore::ThumbnailScore(double score, bool clipping, bool top, argument
55 : boring_score(score),
98 // is better." Then we can decrease the score by dividing by a fraction.
104 // Degrade the score of each thumbnail to account for how many redirects
112 // Degrade the score and prefer the newer one based on how long apart the
/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...]
H A DUnionPattern.java125 XObject score = m_patterns[i].execute(xctxt);
127 if (score != NodeTest.SCORE_NONE)
130 bestScore = score;
131 else if (score.num() > bestScore.num())
132 bestScore = score;
H A DStepPattern.java299 * Static calc of match score.
396 XObject score;
398 score = super.execute(xctxt, currentNode, dtm, expType);
400 if (score == NodeTest.SCORE_NONE)
413 return score;
669 XObject score = NodeTest.SCORE_NONE;
682 score = execute(xctxt);
684 if (score != NodeTest.SCORE_NONE)
693 return score;
879 * Get the match score o
[all...]
/external/v8/benchmarks/
H A Drun.js52 function PrintScore(score) {
55 print('Score (version ' + BenchmarkSuite.version + '): ' + score);
H A Dbase.js30 // computing a score based on the timing measurements.
37 // not be accounted for in the benchmark score.
47 // run the benchmark. The benchmark score is computed later once a
63 // addition to the reference timing that the final score will be based
103 // context of browsers. Once done, the final score is reported to the
126 var score = BenchmarkSuite.GeometricMean(BenchmarkSuite.scores);
127 var formatted = BenchmarkSuite.FormatScore(100 * score);
157 // Converts a score value to a string with at least three significant
179 var score = this.reference / mean;
180 BenchmarkSuite.scores.push(score);
[all...]
/external/mesa3d/src/glsl/
H A Dir_function.cpp110 * exact match, the match score is zero. If the types don't match
112 * parameter, the match score is one.
114 int score; local
127 score = type_compare(param->type, actual->type);
131 score = type_compare(actual->type, param->type);
139 score = (type_compare(actual->type, param->type) == 0) ? 0 : -1;
146 if (score < 0)
149 total_score += score;
172 const int score = parameter_lists_match(& sig->parameters, local
175 if (score
[all...]
/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/chrome/browser/history/
H A Dtop_sites.h62 const ThumbnailScore& score);
82 // Get a thumbnail score for a given page. Returns true iff we have the
83 // thumbnail score. This may be invoked on any thread. The score will
84 // be copied to |score|.
85 virtual bool GetPageThumbnailScore(const GURL& url, ThumbnailScore* score);
87 // Get a temporary thumbnail score for a given page. Returns true iff we
88 // have the thumbnail score. Useful when checking if we should update a
89 // thumbnail for a given page. The score will be copied to |score|
[all...]
H A Dtop_sites_cache.cc29 const ThumbnailScore& score) {
32 img.thumbnail_score = score;
51 ThumbnailScore* score) {
55 *score = found->second.thumbnail_score;
27 SetPageThumbnail(const GURL& url, RefCountedBytes* thumbnail, const ThumbnailScore& score) argument
50 GetPageThumbnailScore(const GURL& url, ThumbnailScore* score) argument
H A Dtop_sites_cache.h37 const ThumbnailScore& score);
48 // Fetches the thumbnail score for the specified url. Returns true if
49 // there is a thumbnail score for the specified url.
50 bool GetPageThumbnailScore(const GURL& url, ThumbnailScore* score);
H A Dtop_sites_database.cc177 const ThumbnailScore& score = thumbnail.thumbnail_score; local
178 statement.BindDouble(3, score.boring_score);
179 statement.BindBool(4, score.good_clipping);
180 statement.BindBool(5, score.at_top);
181 statement.BindInt64(6, score.time_at_snapshot.ToInternalValue());
209 const ThumbnailScore& score = thumbnail.thumbnail_score; local
210 statement.BindDouble(5, score.boring_score);
211 statement.BindBool(6, score.good_clipping);
212 statement.BindBool(7, score.at_top);
213 statement.BindInt64(8, score
[all...]
H A Dvisitsegment_database.cc256 float score = 0; local
261 pud->SetScore(score);
266 score = 0;
283 score += recency_boost * day_visits_score;
287 pud->SetScore(score);
/external/srec/srec/ca/
H A Drec_resu.c43 int CA_FullResultScore(CA_Recog *hRecog, int *score, int do_incsil) argument
49 *score = cost;
/external/chromium/chrome/browser/autocomplete/
H A Dhistory_contents_provider.h45 int score);
H A Dhistory_quick_provider.cc99 // Artificially reduce the score of high-scoring results which should not be
125 int score = CalculateRelevance(history_match.raw_score, local
129 // Discount a very high score when a) a match doesn't start at the beginning
134 if (score > kMaxDontInlineScore &&
137 score = std::min(*next_dont_inline_score, score);
141 AutocompleteMatch match(this, score, !!info.visit_count(),
/external/apache-xml/src/main/java/org/apache/xalan/templates/
H A DTemplateSubPatternAssociation.java155 double score = m_stepPattern.getMatchScore(xctxt, targetNode);
157 return (XPath.MATCH_SCORE_NONE != score)
242 * @param mp The next association to score if this one fails.
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
H A DKeyIterator.java129 double score = matchExpr.getMatchScore(xctxt, testNode);
131 if (score == kd.getMatch().MATCH_SCORE_NONE)
/external/apache-xml/src/main/java/org/apache/xpath/axes/
H A DUnionChildIterator.java122 XObject score = pnt.execute(xctxt, n);
123 if (score != NodeTest.SCORE_NONE)
/external/webp/src/enc/
H A Dquant.c362 // Init/Copy the common fields in score.
368 rd->score = MAX_COST;
376 dst->score = src->score;
384 dst->score += src->score;
411 rd->score = rd->R * lambda + 256 * (rd->D + rd->SD);
452 // compute 'skip' score. This is the max score one can do.
508 score_t cost, base_cost, score; local
[all...]
/external/chromium/chrome/browser/password_manager/
H A Dpassword_form_manager.cc231 // they don't score as high as others and aren't added to best_matches_.
256 // This new login has a better score than all those up to this point
276 // lower-scored empty-path match (if it had equal score it would already be
437 int score = 0; local
443 score += (1 << 5) + static_cast<int>(form_path_tokens_.size());
455 score++;
458 score += (depth > 0) ? 1 << 4 : 0;
462 score += 1 << 3;
464 score += 1 << 2;
466 score
[all...]
/external/chromium/chrome/browser/safe_browsing/
H A Dclient_side_detection_service_unittest.cc67 float score) {
70 request->set_client_score(score);
232 float score = 0.4f; // Some random client score. local
238 EXPECT_FALSE(SendClientReportPhishingRequest(url, score));
245 EXPECT_TRUE(SendClientReportPhishingRequest(url, score));
252 EXPECT_FALSE(SendClientReportPhishingRequest(second_url, score));
66 SendClientReportPhishingRequest(const GURL& phishing_url, float score) argument

Completed in 305 milliseconds

1234