Lines Matching refs:shift

244             values.shift();
6607 _this2._pipe(_this2.buffers.shift());
6666 this._pipe(this.buffers.shift());
6717 this.buffers.shift();
31635 BN.prototype._ishlnsubmul = function _ishlnsubmul(num, mul, shift) {
31636 var len = num.length + shift;
31645 w = (this.words[i + shift] | 0) + carry;
31649 this.words[i + shift] = w & 0x3ffffff;
31652 for (; i < this.length - shift; i++) {
31653 w = (this.words[i + shift] | 0) + carry;
31655 this.words[i + shift] = w & 0x3ffffff;
31674 var shift = this.length - num.length;
31682 shift = 26 - bhiBits;
31684 if (shift !== 0) {
31685 b = b.ushln(shift);
31686 a.iushln(shift);
31744 if (mode !== 'div' && shift !== 0) {
31745 a.iushrn(shift);
32082 for (var shift = 0; a.isEven() && b.isEven(); shift++) {
32110 return b.iushln(shift);
32833 this.shift = this.m.bitLength();
32835 if (this.shift % 26 !== 0) {
32836 this.shift += 26 - this.shift % 26;
32839 this.r = new BN(1).iushln(this.shift);
32850 return this.imod(num.ushln(this.shift));
32867 var c = t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);
32868 var u = t.isub(c).iushrn(this.shift);
32883 var c = t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);
32884 var u = t.isub(c).iushrn(this.shift);
33581 for (var i = 0, shift = 0; i < this.length; i++) {
33582 var word = this.words[i] << shift | carry;
33593 if (shift === 6) {
33599 shift = 0;
33602 shift += 2;
33619 for (var i = 0, shift = 0; i < this.length; i++) {
33620 var word = this.words[i] << shift | carry;
33631 if (shift === 6) {
33637 shift = 0;
33640 shift += 2;
35323 BN.prototype._ishlnsubmul = function _ishlnsubmul(num, mul, shift) {
35324 var len = num.length + shift;
35333 w = (this.words[i + shift] | 0) + carry;
35337 this.words[i + shift] = w & 0x3ffffff;
35340 for (; i < this.length - shift; i++) {
35341 w = (this.words[i + shift] | 0) + carry;
35343 this.words[i + shift] = w & 0x3ffffff;
35362 var shift = this.length - num.length;
35370 shift = 26 - bhiBits;
35372 if (shift !== 0) {
35373 b = b.ushln(shift);
35374 a.iushln(shift);
35433 if (mode !== 'div' && shift !== 0) {
35434 a.iushrn(shift);
35782 for (var shift = 0; a.isEven() && b.isEven(); shift++) {
35810 return b.iushln(shift);
36536 this.shift = this.m.bitLength();
36538 if (this.shift % 26 !== 0) {
36539 this.shift += 26 - this.shift % 26;
36542 this.r = new BN(1).iushln(this.shift);
36553 return this.imod(num.ushln(this.shift));
36570 var c = t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);
36571 var u = t.isub(c).iushrn(this.shift);
36586 var c = t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);
36587 var u = t.isub(c).iushrn(this.shift);
38512 var shift = (obits.length << 3) - q.bitLength();
38513 if (shift > 0) bits.ishrn(shift);
44848 var shift = shiftTable[i >>> 1];
44849 kL = utils.r28shl(kL, shift);
44850 kR = utils.r28shl(kR, shift);
45124 exports.r28shl = function r28shl(num, shift) {
45125 return num << shift & 0xfffffff | num >>> 28 - shift;
48917 if (position === 0) list.shift();else spliceOne(list, position);
51544 this.push(this.contentBuffer.shift());
51582 this.previous = this._sources.shift();
51858 var zipEntries = results.shift();
62610 var source = sources.shift();
72689 if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) {
73999 value: function shift() {
74053 ret = this.shift();
80082 if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) {
80105 ret = list.shift();
81147 BufferList.prototype.shift = function shift() {