Home | History | Annotate | Download | only in base

Lines Matching defs:threshold

97       Threshold
101 type(Threshold),
104 threshold(2) {
110 size_t threshold; // Maximum difference from desired size. 2 by default.
303 else if (value == "Threshold")
304 current_info->type = SubDirInfo::Threshold;
309 } else if (key == "Threshold") {
310 current_info->threshold = atoi(value.c_str());
337 if (size >= info->size - info->threshold &&
338 size <= info->size + info->threshold) {
341 return abs(size - info->size - info->threshold) <
342 abs(size - info->size + info->threshold)
343 ? size - info->size - info->threshold
344 : size - info->size + info->threshold;