Searched refs:num_resources (Results 1 – 1 of 1) sorted by relevance
56 int OptimalShortenedLength(int num_resources) { in OptimalShortenedLength() argument59 double max_collisions = num_resources * 0.1; in OptimalShortenedLength()60 while (num_resources - N + N * pow((N - 1) / N, num_resources) > max_collisions) { in OptimalShortenedLength()