Lines Matching full:capacity
14 /// The capacity of the ID pool may be adjusted by users as
98 /// The pool will have a capacity of [`MAX_INLINE_LEN`].
110 /// A capacity below [`MAX_INLINE_LEN`] is adjusted to [`MAX_INLINE_LEN`].
122 pub fn capacity(&self) -> usize { in capacity() method
128 /// The capacity of an [`IdPool`] cannot be shrunk below [`MAX_INLINE_LEN`].
148 /// assert_eq!(pool.capacity(), BitmapVec::MAX_INLINE_LEN);
153 let cap = self.capacity(); in shrink_request()
195 /// The capacity of an [`IdPool`] cannot be grown above [`MAX_LEN`].
200 let num_ids = self.capacity() * 2; in grow_request()
214 // another thread may have already grown the capacity. in grow()
216 if resizer.new.len() <= self.capacity() { in grow()