Home | History | Annotate | Download | only in src

Lines Matching defs:Ensure

83   // Ensure that the map contains initialized entries "x .. x+n-1".
85 bool Ensure(Number x, size_t n) {
88 // ensure a number y where array_[y] would be an out-of-bounds
127 // only grow, and we'll only be called to Ensure when we really grow the heap.
181 // Ensure that the map contains initialized and committed entries in array_ to
183 // Returns true if successful, false if we could not ensure this.
186 // Only the bits of committed_ near end-points for calls to Ensure() are ever
187 // set, as the calls to Ensure() will never have overlapping ranges other than
192 // of 40...50 is observed, then Ensure of (39,51) will be called. The range
195 // 51...83 are allocated, Ensure() will be called with arguments (50,84),
198 // After the above, we would NEVER get a call such as Ensure(45,60), as that
199 // overlaps with the interior of prior ensured regions. We ONLY get an Ensure
202 // can't induce an Ensure() on an interior of previous Ensure call.
209 bool Ensure(Number x, size_t n) {
211 return false; // We won't Ensure mapping for last pages in memory.
363 bool Ensure(Number start, size_t n) {
387 Ensure(0, 1 << BITS);
469 bool Ensure(Number start, size_t n) {