Searched refs:num_lost (Results 1 – 3 of 3) sorted by relevance
38 LossAccount() : num_total(0), num_lost(0) {} in LossAccount()39 LossAccount(size_t num_total, size_t num_lost) in LossAccount()40 : num_total(num_total), num_lost(num_lost) {} in LossAccount()45 size_t num_lost; member
265 num_lost += rhs.num_lost; in Add()269 num_lost -= rhs.num_lost; in Subtract()275 return static_cast<float>(num_lost) / num_total; in LossRatio()
121 EXPECT_EQ(loss_account_.num_lost, kLost); in TEST_F()127 EXPECT_EQ(loss_account_.num_lost, 0UL); in TEST_F()