Searched refs:HalfLifeTimeDecay (Results 1 – 4 of 4) sorted by relevance
369 TEST_F(OmniboxFieldTrialTest, HalfLifeTimeDecay) { in TEST_F() argument373 EXPECT_EQ(1.0, buckets.HalfLifeTimeDecay(base::TimeDelta::FromDays(7))); in TEST_F()376 EXPECT_EQ(0.5, buckets.HalfLifeTimeDecay(base::TimeDelta::FromDays(7))); in TEST_F()377 EXPECT_EQ(0.25, buckets.HalfLifeTimeDecay(base::TimeDelta::FromDays(14))); in TEST_F()378 EXPECT_EQ(1.0, buckets.HalfLifeTimeDecay(base::TimeDelta::FromDays(0))); in TEST_F()379 EXPECT_EQ(1.0, buckets.HalfLifeTimeDecay(base::TimeDelta::FromDays(-1))); in TEST_F()
35 double HalfLifeTimeDecay(const base::TimeDelta& elapsed_time) const;
97 double HUPScoringParams::ScoreBuckets::HalfLifeTimeDecay( in HalfLifeTimeDecay() function in HUPScoringParams::ScoreBuckets
132 decayed_count *= score_buckets.HalfLifeTimeDecay(time_since_last_visit); in CalculateRelevanceUsingScoreBuckets()