Home
last modified time | relevance | path

Searched refs:score_dict (Results 1 – 8 of 8) sorted by relevance

/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/media/
H A Dmedia_engagement_score_unittest.cc84 std::unique_ptr<base::DictionaryValue> score_dict, in TestScoreInitializesAndUpdates() argument
244 std::unique_ptr<base::DictionaryValue> score_dict = in TEST_F() local
254 std::move(score_dict)); in TEST_F()
480 std::unique_ptr<base::DictionaryValue> score_dict = in TEST_F() local
484 score_dict->SetInteger(kVisitsWithMediaTag, 10); in TEST_F()
485 score_dict->SetInteger(kAudiblePlaybacks, 10); in TEST_F()
486 score_dict->SetInteger(kSignificantPlaybacks, 10); in TEST_F()
487 score_dict->SetInteger(kHighScoreChanges, 10); in TEST_F()
488 score_dict->SetInteger(kMediaElementPlaybacks, 10); in TEST_F()
497 score_dict->SetInteger(kNotDeprectedUnknown, 10); in TEST_F()
[all …]
H A Dmedia_engagement_score.cc92 std::unique_ptr<base::DictionaryValue> score_dict, in MediaEngagementScore() argument
96 score_dict_(score_dict.release()), in MediaEngagementScore()
H A Dmedia_engagement_score.h91 std::unique_ptr<base::DictionaryValue> score_dict,
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/engagement/
H A Dsite_engagement_score.cc320 bool SiteEngagementScore::UpdateScoreDict(base::DictionaryValue* score_dict) { in UpdateScoreDict() argument
326 score_dict->GetDouble(kRawScoreKey, &raw_score_orig); in UpdateScoreDict()
327 score_dict->GetDouble(kPointsAddedTodayKey, &points_added_today_orig); in UpdateScoreDict()
328 score_dict->GetDouble(kLastEngagementTimeKey, in UpdateScoreDict()
330 score_dict->GetDouble(kLastShortcutLaunchTimeKey, in UpdateScoreDict()
346 score_dict->SetDouble(kRawScoreKey, raw_score_); in UpdateScoreDict()
347 score_dict->SetDouble(kPointsAddedTodayKey, points_added_today_); in UpdateScoreDict()
348 score_dict->SetDouble(kLastEngagementTimeKey, in UpdateScoreDict()
350 score_dict->SetDouble(kLastShortcutLaunchTimeKey, in UpdateScoreDict()
359 std::unique_ptr<base::DictionaryValue> score_dict) in SiteEngagementScore() argument
[all …]
H A Dsite_engagement_score.h200 std::unique_ptr<base::DictionaryValue> score_dict);
210 bool UpdateScoreDict(base::DictionaryValue* score_dict);
H A Dsite_engagement_score_unittest.cc80 std::unique_ptr<base::DictionaryValue> score_dict, in TestScoreInitializesAndUpdates() argument
84 std::unique_ptr<base::DictionaryValue> copy(score_dict->DeepCopy()); in TestScoreInitializesAndUpdates()
86 std::move(score_dict)); in TestScoreInitializesAndUpdates()
/dports/biology/py-biopython/biopython-1.79/Bio/Align/
H A DAlignInfo.py285 score_dict = dict.fromkeys(all_letters, 0)
297 score_dict[this_residue] += weight
303 pssm_info.append((left_seq[residue_num], score_dict))
/dports/biology/py-biopython/biopython-1.79/Bio/
H A Dpairwise2.py1277 def __init__(self, score_dict, symmetric=1): argument
1279 self.score_dict = score_dict
1284 if self.symmetric and (charA, charB) not in self.score_dict:
1288 return self.score_dict[(charA, charB)]