Searched refs:MAX_UID_RECORDS_SIZE (Results 1 – 3 of 3) sorted by relevance
132 static constexpr int MAX_UID_RECORDS_SIZE = 1000 * 48; // 1000 uids in 48 hours variable
672 for (size_t i = 0; i < uid_monitor::MAX_UID_RECORDS_SIZE * 2; i++) { in TEST()678 ASSERT_GT(io_history.size(), size_t(uid_monitor::MAX_UID_RECORDS_SIZE)); in TEST()685 ASSERT_LE(io_history.size(), size_t(uid_monitor::MAX_UID_RECORDS_SIZE)); in TEST()
250 ssize_t overflow = history_size(io_history_) + nitems - MAX_UID_RECORDS_SIZE; in maybe_shrink_history_for_items()