Lines Matching refs:stackPointer
189 private endVector(stackPointer: StackPointer) {
190 const vecLength = this.stack.length - stackPointer.stackPosition; constant
191 const vec = this.createVector(stackPointer.stackPosition, vecLength, 1);
192 this.stack.splice(stackPointer.stackPosition, vecLength);
196 private endMap(stackPointer: StackPointer) {
197 if (!stackPointer.presorted) {
198 this.sort(stackPointer);
201 for (let i = stackPointer.stackPosition; i < this.stack.length; i += 2) {
204 const vecLength = (this.stack.length - stackPointer.stackPosition) >> 1;
207 … this.keyVectorLookup[keyVectorHash] = this.createVector(stackPointer.stackPosition, vecLength, 2);
209 …pKeyVectors ? this.keyVectorLookup[keyVectorHash] : this.createVector(stackPointer.stackPosition, …
210 …const valuesStackValue = this.createVector(stackPointer.stackPosition + 1, vecLength, 2, keysStack…
211 this.stack.splice(stackPointer.stackPosition, vecLength << 1);
215 private sort(stackPointer: StackPointer) {
246 for (let i = stackPointer.stackPosition; i < stack.length; i += 2) {
307 for (let i = stackPointer.stackPosition; i < this.stack.length - 2; i += 2) {
315 if (this.stack.length - stackPointer.stackPosition > 40) {
316 quickSort(stackPointer.stackPosition, this.stack.length - 2);