Lines Matching defs:allocator
43 /// * Uses the excess returned from the allocator to use the largest available capacity.
120 /// Like `new`, but parameterized over the choice of allocator for
128 /// allocator for the returned `RawVec`.
136 /// allocator for the returned `RawVec`.
143 /// of allocator for the returned `RawVec`.
161 /// an allocator could overallocate and return a greater memory block than requested.
236 /// Reconstitutes a `RawVec` from a pointer, capacity, and allocator.
240 /// The `ptr` must be allocated (via the given allocator `alloc`), and with the given
267 /// Returns a shared reference to the allocator backing this `RawVec`.
268 pub fn allocator(&self) -> &A {
356 /// exactly the amount of memory necessary, but in principle the allocator
519 // The allocator checks for alignment equality