Home
last modified time | relevance | path

Searched refs:number_of_hits (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/chrome/browser/predictors/
Dautocomplete_action_predictor_table_unittest.cc124 lhs.number_of_hits == rhs.number_of_hits && in RowsAreEqual()
151 row1.number_of_hits = row1.number_of_hits + 1; in TestAddAndUpdateRows()
164 row0.number_of_hits = row0.number_of_hits + 2; in TestAddAndUpdateRows()
166 row2.number_of_hits = row2.number_of_hits + 2; in TestAddAndUpdateRows()
Dautocomplete_action_predictor_table.cc30 statement->BindInt(3, row.number_of_hits); in BindRowToStatement()
43 row->number_of_hits = statement->ColumnInt(3); in StepAndInitializeRow()
53 : number_of_hits(0), in Row()
60 int number_of_hits, in Row() argument
65 number_of_hits(number_of_hits), in Row()
73 number_of_hits(row.number_of_hits), in Row()
Dautocomplete_action_predictor_unittest.cc37 int number_of_hits; member
154 row.number_of_hits = test_row.number_of_hits; in CreateRowFromTestUrlInfo()
235 const DBCacheValue value = { test_url_db[0].number_of_hits, in TEST_F()
237 EXPECT_EQ(value.number_of_hits, it->second.number_of_hits); in TEST_F()
263 update_row.number_of_hits = it->second.number_of_hits + 1; in TEST_F()
272 EXPECT_EQ(update_row.number_of_hits, update_it->second.number_of_hits); in TEST_F()
Dautocomplete_action_predictor.cc391 row.number_of_hits = is_hit ? 1 : 0; in OnOmniboxOpenedUrl()
398 row.number_of_hits = it->second.number_of_hits + (is_hit ? 1 : 0); in OnOmniboxOpenedUrl()
432 DBCacheValue value = { it->number_of_hits, it->number_of_misses }; in AddAndUpdateRows()
449 db_it->second.number_of_hits = it->number_of_hits; in AddAndUpdateRows()
473 const DBCacheValue value = { it->number_of_hits, it->number_of_misses }; in CreateCaches()
599 if (value.number_of_hits < kMinimumNumberOfHits) in CalculateConfidenceForDbEntry()
602 const double number_of_hits = static_cast<double>(value.number_of_hits); in CalculateConfidenceForDbEntry() local
603 return number_of_hits / (number_of_hits + value.number_of_misses); in CalculateConfidenceForDbEntry()
Dresource_prefetch_predictor_tables.cc34 statement->BindInt(3, row.number_of_hits); in BindResourceRowToStatement()
50 row->number_of_hits = statement->ColumnInt(3); in StepAndInitializeResourceRow()
66 number_of_hits(0), in ResourceRow()
78 number_of_hits(other.number_of_hits), in ResourceRow()
96 number_of_hits(i_number_of_hits), in ResourceRow()
126 number_of_hits == rhs.number_of_hits && in operator ==()
Dautocomplete_action_predictor_table.h50 int number_of_hits,
58 int number_of_hits; member
Dresource_prefetch_predictor_tables.h44 int number_of_hits,
58 size_t number_of_hits; member
Dresource_prefetch_predictor.cc610 float confidence = static_cast<float>(it->number_of_hits) / in PopulatePrefetcherRequest()
611 (it->number_of_hits + it->number_of_misses); in PopulatePrefetcherRequest()
613 it->number_of_hits < config_.min_resource_hits_to_trigger_prefetch) { in PopulatePrefetcherRequest()
895 row_to_add.number_of_hits = 1; in LearnNavigation()
935 int total = old_row.number_of_hits + old_row.number_of_misses; in LearnNavigation()
938 ++old_row.number_of_hits; in LearnNavigation()
953 row_to_add.number_of_hits = 1; in LearnNavigation()
Dautocomplete_action_predictor.h146 int number_of_hits; member
Dresource_prefetch_predictor_tables_unittest.cc65 << "\t" << it->number_of_hits << "\t" << it->number_of_misses in PrintPrefetchData()
Dresource_prefetch_predictor_unittest.cc37 << "," << row.resource_type << "," << row.number_of_hits in PrintTo()
/external/chromium_org/chrome/browser/history/
Dshortcuts_database.cc46 s->BindInt(12, shortcut.number_of_hits); in BindShortcutToStatement()
97 int number_of_hits) in Shortcut() argument
102 number_of_hits(number_of_hits) { in Shortcut()
109 number_of_hits(0) { in Shortcut()
Dshortcuts_database.h75 int number_of_hits);
84 int number_of_hits; // How many times shortcut was selected. member
Dshortcuts_database_unittest.cc40 int number_of_hits; member
131 info.number_of_hits); in ShortcutFromTestInfo()
/external/chromium_org/chrome/browser/ui/webui/predictors/
Dpredictors_handler.cc71 entry->SetInteger("hit_count", it->second.number_of_hits); in RequestAutocompleteActionPredictorDb()
120 resource->SetInteger("number_of_hits", row->number_of_hits); in AddPrefetchDataMapToListValue()
/external/chromium_org/chrome/browser/resources/predictors/
Dresource_prefetch_predictor.js87 resource.number_of_hits;
/external/chromium_org/chrome/browser/autocomplete/
Dshortcuts_provider_unittest.cc63 int number_of_hits; member
334 cur.number_of_hits); in FillData()
748 shortcut.number_of_hits = 2; in TEST_F()
757 shortcut.number_of_hits = 3; in TEST_F()
Dshortcuts_provider.cc206 match.RecordAdditionalInfo("number of hits", shortcut.number_of_hits); in ShortcutToACMatch()
407 (shortcut.number_of_hits + kNumUsesPerDecaySpeedDivisorIncrement - 1) / in CalculateScore()
Dshortcuts_backend.cc133 it->second.number_of_hits + 1)); in AddOrUpdateShortcut()