Searched refs:num_total (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()44 size_t num_total; member
264 num_total += rhs.num_total; in Add()268 num_total -= rhs.num_total; in Subtract()273 if (num_total == 0) in LossRatio()275 return static_cast<float>(num_lost) / num_total; in LossRatio()
120 EXPECT_EQ(loss_account_.num_total, kTotal); in TEST_F()126 EXPECT_EQ(loss_account_.num_total, 0UL); in TEST_F()