Searched refs:min_penalty (Results 1 – 1 of 1) sorted by relevance
116 int min_penalty = GetPenalty(size, best_size); in GetMaxSizeWithMinPenalty() local118 if (GetPenalty(size, i * 128) == min_penalty) { in GetMaxSizeWithMinPenalty()127 int min_penalty = std::numeric_limits<int>::max(); in GetMaxSizeWithMinPenalty() local129 min_penalty = std::min(GetPenalty(size, group), min_penalty); in GetMaxSizeWithMinPenalty()139 if (GetPenalty(size, int2(new_group_x, new_group_y)) == min_penalty) { in GetMaxSizeWithMinPenalty()