Lines Matching refs:candidate_len
173 get_edit_distance_cutoff (size_t goal_len, size_t candidate_len)
175 size_t max_length = MAX (goal_len, candidate_len);
176 size_t min_length = MIN (goal_len, candidate_len);
278 get_old_cutoff (size_t goal_len, size_t candidate_len)
280 return MAX (goal_len, candidate_len) / 2;
293 for (size_t candidate_len = 0; candidate_len < 30; candidate_len++)
294 ASSERT_TRUE (get_edit_distance_cutoff (goal_len, candidate_len)
295 <= get_old_cutoff (goal_len, candidate_len));