Searched refs:statPair (Results 1 – 5 of 5) sorted by relevance
49 std::pair<int, int64_t>& statPair = it->second; in ClearSpace() local50 if (statPair.first == 0) { in ClearSpace()54 int delNum = statPair.first / TIMES; in ClearSpace()57 delNum = statPair.first; in ClearSpace()59 statPair.first = 0; in ClearSpace()
27 int AppEventBlock::GetStat(std::pair<int, int64_t>& statPair) in GetStat() argument29 return blockDao_->CountPackages(statPair.first, statPair.second); in GetStat()
121 std::pair<int, int64_t> statPair; in GetBlocksStat() local122 if (block.second->GetStat(statPair) != DB_SUCC) { in GetBlocksStat()126 blocksStat.emplace(block.first, statPair); in GetBlocksStat()
164 std::pair<int, int64_t> statPair; variable165 result = block->GetStat(statPair);167 ASSERT_EQ(statPair.first, ADD_NUM - 2);168 ASSERT_EQ(statPair.second, TEST_PACKAGE.size() * (ADD_NUM - 2));218 auto statPair = blockStat.second; variable219 ASSERT_TRUE(statPair.first < ADD_NUM);220 ASSERT_TRUE(statPair.second < (TEST_PACKAGE.size() * ADD_NUM));
34 int GetStat(std::pair<int, int64_t>& statPair);