Lines Matching refs:minSize

28     size_t minSize, size_t maxSize = minSize,
36 static assert(minSize != unbounded, "Use minSize = 0 for no low bound.");
40 private enum unchecked = minSize == 0 && maxSize == unbounded;
42 private enum hasTolerance = !unchecked && (minSize != maxSize
45 static if (minSize == chooseAtRuntime)
49 freelist. (If $(D minSize != chooseAtRuntime), this is simply an alias
50 for $(D minSize).)
58 If $(D FreeList) has been instantiated with $(D minSize ==
80 alias min = minSize;
104 Precondition: $(D high >= min), or $(D minSize == chooseAtRuntime) and
137 static if (minSize == 0) return false;
155 static if (minSize == 0)
159 static if (minSize == maxSize && minSize != chooseAtRuntime)
219 static if (minSize == chooseAtRuntime) private size_t _min = chooseAtRuntime;
241 assert(minSize != chooseAtRuntime && maxSize != chooseAtRuntime);
291 ($(D minSize == 0 && maxSize == size_t.max)), then the free list is
331 unchecked ($(D minSize == 0 && maxSize == size_t.max)), then inserts the
423 The options $(D minSize == unbounded) and $(D maxSize == unbounded) are not
427 size_t minSize, size_t maxSize = minSize)
436 alias Impl = FreeList!(NullAllocator, minSize, maxSize);
437 enum unchecked = minSize == 0 && maxSize == unbounded;
449 FreeList!(NullAllocator, minSize, maxSize) fl;
495 parameter is defined only if $(D minSize == chooseAtRuntime). If this
534 static if (minSize == chooseAtRuntime) fl.min = max;
544 static if (minSize == chooseAtRuntime) fl.min = max;
552 && minSize == chooseAtRuntime)
565 && minSize == chooseAtRuntime)
756 size_t minSize, size_t maxSize = minSize, size_t approxMaxNodes = unbounded)
763 static assert(minSize != unbounded, "Use minSize = 0 for no low bound.");
770 private enum unchecked = minSize == 0 && maxSize == unbounded;
772 static if (minSize != chooseAtRuntime)
774 alias min = minSize;
807 static if (minSize == 0) return false;
808 else static if (minSize == chooseAtRuntime) return n < _min;
809 else return n < minSize;
837 static if (minSize == maxSize && minSize != chooseAtRuntime)
905 // Set the maxSize first so setting the minSize doesn't throw
926 // Set the maxSize first so setting the minSize doesn't throw