| Index: lib/runtime/dart_sdk.js
|
| diff --git a/lib/runtime/dart_sdk.js b/lib/runtime/dart_sdk.js
|
| index 1cbda8bd0614d3f46a886f619f5036d6ad1f65a0..2b80cf605c72208f5852d37756d467bc541e9ef9 100644
|
| --- a/lib/runtime/dart_sdk.js
|
| +++ b/lib/runtime/dart_sdk.js
|
| @@ -2727,17 +2727,17 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return this >= other;
|
| }
|
| get [dartx.isEven]() {
|
| - return (this & 1) == 0;
|
| + return (this & 1) >>> 0 == 0;
|
| }
|
| get [dartx.isOdd]() {
|
| - return (this & 1) == 1;
|
| + return (this & 1) >>> 0 == 1;
|
| }
|
| [dartx.toUnsigned](width) {
|
| - return this & (1 << dart.notNull(width)) - 1;
|
| + return (this & (1)[dartx['<<']](width) - 1) >>> 0;
|
| }
|
| [dartx.toSigned](width) {
|
| - let signMask = 1 << dart.notNull(width) - 1;
|
| - return (this & signMask - 1) - (this & signMask);
|
| + let signMask = (1)[dartx['<<']](dart.notNull(width) - 1);
|
| + return ((this & signMask - 1) >>> 0) - ((this & signMask) >>> 0);
|
| }
|
| get [dartx.bitLength]() {
|
| let nonneg = this < 0 ? -this - 1 : this;
|
| @@ -2748,12 +2748,12 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return _interceptors.JSNumber._bitCount(_interceptors.JSNumber._spread(nonneg));
|
| }
|
| static _bitCount(i) {
|
| - i = dart.notNull(_interceptors.JSNumber._shru(i, 0)) - (dart.notNull(_interceptors.JSNumber._shru(i, 1)) & 1431655765);
|
| - i = (dart.notNull(i) & 858993459) + (dart.notNull(_interceptors.JSNumber._shru(i, 2)) & 858993459);
|
| - i = 252645135 & dart.notNull(i) + dart.notNull(_interceptors.JSNumber._shru(i, 4));
|
| + i = dart.notNull(_interceptors.JSNumber._shru(i, 0)) - ((dart.notNull(_interceptors.JSNumber._shru(i, 1)) & 1431655765) >>> 0);
|
| + i = ((dart.notNull(i) & 858993459) >>> 0) + ((dart.notNull(_interceptors.JSNumber._shru(i, 2)) & 858993459) >>> 0);
|
| + i = (252645135 & dart.notNull(i) + dart.notNull(_interceptors.JSNumber._shru(i, 4))) >>> 0;
|
| i = dart.notNull(i) + dart.notNull(_interceptors.JSNumber._shru(i, 8));
|
| i = dart.notNull(i) + dart.notNull(_interceptors.JSNumber._shru(i, 16));
|
| - return dart.notNull(i) & 63;
|
| + return (dart.notNull(i) & 63) >>> 0;
|
| }
|
| static _shru(value, shift) {
|
| return value >>> shift;
|
| @@ -3137,7 +3137,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| let result = '';
|
| let s = this;
|
| while (true) {
|
| - if ((dart.notNull(times) & 1) == 1) result = s + result;
|
| + if ((dart.notNull(times) & 1) >>> 0 == 1) result = s + result;
|
| times = times >>> 1;
|
| if (times == 0) break;
|
| s = s + s;
|
| @@ -3228,13 +3228,13 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| get hashCode() {
|
| let hash = 0;
|
| for (let i = 0; i < dart.notNull(this[dartx.length]); i++) {
|
| - hash = 536870911 & hash + this.charCodeAt(i);
|
| - hash = 536870911 & hash + ((524287 & hash) << 10);
|
| + hash = (536870911 & hash + this.charCodeAt(i)) >>> 0;
|
| + hash = (536870911 & hash + ((524287 & hash) >>> 0)[dartx['<<']](10)) >>> 0;
|
| hash = hash ^ hash >> 6;
|
| }
|
| - hash = 536870911 & hash + ((67108863 & hash) << 3);
|
| + hash = (536870911 & hash + ((67108863 & hash) >>> 0)[dartx['<<']](3)) >>> 0;
|
| hash = hash ^ hash >> 11;
|
| - return 536870911 & hash + ((16383 & hash) << 15);
|
| + return (536870911 & hash + ((16383 & hash) >>> 0)[dartx['<<']](15)) >>> 0;
|
| }
|
| get runtimeType() {
|
| return core.String;
|
| @@ -6565,7 +6565,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| }
|
| get hashCode() {
|
| let arbitraryPrime = 664597;
|
| - return 536870911 & arbitraryPrime * dart.notNull(dart.hashCode(this[_name]));
|
| + return (536870911 & arbitraryPrime * dart.notNull(dart.hashCode(this[_name]))) >>> 0;
|
| }
|
| toString() {
|
| return `Symbol("${this[_name]}")`;
|
| @@ -7518,7 +7518,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return dart.is(other, _isolate_helper._WorkerSendPort) && this[_workerId] == other[_workerId] && this[_isolateId] == other[_isolateId] && this[_receivePortId] == other[_receivePortId];
|
| }
|
| get hashCode() {
|
| - return dart.notNull(this[_workerId]) << 16 ^ dart.notNull(this[_isolateId]) << 8 ^ dart.notNull(this[_receivePortId]);
|
| + return ((this[_workerId][dartx['<<']](16) ^ this[_isolateId][dartx['<<']](8)) >>> 0 ^ dart.notNull(this[_receivePortId])) >>> 0;
|
| }
|
| };
|
| _isolate_helper._WorkerSendPort[dart.implements] = () => [isolate.SendPort];
|
| @@ -8413,13 +8413,13 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| }
|
| get hashCode() {
|
| let hash = this[_id];
|
| - hash = dart.notNull(hash) >> 0 ^ (dart.notNull(hash) / 4294967296)[dartx.truncate]();
|
| - hash = ~dart.notNull(hash) + (dart.notNull(hash) << 15) & 4294967295;
|
| - hash = dart.notNull(hash) ^ dart.notNull(hash) >> 12;
|
| - hash = dart.notNull(hash) * 5 & 4294967295;
|
| - hash = dart.notNull(hash) ^ dart.notNull(hash) >> 4;
|
| - hash = dart.notNull(hash) * 2057 & 4294967295;
|
| - hash = dart.notNull(hash) ^ dart.notNull(hash) >> 16;
|
| + hash = (hash[dartx['>>']](0) ^ (dart.notNull(hash) / 4294967296)[dartx.truncate]()) >>> 0;
|
| + hash = ((~dart.notNull(hash) >>> 0) + hash[dartx['<<']](15) & 4294967295) >>> 0;
|
| + hash = (dart.notNull(hash) ^ hash[dartx['>>']](12)) >>> 0;
|
| + hash = (dart.notNull(hash) * 5 & 4294967295) >>> 0;
|
| + hash = (dart.notNull(hash) ^ hash[dartx['>>']](4)) >>> 0;
|
| + hash = (dart.notNull(hash) * 2057 & 4294967295) >>> 0;
|
| + hash = (dart.notNull(hash) ^ hash[dartx['>>']](16)) >>> 0;
|
| return hash;
|
| }
|
| ['=='](other) {
|
| @@ -8896,7 +8896,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| }
|
| let digitsPart = dart.as(dart.dindex(match, digitsIndex), core.String);
|
| for (let i = 0; i < dart.notNull(digitsPart[dartx.length]); i++) {
|
| - let characterCode = dart.notNull(digitsPart[dartx.codeUnitAt](0)) | 32;
|
| + let characterCode = (dart.notNull(digitsPart[dartx.codeUnitAt](0)) | 32) >>> 0;
|
| if (dart.notNull(digitsPart[dartx.codeUnitAt](i)) > dart.notNull(maxCharCode)) {
|
| return handleError(source);
|
| }
|
| @@ -9090,7 +9090,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| }
|
| static getWeekday(receiver) {
|
| let weekday = dart.notNull(dart.as(dart.dload(receiver, 'isUtc'), core.bool)) ? _js_helper.Primitives.lazyAsJsDate(receiver).getUTCDay() + 0 : _js_helper.Primitives.lazyAsJsDate(receiver).getDay() + 0;
|
| - return (weekday + 6) % 7 + 1;
|
| + return (weekday + 6)[dartx['%']](7) + 1;
|
| }
|
| static valueFromDateString(str) {
|
| if (!(typeof str == 'string')) dart.throw(new core.ArgumentError(str));
|
| @@ -9936,9 +9936,9 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| while (i < dart.notNull(length)) {
|
| buffer.write(dart.dcall(onMatch, new _js_helper.StringMatch(i, dart.as(receiver, core.String), "")));
|
| let code = dart.as(dart.dsend(receiver, 'codeUnitAt', i), core.int);
|
| - if ((dart.notNull(code) & ~1023) == 55296 && dart.notNull(length) > i + 1) {
|
| + if ((dart.notNull(code) & ~1023 >>> 0) >>> 0 == 55296 && dart.notNull(length) > i + 1) {
|
| code = dart.as(dart.dsend(receiver, 'codeUnitAt', i + 1), core.int);
|
| - if ((dart.notNull(code) & ~1023) == 56320) {
|
| + if ((dart.notNull(code) & ~1023 >>> 0) >>> 0 == 56320) {
|
| buffer.write(dart.dcall(onNonMatch, dart.dsend(receiver, 'substring', i, i + 2)));
|
| i = i + 2;
|
| continue;
|
| @@ -12620,10 +12620,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| _native_typed_data.NativeFloat32x4._list[dartx.set](1, this.y);
|
| _native_typed_data.NativeFloat32x4._list[dartx.set](2, this.z);
|
| _native_typed_data.NativeFloat32x4._list[dartx.set](3, this.w);
|
| - mx = (dart.notNull(view[dartx.get](0)) & 2147483648) >> 31;
|
| - my = (dart.notNull(view[dartx.get](1)) & 2147483648) >> 30;
|
| - mz = (dart.notNull(view[dartx.get](2)) & 2147483648) >> 29;
|
| - mw = (dart.notNull(view[dartx.get](3)) & 2147483648) >> 28;
|
| + mx = ((dart.notNull(view[dartx.get](0)) & 2147483648) >>> 0)[dartx['>>']](31);
|
| + my = ((dart.notNull(view[dartx.get](1)) & 2147483648) >>> 0)[dartx['>>']](30);
|
| + mz = ((dart.notNull(view[dartx.get](2)) & 2147483648) >>> 0)[dartx['>>']](29);
|
| + mw = ((dart.notNull(view[dartx.get](3)) & 2147483648) >>> 0)[dartx['>>']](28);
|
| return dart.as(dart.dsend(dart.dsend(dart.dsend(mx, '|', my), '|', mz), '|', mw), core.int);
|
| }
|
| shuffle(m) {
|
| @@ -12634,10 +12634,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| _native_typed_data.NativeFloat32x4._list[dartx.set](1, this.y);
|
| _native_typed_data.NativeFloat32x4._list[dartx.set](2, this.z);
|
| _native_typed_data.NativeFloat32x4._list[dartx.set](3, this.w);
|
| - let _x = _native_typed_data.NativeFloat32x4._list[dartx.get](dart.notNull(m) & 3);
|
| - let _y = _native_typed_data.NativeFloat32x4._list[dartx.get](dart.notNull(m) >> 2 & 3);
|
| - let _z = _native_typed_data.NativeFloat32x4._list[dartx.get](dart.notNull(m) >> 4 & 3);
|
| - let _w = _native_typed_data.NativeFloat32x4._list[dartx.get](dart.notNull(m) >> 6 & 3);
|
| + let _x = _native_typed_data.NativeFloat32x4._list[dartx.get]((dart.notNull(m) & 3) >>> 0);
|
| + let _y = _native_typed_data.NativeFloat32x4._list[dartx.get]((m[dartx['>>']](2) & 3) >>> 0);
|
| + let _z = _native_typed_data.NativeFloat32x4._list[dartx.get]((m[dartx['>>']](4) & 3) >>> 0);
|
| + let _w = _native_typed_data.NativeFloat32x4._list[dartx.get]((m[dartx['>>']](6) & 3) >>> 0);
|
| return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w);
|
| }
|
| shuffleMix(other, m) {
|
| @@ -12648,14 +12648,14 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| _native_typed_data.NativeFloat32x4._list[dartx.set](1, this.y);
|
| _native_typed_data.NativeFloat32x4._list[dartx.set](2, this.z);
|
| _native_typed_data.NativeFloat32x4._list[dartx.set](3, this.w);
|
| - let _x = _native_typed_data.NativeFloat32x4._list[dartx.get](dart.notNull(m) & 3);
|
| - let _y = _native_typed_data.NativeFloat32x4._list[dartx.get](dart.notNull(m) >> 2 & 3);
|
| + let _x = _native_typed_data.NativeFloat32x4._list[dartx.get]((dart.notNull(m) & 3) >>> 0);
|
| + let _y = _native_typed_data.NativeFloat32x4._list[dartx.get]((m[dartx['>>']](2) & 3) >>> 0);
|
| _native_typed_data.NativeFloat32x4._list[dartx.set](0, other.x);
|
| _native_typed_data.NativeFloat32x4._list[dartx.set](1, other.y);
|
| _native_typed_data.NativeFloat32x4._list[dartx.set](2, other.z);
|
| _native_typed_data.NativeFloat32x4._list[dartx.set](3, other.w);
|
| - let _z = _native_typed_data.NativeFloat32x4._list[dartx.get](dart.notNull(m) >> 4 & 3);
|
| - let _w = _native_typed_data.NativeFloat32x4._list[dartx.get](dart.notNull(m) >> 6 & 3);
|
| + let _z = _native_typed_data.NativeFloat32x4._list[dartx.get]((m[dartx['>>']](4) & 3) >>> 0);
|
| + let _w = _native_typed_data.NativeFloat32x4._list[dartx.get]((m[dartx['>>']](6) & 3) >>> 0);
|
| return new _native_typed_data.NativeFloat32x4._truncated(_x, _y, _z, _w);
|
| }
|
| withX(newX) {
|
| @@ -12818,11 +12818,11 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return new _native_typed_data.NativeInt32x4._truncated(-this.x | 0, -this.y | 0, -this.z | 0, -this.w | 0);
|
| }
|
| get signMask() {
|
| - let mx = (dart.notNull(this.x) & 2147483648) >> 31;
|
| - let my = (dart.notNull(this.y) & 2147483648) >> 31;
|
| - let mz = (dart.notNull(this.z) & 2147483648) >> 31;
|
| - let mw = (dart.notNull(this.w) & 2147483648) >> 31;
|
| - return mx | my << 1 | mz << 2 | mw << 3;
|
| + let mx = ((dart.notNull(this.x) & 2147483648) >>> 0)[dartx['>>']](31);
|
| + let my = ((dart.notNull(this.y) & 2147483648) >>> 0)[dartx['>>']](31);
|
| + let mz = ((dart.notNull(this.z) & 2147483648) >>> 0)[dartx['>>']](31);
|
| + let mw = ((dart.notNull(this.w) & 2147483648) >>> 0)[dartx['>>']](31);
|
| + return (((mx | my[dartx['<<']](1)) >>> 0 | mz[dartx['<<']](2)) >>> 0 | mw[dartx['<<']](3)) >>> 0;
|
| }
|
| shuffle(mask) {
|
| if (dart.notNull(mask) < 0 || dart.notNull(mask) > 255) {
|
| @@ -12832,10 +12832,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| _native_typed_data.NativeInt32x4._list[dartx.set](1, this.y);
|
| _native_typed_data.NativeInt32x4._list[dartx.set](2, this.z);
|
| _native_typed_data.NativeInt32x4._list[dartx.set](3, this.w);
|
| - let _x = _native_typed_data.NativeInt32x4._list[dartx.get](dart.notNull(mask) & 3);
|
| - let _y = _native_typed_data.NativeInt32x4._list[dartx.get](dart.notNull(mask) >> 2 & 3);
|
| - let _z = _native_typed_data.NativeInt32x4._list[dartx.get](dart.notNull(mask) >> 4 & 3);
|
| - let _w = _native_typed_data.NativeInt32x4._list[dartx.get](dart.notNull(mask) >> 6 & 3);
|
| + let _x = _native_typed_data.NativeInt32x4._list[dartx.get]((dart.notNull(mask) & 3) >>> 0);
|
| + let _y = _native_typed_data.NativeInt32x4._list[dartx.get]((mask[dartx['>>']](2) & 3) >>> 0);
|
| + let _z = _native_typed_data.NativeInt32x4._list[dartx.get]((mask[dartx['>>']](4) & 3) >>> 0);
|
| + let _w = _native_typed_data.NativeInt32x4._list[dartx.get]((mask[dartx['>>']](6) & 3) >>> 0);
|
| return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w);
|
| }
|
| shuffleMix(other, mask) {
|
| @@ -12846,14 +12846,14 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| _native_typed_data.NativeInt32x4._list[dartx.set](1, this.y);
|
| _native_typed_data.NativeInt32x4._list[dartx.set](2, this.z);
|
| _native_typed_data.NativeInt32x4._list[dartx.set](3, this.w);
|
| - let _x = _native_typed_data.NativeInt32x4._list[dartx.get](dart.notNull(mask) & 3);
|
| - let _y = _native_typed_data.NativeInt32x4._list[dartx.get](dart.notNull(mask) >> 2 & 3);
|
| + let _x = _native_typed_data.NativeInt32x4._list[dartx.get]((dart.notNull(mask) & 3) >>> 0);
|
| + let _y = _native_typed_data.NativeInt32x4._list[dartx.get]((mask[dartx['>>']](2) & 3) >>> 0);
|
| _native_typed_data.NativeInt32x4._list[dartx.set](0, other.x);
|
| _native_typed_data.NativeInt32x4._list[dartx.set](1, other.y);
|
| _native_typed_data.NativeInt32x4._list[dartx.set](2, other.z);
|
| _native_typed_data.NativeInt32x4._list[dartx.set](3, other.w);
|
| - let _z = _native_typed_data.NativeInt32x4._list[dartx.get](dart.notNull(mask) >> 4 & 3);
|
| - let _w = _native_typed_data.NativeInt32x4._list[dartx.get](dart.notNull(mask) >> 6 & 3);
|
| + let _z = _native_typed_data.NativeInt32x4._list[dartx.get]((mask[dartx['>>']](4) & 3) >>> 0);
|
| + let _w = _native_typed_data.NativeInt32x4._list[dartx.get]((mask[dartx['>>']](6) & 3) >>> 0);
|
| return new _native_typed_data.NativeInt32x4._truncated(_x, _y, _z, _w);
|
| }
|
| withX(x) {
|
| @@ -12919,10 +12919,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| let sfy = intView[dartx.get](1);
|
| let sfz = intView[dartx.get](2);
|
| let sfw = intView[dartx.get](3);
|
| - let _x = dart.notNull(this.x) & dart.notNull(stx) | ~dart.notNull(this.x) & dart.notNull(sfx);
|
| - let _y = dart.notNull(this.y) & dart.notNull(sty) | ~dart.notNull(this.y) & dart.notNull(sfy);
|
| - let _z = dart.notNull(this.z) & dart.notNull(stz) | ~dart.notNull(this.z) & dart.notNull(sfz);
|
| - let _w = dart.notNull(this.w) & dart.notNull(stw) | ~dart.notNull(this.w) & dart.notNull(sfw);
|
| + let _x = ((dart.notNull(this.x) & dart.notNull(stx)) >>> 0 | (~dart.notNull(this.x) >>> 0 & dart.notNull(sfx)) >>> 0) >>> 0;
|
| + let _y = ((dart.notNull(this.y) & dart.notNull(sty)) >>> 0 | (~dart.notNull(this.y) >>> 0 & dart.notNull(sfy)) >>> 0) >>> 0;
|
| + let _z = ((dart.notNull(this.z) & dart.notNull(stz)) >>> 0 | (~dart.notNull(this.z) >>> 0 & dart.notNull(sfz)) >>> 0) >>> 0;
|
| + let _w = ((dart.notNull(this.w) & dart.notNull(stw)) >>> 0 | (~dart.notNull(this.w) >>> 0 & dart.notNull(sfw)) >>> 0) >>> 0;
|
| intView[dartx.set](0, _x);
|
| intView[dartx.set](1, _y);
|
| intView[dartx.set](2, _z);
|
| @@ -13028,9 +13028,9 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| let view = _native_typed_data.NativeFloat64x2._uint32View;
|
| _native_typed_data.NativeFloat64x2._list[dartx.set](0, this.x);
|
| _native_typed_data.NativeFloat64x2._list[dartx.set](1, this.y);
|
| - let mx = (dart.notNull(view[dartx.get](1)) & 2147483648) >> 31;
|
| - let my = (dart.notNull(view[dartx.get](3)) & 2147483648) >> 31;
|
| - return mx | my << 1;
|
| + let mx = ((dart.notNull(view[dartx.get](1)) & 2147483648) >>> 0)[dartx['>>']](31);
|
| + let my = ((dart.notNull(view[dartx.get](3)) & 2147483648) >>> 0)[dartx['>>']](31);
|
| + return (mx | my[dartx['<<']](1)) >>> 0;
|
| }
|
| withX(x) {
|
| if (!(typeof x == 'number')) dart.throw(new core.ArgumentError(x));
|
| @@ -13195,7 +13195,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return this[_controller$][_subscribe](onData, onError, onDone, cancelOnError);
|
| }
|
| get hashCode() {
|
| - return dart.notNull(dart.hashCode(this[_controller$])) ^ 892482866;
|
| + return (dart.notNull(dart.hashCode(this[_controller$])) ^ 892482866) >>> 0;
|
| }
|
| ['=='](other) {
|
| if (core.identical(this, other)) return true;
|
| @@ -13297,7 +13297,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| if (pendingEvents == null) return;
|
| this[_pending] = pendingEvents;
|
| if (!dart.notNull(pendingEvents.isEmpty)) {
|
| - this[_state] = dart.notNull(this[_state]) | dart.notNull(async._BufferingStreamSubscription._STATE_HAS_PENDING);
|
| + this[_state] = (dart.notNull(this[_state]) | dart.notNull(async._BufferingStreamSubscription._STATE_HAS_PENDING)) >>> 0;
|
| this[_pending].schedule(this);
|
| }
|
| }
|
| @@ -13326,7 +13326,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| if (dart.notNull(this[_isCanceled])) return;
|
| let wasPaused = this[_isPaused];
|
| let wasInputPaused = this[_isInputPaused];
|
| - this[_state] = dart.notNull(this[_state]) + dart.notNull(async._BufferingStreamSubscription._STATE_PAUSE_COUNT) | dart.notNull(async._BufferingStreamSubscription._STATE_INPUT_PAUSED);
|
| + this[_state] = (dart.notNull(this[_state]) + dart.notNull(async._BufferingStreamSubscription._STATE_PAUSE_COUNT) | dart.notNull(async._BufferingStreamSubscription._STATE_INPUT_PAUSED)) >>> 0;
|
| if (resumeSignal != null) resumeSignal.whenComplete(dart.bind(this, 'resume'));
|
| if (!dart.notNull(wasPaused) && this[_pending] != null) this[_pending].cancelSchedule();
|
| if (!dart.notNull(wasInputPaused) && !dart.notNull(this[_inCallback])) this[_guardCallback](dart.bind(this, _onPause));
|
| @@ -13340,14 +13340,14 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| this[_pending].schedule(this);
|
| } else {
|
| dart.assert(this[_mayResumeInput]);
|
| - this[_state] = dart.notNull(this[_state]) & ~dart.notNull(async._BufferingStreamSubscription._STATE_INPUT_PAUSED);
|
| + this[_state] = (dart.notNull(this[_state]) & ~dart.notNull(async._BufferingStreamSubscription._STATE_INPUT_PAUSED) >>> 0) >>> 0;
|
| if (!dart.notNull(this[_inCallback])) this[_guardCallback](dart.bind(this, _onResume));
|
| }
|
| }
|
| }
|
| }
|
| cancel() {
|
| - this[_state] = dart.notNull(this[_state]) & ~dart.notNull(async._BufferingStreamSubscription._STATE_WAIT_FOR_CANCEL);
|
| + this[_state] = (dart.notNull(this[_state]) & ~dart.notNull(async._BufferingStreamSubscription._STATE_WAIT_FOR_CANCEL) >>> 0) >>> 0;
|
| if (dart.notNull(this[_isCanceled])) return this[_cancelFuture];
|
| this[_cancel]();
|
| return this[_cancelFuture];
|
| @@ -13365,22 +13365,22 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return result;
|
| }
|
| get [_isInputPaused]() {
|
| - return (dart.notNull(this[_state]) & dart.notNull(async._BufferingStreamSubscription._STATE_INPUT_PAUSED)) != 0;
|
| + return (dart.notNull(this[_state]) & dart.notNull(async._BufferingStreamSubscription._STATE_INPUT_PAUSED)) >>> 0 != 0;
|
| }
|
| get [_isClosed$]() {
|
| - return (dart.notNull(this[_state]) & dart.notNull(async._BufferingStreamSubscription._STATE_CLOSED)) != 0;
|
| + return (dart.notNull(this[_state]) & dart.notNull(async._BufferingStreamSubscription._STATE_CLOSED)) >>> 0 != 0;
|
| }
|
| get [_isCanceled]() {
|
| - return (dart.notNull(this[_state]) & dart.notNull(async._BufferingStreamSubscription._STATE_CANCELED)) != 0;
|
| + return (dart.notNull(this[_state]) & dart.notNull(async._BufferingStreamSubscription._STATE_CANCELED)) >>> 0 != 0;
|
| }
|
| get [_waitsForCancel]() {
|
| - return (dart.notNull(this[_state]) & dart.notNull(async._BufferingStreamSubscription._STATE_WAIT_FOR_CANCEL)) != 0;
|
| + return (dart.notNull(this[_state]) & dart.notNull(async._BufferingStreamSubscription._STATE_WAIT_FOR_CANCEL)) >>> 0 != 0;
|
| }
|
| get [_inCallback]() {
|
| - return (dart.notNull(this[_state]) & dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK)) != 0;
|
| + return (dart.notNull(this[_state]) & dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK)) >>> 0 != 0;
|
| }
|
| get [_hasPending]() {
|
| - return (dart.notNull(this[_state]) & dart.notNull(async._BufferingStreamSubscription._STATE_HAS_PENDING)) != 0;
|
| + return (dart.notNull(this[_state]) & dart.notNull(async._BufferingStreamSubscription._STATE_HAS_PENDING)) >>> 0 != 0;
|
| }
|
| get [_isPaused]() {
|
| return dart.notNull(this[_state]) >= dart.notNull(async._BufferingStreamSubscription._STATE_PAUSE_COUNT);
|
| @@ -13392,13 +13392,13 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return !dart.notNull(this[_isPaused]) && (this[_pending] == null || dart.notNull(this[_pending].isEmpty));
|
| }
|
| get [_cancelOnError]() {
|
| - return (dart.notNull(this[_state]) & dart.notNull(async._BufferingStreamSubscription._STATE_CANCEL_ON_ERROR)) != 0;
|
| + return (dart.notNull(this[_state]) & dart.notNull(async._BufferingStreamSubscription._STATE_CANCEL_ON_ERROR)) >>> 0 != 0;
|
| }
|
| get isPaused() {
|
| return this[_isPaused];
|
| }
|
| [_cancel]() {
|
| - this[_state] = dart.notNull(this[_state]) | dart.notNull(async._BufferingStreamSubscription._STATE_CANCELED);
|
| + this[_state] = (dart.notNull(this[_state]) | dart.notNull(async._BufferingStreamSubscription._STATE_CANCELED)) >>> 0;
|
| if (dart.notNull(this[_hasPending])) {
|
| this[_pending].cancelSchedule();
|
| }
|
| @@ -13406,7 +13406,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| this[_cancelFuture] = this[_onCancel]();
|
| }
|
| [_incrementPauseCount]() {
|
| - this[_state] = dart.notNull(this[_state]) + dart.notNull(async._BufferingStreamSubscription._STATE_PAUSE_COUNT) | dart.notNull(async._BufferingStreamSubscription._STATE_INPUT_PAUSED);
|
| + this[_state] = (dart.notNull(this[_state]) + dart.notNull(async._BufferingStreamSubscription._STATE_PAUSE_COUNT) | dart.notNull(async._BufferingStreamSubscription._STATE_INPUT_PAUSED)) >>> 0;
|
| }
|
| [_decrementPauseCount]() {
|
| dart.assert(this[_isPaused]);
|
| @@ -13433,7 +13433,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| [_close$]() {
|
| dart.assert(!dart.notNull(this[_isClosed$]));
|
| if (dart.notNull(this[_isCanceled])) return;
|
| - this[_state] = dart.notNull(this[_state]) | dart.notNull(async._BufferingStreamSubscription._STATE_CLOSED);
|
| + this[_state] = (dart.notNull(this[_state]) | dart.notNull(async._BufferingStreamSubscription._STATE_CLOSED)) >>> 0;
|
| if (dart.notNull(this[_canFire])) {
|
| this[_sendDone]();
|
| } else {
|
| @@ -13455,7 +13455,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| if (this[_pending] == null) pending = this[_pending] = new async._StreamImplEvents();
|
| pending.add(event);
|
| if (!dart.notNull(this[_hasPending])) {
|
| - this[_state] = dart.notNull(this[_state]) | dart.notNull(async._BufferingStreamSubscription._STATE_HAS_PENDING);
|
| + this[_state] = (dart.notNull(this[_state]) | dart.notNull(async._BufferingStreamSubscription._STATE_HAS_PENDING)) >>> 0;
|
| if (!dart.notNull(this[_isPaused])) {
|
| this[_pending].schedule(this);
|
| }
|
| @@ -13467,9 +13467,9 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| dart.assert(!dart.notNull(this[_isPaused]));
|
| dart.assert(!dart.notNull(this[_inCallback]));
|
| let wasInputPaused = this[_isInputPaused];
|
| - this[_state] = dart.notNull(this[_state]) | dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK);
|
| + this[_state] = (dart.notNull(this[_state]) | dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK)) >>> 0;
|
| this[_zone].runUnaryGuarded(this[_onData], data);
|
| - this[_state] = dart.notNull(this[_state]) & ~dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK);
|
| + this[_state] = (dart.notNull(this[_state]) & ~dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK) >>> 0) >>> 0;
|
| this[_checkState](wasInputPaused);
|
| }
|
| [_sendError](error, stackTrace) {
|
| @@ -13479,17 +13479,17 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| let wasInputPaused = this[_isInputPaused];
|
| const sendError = (function() {
|
| if (dart.notNull(this[_isCanceled]) && !dart.notNull(this[_waitsForCancel])) return;
|
| - this[_state] = dart.notNull(this[_state]) | dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK);
|
| + this[_state] = (dart.notNull(this[_state]) | dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK)) >>> 0;
|
| if (dart.is(this[_onError], async.ZoneBinaryCallback)) {
|
| this[_zone].runBinaryGuarded(dart.as(this[_onError], dart.functionType(dart.dynamic, [dart.dynamic, dart.dynamic])), error, stackTrace);
|
| } else {
|
| this[_zone].runUnaryGuarded(dart.as(this[_onError], dart.functionType(dart.dynamic, [dart.dynamic])), error);
|
| }
|
| - this[_state] = dart.notNull(this[_state]) & ~dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK);
|
| + this[_state] = (dart.notNull(this[_state]) & ~dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK) >>> 0) >>> 0;
|
| }).bind(this);
|
| dart.fn(sendError, dart.void, []);
|
| if (dart.notNull(this[_cancelOnError])) {
|
| - this[_state] = dart.notNull(this[_state]) | dart.notNull(async._BufferingStreamSubscription._STATE_WAIT_FOR_CANCEL);
|
| + this[_state] = (dart.notNull(this[_state]) | dart.notNull(async._BufferingStreamSubscription._STATE_WAIT_FOR_CANCEL)) >>> 0;
|
| this[_cancel]();
|
| if (dart.is(this[_cancelFuture], async.Future)) {
|
| this[_cancelFuture].whenComplete(sendError);
|
| @@ -13507,13 +13507,13 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| dart.assert(!dart.notNull(this[_inCallback]));
|
| const sendDone = (function() {
|
| if (!dart.notNull(this[_waitsForCancel])) return;
|
| - this[_state] = dart.notNull(this[_state]) | dart.notNull(async._BufferingStreamSubscription._STATE_CANCELED) | dart.notNull(async._BufferingStreamSubscription._STATE_CLOSED) | dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK);
|
| + this[_state] = (dart.notNull(this[_state]) | ((dart.notNull(async._BufferingStreamSubscription._STATE_CANCELED) | dart.notNull(async._BufferingStreamSubscription._STATE_CLOSED)) >>> 0 | dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK)) >>> 0) >>> 0;
|
| this[_zone].runGuarded(this[_onDone]);
|
| - this[_state] = dart.notNull(this[_state]) & ~dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK);
|
| + this[_state] = (dart.notNull(this[_state]) & ~dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK) >>> 0) >>> 0;
|
| }).bind(this);
|
| dart.fn(sendDone, dart.void, []);
|
| this[_cancel]();
|
| - this[_state] = dart.notNull(this[_state]) | dart.notNull(async._BufferingStreamSubscription._STATE_WAIT_FOR_CANCEL);
|
| + this[_state] = (dart.notNull(this[_state]) | dart.notNull(async._BufferingStreamSubscription._STATE_WAIT_FOR_CANCEL)) >>> 0;
|
| if (dart.is(this[_cancelFuture], async.Future)) {
|
| this[_cancelFuture].whenComplete(sendDone);
|
| } else {
|
| @@ -13523,17 +13523,17 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| [_guardCallback](callback) {
|
| dart.assert(!dart.notNull(this[_inCallback]));
|
| let wasInputPaused = this[_isInputPaused];
|
| - this[_state] = dart.notNull(this[_state]) | dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK);
|
| + this[_state] = (dart.notNull(this[_state]) | dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK)) >>> 0;
|
| dart.dcall(callback);
|
| - this[_state] = dart.notNull(this[_state]) & ~dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK);
|
| + this[_state] = (dart.notNull(this[_state]) & ~dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK) >>> 0) >>> 0;
|
| this[_checkState](wasInputPaused);
|
| }
|
| [_checkState](wasInputPaused) {
|
| dart.assert(!dart.notNull(this[_inCallback]));
|
| if (dart.notNull(this[_hasPending]) && dart.notNull(this[_pending].isEmpty)) {
|
| - this[_state] = dart.notNull(this[_state]) & ~dart.notNull(async._BufferingStreamSubscription._STATE_HAS_PENDING);
|
| + this[_state] = (dart.notNull(this[_state]) & ~dart.notNull(async._BufferingStreamSubscription._STATE_HAS_PENDING) >>> 0) >>> 0;
|
| if (dart.notNull(this[_isInputPaused]) && dart.notNull(this[_mayResumeInput])) {
|
| - this[_state] = dart.notNull(this[_state]) & ~dart.notNull(async._BufferingStreamSubscription._STATE_INPUT_PAUSED);
|
| + this[_state] = (dart.notNull(this[_state]) & ~dart.notNull(async._BufferingStreamSubscription._STATE_INPUT_PAUSED) >>> 0) >>> 0;
|
| }
|
| }
|
| while (true) {
|
| @@ -13543,13 +13543,13 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| }
|
| let isInputPaused = this[_isInputPaused];
|
| if (wasInputPaused == isInputPaused) break;
|
| - this[_state] = dart.notNull(this[_state]) ^ dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK);
|
| + this[_state] = (dart.notNull(this[_state]) ^ dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK)) >>> 0;
|
| if (dart.notNull(isInputPaused)) {
|
| this[_onPause]();
|
| } else {
|
| this[_onResume]();
|
| }
|
| - this[_state] = dart.notNull(this[_state]) & ~dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK);
|
| + this[_state] = (dart.notNull(this[_state]) & ~dart.notNull(async._BufferingStreamSubscription._STATE_IN_CALLBACK) >>> 0) >>> 0;
|
| wasInputPaused = isInputPaused;
|
| }
|
| if (dart.notNull(this[_hasPending]) && !dart.notNull(this[_isPaused])) {
|
| @@ -13631,20 +13631,20 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| this[_next] = this[_previous] = this;
|
| }
|
| [_expectsEvent](eventId) {
|
| - return (dart.notNull(this[_eventState]) & dart.notNull(async._BroadcastSubscription._STATE_EVENT_ID)) == eventId;
|
| + return (dart.notNull(this[_eventState]) & dart.notNull(async._BroadcastSubscription._STATE_EVENT_ID)) >>> 0 == eventId;
|
| }
|
| [_toggleEventId]() {
|
| - this[_eventState] = dart.notNull(this[_eventState]) ^ dart.notNull(async._BroadcastSubscription._STATE_EVENT_ID);
|
| + this[_eventState] = (dart.notNull(this[_eventState]) ^ dart.notNull(async._BroadcastSubscription._STATE_EVENT_ID)) >>> 0;
|
| }
|
| get [_isFiring]() {
|
| - return (dart.notNull(this[_eventState]) & dart.notNull(async._BroadcastSubscription._STATE_FIRING)) != 0;
|
| + return (dart.notNull(this[_eventState]) & dart.notNull(async._BroadcastSubscription._STATE_FIRING)) >>> 0 != 0;
|
| }
|
| [_setRemoveAfterFiring]() {
|
| dart.assert(this[_isFiring]);
|
| - this[_eventState] = dart.notNull(this[_eventState]) | dart.notNull(async._BroadcastSubscription._STATE_REMOVE_AFTER_FIRING);
|
| + this[_eventState] = (dart.notNull(this[_eventState]) | dart.notNull(async._BroadcastSubscription._STATE_REMOVE_AFTER_FIRING)) >>> 0;
|
| }
|
| get [_removeAfterFiring]() {
|
| - return (dart.notNull(this[_eventState]) & dart.notNull(async._BroadcastSubscription._STATE_REMOVE_AFTER_FIRING)) != 0;
|
| + return (dart.notNull(this[_eventState]) & dart.notNull(async._BroadcastSubscription._STATE_REMOVE_AFTER_FIRING)) >>> 0 != 0;
|
| }
|
| [_onPause]() {}
|
| [_onResume]() {}
|
| @@ -13697,7 +13697,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return new (async._StreamSinkWrapper$(T))(this);
|
| }
|
| get isClosed() {
|
| - return (dart.notNull(this[_state]) & dart.notNull(async._BroadcastStreamController._STATE_CLOSED)) != 0;
|
| + return (dart.notNull(this[_state]) & dart.notNull(async._BroadcastStreamController._STATE_CLOSED)) >>> 0 != 0;
|
| }
|
| get isPaused() {
|
| return false;
|
| @@ -13710,10 +13710,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return core.identical(this[_next][_next], this);
|
| }
|
| get [_isFiring]() {
|
| - return (dart.notNull(this[_state]) & dart.notNull(async._BroadcastStreamController._STATE_FIRING)) != 0;
|
| + return (dart.notNull(this[_state]) & dart.notNull(async._BroadcastStreamController._STATE_FIRING)) >>> 0 != 0;
|
| }
|
| get [_isAddingStream]() {
|
| - return (dart.notNull(this[_state]) & dart.notNull(async._BroadcastStreamController._STATE_ADDSTREAM)) != 0;
|
| + return (dart.notNull(this[_state]) & dart.notNull(async._BroadcastStreamController._STATE_ADDSTREAM)) >>> 0 != 0;
|
| }
|
| get [_mayAddEvent]() {
|
| return dart.notNull(this[_state]) < dart.notNull(async._BroadcastStreamController._STATE_CLOSED);
|
| @@ -13732,7 +13732,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| subscription[_next] = this;
|
| this[_previous][_next] = subscription;
|
| this[_previous] = subscription;
|
| - subscription[_eventState] = dart.notNull(this[_state]) & dart.notNull(async._BroadcastStreamController._STATE_EVENT_ID);
|
| + subscription[_eventState] = (dart.notNull(this[_state]) & dart.notNull(async._BroadcastStreamController._STATE_EVENT_ID)) >>> 0;
|
| }
|
| [_removeListener](subscription) {
|
| dart.as(subscription, async._BroadcastSubscription$(T));
|
| @@ -13809,7 +13809,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return this[_doneFuture];
|
| }
|
| if (!dart.notNull(this[_mayAddEvent])) dart.throw(this[_addEventError]());
|
| - this[_state] = dart.notNull(this[_state]) | dart.notNull(async._BroadcastStreamController._STATE_CLOSED);
|
| + this[_state] = (dart.notNull(this[_state]) | dart.notNull(async._BroadcastStreamController._STATE_CLOSED)) >>> 0;
|
| let doneFuture = this[_ensureDoneFuture]();
|
| this[_sendDone]();
|
| return doneFuture;
|
| @@ -13821,7 +13821,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| dart.as(stream, async.Stream$(T));
|
| let cancelOnError = opts && 'cancelOnError' in opts ? opts.cancelOnError : true;
|
| if (!dart.notNull(this[_mayAddEvent])) dart.throw(this[_addEventError]());
|
| - this[_state] = dart.notNull(this[_state]) | dart.notNull(async._BroadcastStreamController._STATE_ADDSTREAM);
|
| + this[_state] = (dart.notNull(this[_state]) | dart.notNull(async._BroadcastStreamController._STATE_ADDSTREAM)) >>> 0;
|
| this[_addStreamState] = new (async._AddStreamState$(T))(this, stream, cancelOnError);
|
| return this[_addStreamState].addStreamFuture;
|
| }
|
| @@ -13836,7 +13836,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| dart.assert(this[_isAddingStream]);
|
| let addState = this[_addStreamState];
|
| this[_addStreamState] = null;
|
| - this[_state] = dart.notNull(this[_state]) & ~dart.notNull(async._BroadcastStreamController._STATE_ADDSTREAM);
|
| + this[_state] = (dart.notNull(this[_state]) & ~dart.notNull(async._BroadcastStreamController._STATE_ADDSTREAM) >>> 0) >>> 0;
|
| addState.complete();
|
| }
|
| [_forEachListener](action) {
|
| @@ -13845,25 +13845,25 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| dart.throw(new core.StateError("Cannot fire new event. Controller is already firing an event"));
|
| }
|
| if (dart.notNull(this[_isEmpty])) return;
|
| - let id = dart.notNull(this[_state]) & dart.notNull(async._BroadcastStreamController._STATE_EVENT_ID);
|
| - this[_state] = dart.notNull(this[_state]) ^ (dart.notNull(async._BroadcastStreamController._STATE_EVENT_ID) | dart.notNull(async._BroadcastStreamController._STATE_FIRING));
|
| + let id = (dart.notNull(this[_state]) & dart.notNull(async._BroadcastStreamController._STATE_EVENT_ID)) >>> 0;
|
| + this[_state] = (dart.notNull(this[_state]) ^ (dart.notNull(async._BroadcastStreamController._STATE_EVENT_ID) | dart.notNull(async._BroadcastStreamController._STATE_FIRING)) >>> 0) >>> 0;
|
| let link = this[_next];
|
| while (!core.identical(link, this)) {
|
| let subscription = dart.as(link, async._BroadcastSubscription$(T));
|
| if (dart.notNull(subscription[_expectsEvent](id))) {
|
| - subscription[_eventState] = dart.notNull(subscription[_eventState]) | dart.notNull(async._BroadcastSubscription._STATE_FIRING);
|
| + subscription[_eventState] = (dart.notNull(subscription[_eventState]) | dart.notNull(async._BroadcastSubscription._STATE_FIRING)) >>> 0;
|
| action(subscription);
|
| subscription[_toggleEventId]();
|
| link = subscription[_next];
|
| if (dart.notNull(subscription[_removeAfterFiring])) {
|
| this[_removeListener](subscription);
|
| }
|
| - subscription[_eventState] = dart.notNull(subscription[_eventState]) & ~dart.notNull(async._BroadcastSubscription._STATE_FIRING);
|
| + subscription[_eventState] = (dart.notNull(subscription[_eventState]) & ~dart.notNull(async._BroadcastSubscription._STATE_FIRING) >>> 0) >>> 0;
|
| } else {
|
| link = subscription[_next];
|
| }
|
| }
|
| - this[_state] = dart.notNull(this[_state]) & ~dart.notNull(async._BroadcastStreamController._STATE_FIRING);
|
| + this[_state] = (dart.notNull(this[_state]) & ~dart.notNull(async._BroadcastStreamController._STATE_FIRING) >>> 0) >>> 0;
|
| if (dart.notNull(this[_isEmpty])) {
|
| this[_callOnCancel]();
|
| }
|
| @@ -13916,10 +13916,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| dart.as(data, T);
|
| if (dart.notNull(this[_isEmpty])) return;
|
| if (dart.notNull(this[_hasOneListener])) {
|
| - this[_state] = dart.notNull(this[_state]) | dart.notNull(async._BroadcastStreamController._STATE_FIRING);
|
| + this[_state] = (dart.notNull(this[_state]) | dart.notNull(async._BroadcastStreamController._STATE_FIRING)) >>> 0;
|
| let subscription = dart.as(this[_next], async._BroadcastSubscription);
|
| subscription[_add$](data);
|
| - this[_state] = dart.notNull(this[_state]) & ~dart.notNull(async._BroadcastStreamController._STATE_FIRING);
|
| + this[_state] = (dart.notNull(this[_state]) & ~dart.notNull(async._BroadcastStreamController._STATE_FIRING) >>> 0) >>> 0;
|
| if (dart.notNull(this[_isEmpty])) {
|
| this[_callOnCancel]();
|
| }
|
| @@ -14045,7 +14045,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| close() {
|
| if (!dart.notNull(this.isClosed) && dart.notNull(this[_isFiring])) {
|
| this[_addPendingEvent](dart.const(new async._DelayedDone()));
|
| - this[_state] = dart.notNull(this[_state]) | dart.notNull(async._BroadcastStreamController._STATE_CLOSED);
|
| + this[_state] = (dart.notNull(this[_state]) | dart.notNull(async._BroadcastStreamController._STATE_CLOSED)) >>> 0;
|
| return super.done;
|
| }
|
| let result = super.close();
|
| @@ -14492,10 +14492,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return this.result[_zone];
|
| }
|
| get handlesValue() {
|
| - return (dart.notNull(this.state) & dart.notNull(async._FutureListener.MASK_VALUE)) != 0;
|
| + return (dart.notNull(this.state) & dart.notNull(async._FutureListener.MASK_VALUE)) >>> 0 != 0;
|
| }
|
| get handlesError() {
|
| - return (dart.notNull(this.state) & dart.notNull(async._FutureListener.MASK_ERROR)) != 0;
|
| + return (dart.notNull(this.state) & dart.notNull(async._FutureListener.MASK_ERROR)) >>> 0 != 0;
|
| }
|
| get hasErrorTest() {
|
| return this.state == async._FutureListener.STATE_CATCHERROR_TEST;
|
| @@ -14541,13 +14541,13 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return async._FutureListener.MASK_VALUE;
|
| },
|
| get STATE_THEN_ONERROR() {
|
| - return dart.notNull(async._FutureListener.MASK_VALUE) | dart.notNull(async._FutureListener.MASK_ERROR);
|
| + return (dart.notNull(async._FutureListener.MASK_VALUE) | dart.notNull(async._FutureListener.MASK_ERROR)) >>> 0;
|
| },
|
| get STATE_CATCHERROR() {
|
| return async._FutureListener.MASK_ERROR;
|
| },
|
| get STATE_CATCHERROR_TEST() {
|
| - return dart.notNull(async._FutureListener.MASK_ERROR) | dart.notNull(async._FutureListener.MASK_TEST_ERROR);
|
| + return (dart.notNull(async._FutureListener.MASK_ERROR) | dart.notNull(async._FutureListener.MASK_TEST_ERROR)) >>> 0;
|
| },
|
| get STATE_WHENCOMPLETE() {
|
| return async._FutureListener.MASK_WHENCOMPLETE;
|
| @@ -15352,22 +15352,22 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return new (async._StreamSinkWrapper$(T))(this);
|
| }
|
| get [_isCanceled]() {
|
| - return (dart.notNull(this[_state]) & dart.notNull(async._StreamController._STATE_CANCELED)) != 0;
|
| + return (dart.notNull(this[_state]) & dart.notNull(async._StreamController._STATE_CANCELED)) >>> 0 != 0;
|
| }
|
| get hasListener() {
|
| - return (dart.notNull(this[_state]) & dart.notNull(async._StreamController._STATE_SUBSCRIBED)) != 0;
|
| + return (dart.notNull(this[_state]) & dart.notNull(async._StreamController._STATE_SUBSCRIBED)) >>> 0 != 0;
|
| }
|
| get [_isInitialState]() {
|
| - return (dart.notNull(this[_state]) & dart.notNull(async._StreamController._STATE_SUBSCRIPTION_MASK)) == async._StreamController._STATE_INITIAL;
|
| + return (dart.notNull(this[_state]) & dart.notNull(async._StreamController._STATE_SUBSCRIPTION_MASK)) >>> 0 == async._StreamController._STATE_INITIAL;
|
| }
|
| get isClosed() {
|
| - return (dart.notNull(this[_state]) & dart.notNull(async._StreamController._STATE_CLOSED)) != 0;
|
| + return (dart.notNull(this[_state]) & dart.notNull(async._StreamController._STATE_CLOSED)) >>> 0 != 0;
|
| }
|
| get isPaused() {
|
| return dart.notNull(this.hasListener) ? this[_subscription][_isInputPaused] : !dart.notNull(this[_isCanceled]);
|
| }
|
| get [_isAddingStream]() {
|
| - return (dart.notNull(this[_state]) & dart.notNull(async._StreamController._STATE_ADDSTREAM)) != 0;
|
| + return (dart.notNull(this[_state]) & dart.notNull(async._StreamController._STATE_ADDSTREAM)) >>> 0 != 0;
|
| }
|
| get [_mayAddEvent]() {
|
| return dart.notNull(this[_state]) < dart.notNull(async._StreamController._STATE_CLOSED);
|
| @@ -15412,7 +15412,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| if (dart.notNull(this[_isCanceled])) return new async._Future.immediate(null);
|
| let addState = new async._StreamControllerAddStreamState(this, this[_varData], source, cancelOnError);
|
| this[_varData] = addState;
|
| - this[_state] = dart.notNull(this[_state]) | dart.notNull(async._StreamController._STATE_ADDSTREAM);
|
| + this[_state] = (dart.notNull(this[_state]) | dart.notNull(async._StreamController._STATE_ADDSTREAM)) >>> 0;
|
| return addState.addStreamFuture;
|
| }
|
| get done() {
|
| @@ -15449,7 +15449,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return this[_ensureDoneFuture]();
|
| }
|
| [_closeUnchecked]() {
|
| - this[_state] = dart.notNull(this[_state]) | dart.notNull(async._StreamController._STATE_CLOSED);
|
| + this[_state] = (dart.notNull(this[_state]) | dart.notNull(async._StreamController._STATE_CLOSED)) >>> 0;
|
| if (dart.notNull(this.hasListener)) {
|
| this[_sendDone]();
|
| } else if (dart.notNull(this[_isInitialState])) {
|
| @@ -15475,7 +15475,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| dart.assert(this[_isAddingStream]);
|
| let addState = dart.as(this[_varData], async._StreamControllerAddStreamState);
|
| this[_varData] = addState.varData;
|
| - this[_state] = dart.notNull(this[_state]) & ~dart.notNull(async._StreamController._STATE_ADDSTREAM);
|
| + this[_state] = (dart.notNull(this[_state]) & ~dart.notNull(async._StreamController._STATE_ADDSTREAM) >>> 0) >>> 0;
|
| addState.complete();
|
| }
|
| [_subscribe](onData, onError, onDone, cancelOnError) {
|
| @@ -15486,7 +15486,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| }
|
| let subscription = new async._ControllerSubscription(this, onData, onError, onDone, cancelOnError);
|
| let pendingEvents = this[_pendingEvents];
|
| - this[_state] = dart.notNull(this[_state]) | dart.notNull(async._StreamController._STATE_SUBSCRIBED);
|
| + this[_state] = (dart.notNull(this[_state]) | dart.notNull(async._StreamController._STATE_SUBSCRIBED)) >>> 0;
|
| if (dart.notNull(this[_isAddingStream])) {
|
| let addState = dart.as(this[_varData], async._StreamControllerAddStreamState);
|
| addState.varData = subscription;
|
| @@ -15508,7 +15508,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| result = addState.cancel();
|
| }
|
| this[_varData] = null;
|
| - this[_state] = dart.notNull(this[_state]) & ~(dart.notNull(async._StreamController._STATE_SUBSCRIBED) | dart.notNull(async._StreamController._STATE_ADDSTREAM)) | dart.notNull(async._StreamController._STATE_CANCELED);
|
| + this[_state] = ((dart.notNull(this[_state]) & ~((dart.notNull(async._StreamController._STATE_SUBSCRIBED) | dart.notNull(async._StreamController._STATE_ADDSTREAM)) >>> 0) >>> 0) >>> 0 | dart.notNull(async._StreamController._STATE_CANCELED)) >>> 0;
|
| if (this[_onCancel] != null) {
|
| if (result == null) {
|
| try {
|
| @@ -16083,10 +16083,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| this[_schedule]();
|
| }
|
| get [_isSent]() {
|
| - return (dart.notNull(this[_state]) & dart.notNull(async._DoneStreamSubscription._DONE_SENT)) != 0;
|
| + return (dart.notNull(this[_state]) & dart.notNull(async._DoneStreamSubscription._DONE_SENT)) >>> 0 != 0;
|
| }
|
| get [_isScheduled]() {
|
| - return (dart.notNull(this[_state]) & dart.notNull(async._DoneStreamSubscription._SCHEDULED)) != 0;
|
| + return (dart.notNull(this[_state]) & dart.notNull(async._DoneStreamSubscription._SCHEDULED)) >>> 0 != 0;
|
| }
|
| get isPaused() {
|
| return dart.notNull(this[_state]) >= dart.notNull(async._DoneStreamSubscription._PAUSED);
|
| @@ -16094,7 +16094,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| [_schedule]() {
|
| if (dart.notNull(this[_isScheduled])) return;
|
| this[_zone].scheduleMicrotask(dart.bind(this, _sendDone));
|
| - this[_state] = dart.notNull(this[_state]) | dart.notNull(async._DoneStreamSubscription._SCHEDULED);
|
| + this[_state] = (dart.notNull(this[_state]) | dart.notNull(async._DoneStreamSubscription._SCHEDULED)) >>> 0;
|
| }
|
| onData(handleData) {
|
| dart.as(handleData, dart.functionType(dart.void, [T]));
|
| @@ -16129,9 +16129,9 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return result;
|
| }
|
| [_sendDone]() {
|
| - this[_state] = dart.notNull(this[_state]) & ~dart.notNull(async._DoneStreamSubscription._SCHEDULED);
|
| + this[_state] = (dart.notNull(this[_state]) & ~dart.notNull(async._DoneStreamSubscription._SCHEDULED) >>> 0) >>> 0;
|
| if (dart.notNull(this.isPaused)) return;
|
| - this[_state] = dart.notNull(this[_state]) | dart.notNull(async._DoneStreamSubscription._DONE_SENT);
|
| + this[_state] = (dart.notNull(this[_state]) | dart.notNull(async._DoneStreamSubscription._DONE_SENT)) >>> 0;
|
| if (this[_onDone] != null) this[_zone].runGuarded(this[_onDone]);
|
| }
|
| }
|
| @@ -18797,7 +18797,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return dart.as(cell[_value$], V);
|
| }
|
| [_modified]() {
|
| - this[_modifications] = dart.notNull(this[_modifications]) + 1 & 67108863;
|
| + this[_modifications] = (dart.notNull(this[_modifications]) + 1 & 67108863) >>> 0;
|
| }
|
| [_newLinkedCell](key, value) {
|
| dart.as(key, K);
|
| @@ -20010,7 +20010,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return true;
|
| }
|
| [_modified]() {
|
| - this[_modifications] = dart.notNull(this[_modifications]) + 1 & 67108863;
|
| + this[_modifications] = (dart.notNull(this[_modifications]) + 1 & 67108863) >>> 0;
|
| }
|
| [_newLinkedCell](element) {
|
| dart.as(element, E);
|
| @@ -21849,7 +21849,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| forEach(action) {
|
| dart.as(action, dart.functionType(dart.void, [E]));
|
| let modificationCount = this[_modificationCount];
|
| - for (let i = this[_head]; i != this[_tail]; i = dart.notNull(i) + 1 & dart.notNull(this[_table][dartx.length]) - 1) {
|
| + for (let i = this[_head]; i != this[_tail]; i = (dart.notNull(i) + 1 & dart.notNull(this[_table][dartx.length]) - 1) >>> 0) {
|
| action(this[_table][dartx.get](i));
|
| this[_checkModification](modificationCount);
|
| }
|
| @@ -21858,7 +21858,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return this[_head] == this[_tail];
|
| }
|
| get length() {
|
| - return dart.notNull(this[_tail]) - dart.notNull(this[_head]) & dart.notNull(this[_table][dartx.length]) - 1;
|
| + return (dart.notNull(this[_tail]) - dart.notNull(this[_head]) & dart.notNull(this[_table][dartx.length]) - 1) >>> 0;
|
| }
|
| get first() {
|
| if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement());
|
| @@ -21866,7 +21866,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| }
|
| get last() {
|
| if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement());
|
| - return this[_table][dartx.get](dart.notNull(this[_tail]) - 1 & dart.notNull(this[_table][dartx.length]) - 1);
|
| + return this[_table][dartx.get]((dart.notNull(this[_tail]) - 1 & dart.notNull(this[_table][dartx.length]) - 1) >>> 0);
|
| }
|
| get single() {
|
| if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement());
|
| @@ -21875,7 +21875,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| }
|
| elementAt(index) {
|
| core.RangeError.checkValidIndex(index, this);
|
| - return this[_table][dartx.get](dart.notNull(this[_head]) + dart.notNull(index) & dart.notNull(this[_table][dartx.length]) - 1);
|
| + return this[_table][dartx.get]((dart.notNull(this[_head]) + dart.notNull(index) & dart.notNull(this[_table][dartx.length]) - 1) >>> 0);
|
| }
|
| toList(opts) {
|
| let growable = opts && 'growable' in opts ? opts.growable : true;
|
| @@ -21922,7 +21922,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| }
|
| }
|
| remove(object) {
|
| - for (let i = this[_head]; i != this[_tail]; i = dart.notNull(i) + 1 & dart.notNull(this[_table][dartx.length]) - 1) {
|
| + for (let i = this[_head]; i != this[_tail]; i = (dart.notNull(i) + 1 & dart.notNull(this[_table][dartx.length]) - 1) >>> 0) {
|
| let element = this[_table][dartx.get](i);
|
| if (dart.equals(element, object)) {
|
| this[_remove](i);
|
| @@ -21945,7 +21945,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| i = this[_remove](i);
|
| modificationCount = this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1;
|
| } else {
|
| - i = dart.notNull(i) + 1 & dart.notNull(this[_table][dartx.length]) - 1;
|
| + i = (dart.notNull(i) + 1 & dart.notNull(this[_table][dartx.length]) - 1) >>> 0;
|
| }
|
| }
|
| }
|
| @@ -21959,7 +21959,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| }
|
| clear() {
|
| if (this[_head] != this[_tail]) {
|
| - for (let i = this[_head]; i != this[_tail]; i = dart.notNull(i) + 1 & dart.notNull(this[_table][dartx.length]) - 1) {
|
| + for (let i = this[_head]; i != this[_tail]; i = (dart.notNull(i) + 1 & dart.notNull(this[_table][dartx.length]) - 1) >>> 0) {
|
| this[_table][dartx.set](i, null);
|
| }
|
| this[_head] = this[_tail] = 0;
|
| @@ -21975,7 +21975,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| }
|
| addFirst(element) {
|
| dart.as(element, E);
|
| - this[_head] = dart.notNull(this[_head]) - 1 & dart.notNull(this[_table][dartx.length]) - 1;
|
| + this[_head] = (dart.notNull(this[_head]) - 1 & dart.notNull(this[_table][dartx.length]) - 1) >>> 0;
|
| this[_table][dartx.set](this[_head], element);
|
| if (this[_head] == this[_tail]) this[_grow]();
|
| this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1;
|
| @@ -21985,25 +21985,25 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1;
|
| let result = this[_table][dartx.get](this[_head]);
|
| this[_table][dartx.set](this[_head], null);
|
| - this[_head] = dart.notNull(this[_head]) + 1 & dart.notNull(this[_table][dartx.length]) - 1;
|
| + this[_head] = (dart.notNull(this[_head]) + 1 & dart.notNull(this[_table][dartx.length]) - 1) >>> 0;
|
| return result;
|
| }
|
| removeLast() {
|
| if (this[_head] == this[_tail]) dart.throw(_internal.IterableElementError.noElement());
|
| this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1;
|
| - this[_tail] = dart.notNull(this[_tail]) - 1 & dart.notNull(this[_table][dartx.length]) - 1;
|
| + this[_tail] = (dart.notNull(this[_tail]) - 1 & dart.notNull(this[_table][dartx.length]) - 1) >>> 0;
|
| let result = this[_table][dartx.get](this[_tail]);
|
| this[_table][dartx.set](this[_tail], null);
|
| return result;
|
| }
|
| static _isPowerOf2(number) {
|
| - return (dart.notNull(number) & dart.notNull(number) - 1) == 0;
|
| + return (dart.notNull(number) & dart.notNull(number) - 1) >>> 0 == 0;
|
| }
|
| static _nextPowerOf2(number) {
|
| dart.assert(dart.notNull(number) > 0);
|
| - number = (dart.notNull(number) << 1) - 1;
|
| + number = number[dartx['<<']](1) - 1;
|
| for (;;) {
|
| - let nextNumber = dart.notNull(number) & dart.notNull(number) - 1;
|
| + let nextNumber = (dart.notNull(number) & dart.notNull(number) - 1) >>> 0;
|
| if (nextNumber == 0) return number;
|
| number = nextNumber;
|
| }
|
| @@ -22016,29 +22016,29 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| [_add$0](element) {
|
| dart.as(element, E);
|
| this[_table][dartx.set](this[_tail], element);
|
| - this[_tail] = dart.notNull(this[_tail]) + 1 & dart.notNull(this[_table][dartx.length]) - 1;
|
| + this[_tail] = (dart.notNull(this[_tail]) + 1 & dart.notNull(this[_table][dartx.length]) - 1) >>> 0;
|
| if (this[_head] == this[_tail]) this[_grow]();
|
| this[_modificationCount] = dart.notNull(this[_modificationCount]) + 1;
|
| }
|
| [_remove](offset) {
|
| let mask = dart.notNull(this[_table][dartx.length]) - 1;
|
| - let startDistance = dart.notNull(offset) - dart.notNull(this[_head]) & mask;
|
| - let endDistance = dart.notNull(this[_tail]) - dart.notNull(offset) & mask;
|
| + let startDistance = (dart.notNull(offset) - dart.notNull(this[_head]) & mask) >>> 0;
|
| + let endDistance = (dart.notNull(this[_tail]) - dart.notNull(offset) & mask) >>> 0;
|
| if (startDistance < endDistance) {
|
| let i = offset;
|
| while (i != this[_head]) {
|
| - let prevOffset = dart.notNull(i) - 1 & mask;
|
| + let prevOffset = (dart.notNull(i) - 1 & mask) >>> 0;
|
| this[_table][dartx.set](i, this[_table][dartx.get](prevOffset));
|
| i = prevOffset;
|
| }
|
| this[_table][dartx.set](this[_head], null);
|
| - this[_head] = dart.notNull(this[_head]) + 1 & mask;
|
| - return dart.notNull(offset) + 1 & mask;
|
| + this[_head] = (dart.notNull(this[_head]) + 1 & mask) >>> 0;
|
| + return (dart.notNull(offset) + 1 & mask) >>> 0;
|
| } else {
|
| - this[_tail] = dart.notNull(this[_tail]) - 1 & mask;
|
| + this[_tail] = (dart.notNull(this[_tail]) - 1 & mask) >>> 0;
|
| let i = offset;
|
| while (i != this[_tail]) {
|
| - let nextOffset = dart.notNull(i) + 1 & mask;
|
| + let nextOffset = (dart.notNull(i) + 1 & mask) >>> 0;
|
| this[_table][dartx.set](i, this[_table][dartx.get](nextOffset));
|
| i = nextOffset;
|
| }
|
| @@ -22071,7 +22071,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| }
|
| [_preGrow](newElementCount) {
|
| dart.assert(dart.notNull(newElementCount) >= dart.notNull(this.length));
|
| - newElementCount = dart.notNull(newElementCount) + (dart.notNull(newElementCount) >> 1);
|
| + newElementCount = dart.notNull(newElementCount) + newElementCount[dartx['>>']](1);
|
| let newCapacity = collection.ListQueue._nextPowerOf2(newElementCount);
|
| let newTable = core.List$(E).new(newCapacity);
|
| this[_tail] = this[_writeToList](newTable);
|
| @@ -22150,7 +22150,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return false;
|
| }
|
| this[_current$1] = dart.as(this[_queue][_table][dartx.get](this[_position]), E);
|
| - this[_position] = dart.notNull(this[_position]) + 1 & dart.notNull(this[_queue][_table][dartx.length]) - 1;
|
| + this[_position] = (dart.notNull(this[_position]) + 1 & dart.notNull(this[_queue][_table][dartx.length]) - 1) >>> 0;
|
| return true;
|
| }
|
| }
|
| @@ -23581,7 +23581,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| let result = typed_data.Uint8List.new(length);
|
| for (let i = 0; i < length; i++) {
|
| let codeUnit = string[dartx.codeUnitAt](dart.notNull(start) + i);
|
| - if ((dart.notNull(codeUnit) & ~dart.notNull(this[_subsetMask])) != 0) {
|
| + if ((dart.notNull(codeUnit) & ~dart.notNull(this[_subsetMask]) >>> 0) >>> 0 != 0) {
|
| dart.throw(new core.ArgumentError("String contains invalid characters."));
|
| }
|
| result[dartx.set](i, codeUnit);
|
| @@ -23626,7 +23626,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| core.RangeError.checkValidRange(start, end, source[dartx.length]);
|
| for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) {
|
| let codeUnit = source[dartx.codeUnitAt](i);
|
| - if ((dart.notNull(codeUnit) & ~dart.notNull(this[_subsetMask])) != 0) {
|
| + if ((dart.notNull(codeUnit) & ~dart.notNull(this[_subsetMask]) >>> 0) >>> 0 != 0) {
|
| dart.throw(new core.ArgumentError(`Source contains invalid character with code point: ${codeUnit}.`));
|
| }
|
| }
|
| @@ -23659,7 +23659,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| let length = dart.notNull(end) - dart.notNull(start);
|
| for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) {
|
| let byte = bytes[dartx.get](i);
|
| - if ((dart.notNull(byte) & ~dart.notNull(this[_subsetMask])) != 0) {
|
| + if ((dart.notNull(byte) & ~dart.notNull(this[_subsetMask]) >>> 0) >>> 0 != 0) {
|
| if (!dart.notNull(this[_allowInvalid])) {
|
| dart.throw(new core.FormatException(`Invalid value in input: ${byte}`));
|
| }
|
| @@ -23672,7 +23672,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| let buffer = new core.StringBuffer();
|
| for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) {
|
| let value = bytes[dartx.get](i);
|
| - if ((dart.notNull(value) & ~dart.notNull(this[_subsetMask])) != 0) value = 65533;
|
| + if ((dart.notNull(value) & ~dart.notNull(this[_subsetMask]) >>> 0) >>> 0 != 0) value = 65533;
|
| buffer.writeCharCode(value);
|
| }
|
| return buffer.toString();
|
| @@ -23774,7 +23774,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| addSlice(source, start, end, isLast) {
|
| core.RangeError.checkValidRange(start, end, source[dartx.length]);
|
| for (let i = start; dart.notNull(i) < dart.notNull(end); i = dart.notNull(i) + 1) {
|
| - if ((dart.notNull(source[dartx.get](i)) & ~dart.notNull(convert._ASCII_MASK)) != 0) {
|
| + if ((dart.notNull(source[dartx.get](i)) & ~dart.notNull(convert._ASCII_MASK) >>> 0) >>> 0 != 0) {
|
| if (dart.notNull(i) > dart.notNull(start)) this[_utf8Sink].addSlice(source, start, i, false);
|
| this[_utf8Sink].add(dart.const(dart.list([239, 191, 189], core.int)));
|
| start = dart.notNull(i) + 1;
|
| @@ -23803,7 +23803,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| }
|
| add(source) {
|
| for (let i = 0; i < dart.notNull(source[dartx.length]); i++) {
|
| - if ((dart.notNull(source[dartx.get](i)) & ~dart.notNull(convert._ASCII_MASK)) != 0) {
|
| + if ((dart.notNull(source[dartx.get](i)) & ~dart.notNull(convert._ASCII_MASK) >>> 0) >>> 0 != 0) {
|
| dart.throw(new core.FormatException("Source contains non-ASCII bytes."));
|
| }
|
| }
|
| @@ -23870,11 +23870,11 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| static _roundToPowerOf2(v) {
|
| dart.assert(dart.notNull(v) > 0);
|
| v = dart.notNull(v) - 1;
|
| - v = dart.notNull(v) | dart.notNull(v) >> 1;
|
| - v = dart.notNull(v) | dart.notNull(v) >> 2;
|
| - v = dart.notNull(v) | dart.notNull(v) >> 4;
|
| - v = dart.notNull(v) | dart.notNull(v) >> 8;
|
| - v = dart.notNull(v) | dart.notNull(v) >> 16;
|
| + v = (dart.notNull(v) | v[dartx['>>']](1)) >>> 0;
|
| + v = (dart.notNull(v) | v[dartx['>>']](2)) >>> 0;
|
| + v = (dart.notNull(v) | v[dartx['>>']](4)) >>> 0;
|
| + v = (dart.notNull(v) | v[dartx['>>']](8)) >>> 0;
|
| + v = (dart.notNull(v) | v[dartx['>>']](16)) >>> 0;
|
| v = dart.notNull(v) + 1;
|
| return v;
|
| }
|
| @@ -24540,8 +24540,8 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| this.writeCharCode(convert._JsonStringifier.CHAR_u);
|
| this.writeCharCode(convert._JsonStringifier.CHAR_0);
|
| this.writeCharCode(convert._JsonStringifier.CHAR_0);
|
| - this.writeCharCode(convert._JsonStringifier.hexDigit(dart.notNull(charCode) >> 4 & 15));
|
| - this.writeCharCode(convert._JsonStringifier.hexDigit(dart.notNull(charCode) & 15));
|
| + this.writeCharCode(convert._JsonStringifier.hexDigit((charCode[dartx['>>']](4) & 15) >>> 0));
|
| + this.writeCharCode(convert._JsonStringifier.hexDigit((dart.notNull(charCode) & 15) >>> 0));
|
| break;
|
| }
|
| }
|
| @@ -24830,10 +24830,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| if (dart.notNull(char) <= 127) {
|
| this.writeByte(char);
|
| } else {
|
| - if ((dart.notNull(char) & 64512) == 55296 && dart.notNull(i) + 1 < dart.notNull(end)) {
|
| + if ((dart.notNull(char) & 64512) >>> 0 == 55296 && dart.notNull(i) + 1 < dart.notNull(end)) {
|
| let nextChar = string[dartx.codeUnitAt](dart.notNull(i) + 1);
|
| - if ((dart.notNull(nextChar) & 64512) == 56320) {
|
| - char = 65536 + ((dart.notNull(char) & 1023) << 10) + (dart.notNull(nextChar) & 1023);
|
| + if ((dart.notNull(nextChar) & 64512) >>> 0 == 56320) {
|
| + char = 65536 + ((dart.notNull(char) & 1023) >>> 0)[dartx['<<']](10) + ((dart.notNull(nextChar) & 1023) >>> 0);
|
| this.writeFourByteCharCode(char);
|
| i = dart.notNull(i) + 1;
|
| continue;
|
| @@ -24852,24 +24852,24 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| }
|
| writeMultiByteCharCode(charCode) {
|
| if (dart.notNull(charCode) <= 2047) {
|
| - this.writeByte(192 | dart.notNull(charCode) >> 6);
|
| - this.writeByte(128 | dart.notNull(charCode) & 63);
|
| + this.writeByte((192 | charCode[dartx['>>']](6)) >>> 0);
|
| + this.writeByte((128 | (dart.notNull(charCode) & 63) >>> 0) >>> 0);
|
| return;
|
| }
|
| if (dart.notNull(charCode) <= 65535) {
|
| - this.writeByte(224 | dart.notNull(charCode) >> 12);
|
| - this.writeByte(128 | dart.notNull(charCode) >> 6 & 63);
|
| - this.writeByte(128 | dart.notNull(charCode) & 63);
|
| + this.writeByte((224 | charCode[dartx['>>']](12)) >>> 0);
|
| + this.writeByte((128 | (charCode[dartx['>>']](6) & 63) >>> 0) >>> 0);
|
| + this.writeByte((128 | (dart.notNull(charCode) & 63) >>> 0) >>> 0);
|
| return;
|
| }
|
| this.writeFourByteCharCode(charCode);
|
| }
|
| writeFourByteCharCode(charCode) {
|
| dart.assert(dart.notNull(charCode) <= 1114111);
|
| - this.writeByte(240 | dart.notNull(charCode) >> 18);
|
| - this.writeByte(128 | dart.notNull(charCode) >> 12 & 63);
|
| - this.writeByte(128 | dart.notNull(charCode) >> 6 & 63);
|
| - this.writeByte(128 | dart.notNull(charCode) & 63);
|
| + this.writeByte((240 | charCode[dartx['>>']](18)) >>> 0);
|
| + this.writeByte((128 | (charCode[dartx['>>']](12) & 63) >>> 0) >>> 0);
|
| + this.writeByte((128 | (charCode[dartx['>>']](6) & 63) >>> 0) >>> 0);
|
| + this.writeByte((128 | (dart.notNull(charCode) & 63) >>> 0) >>> 0);
|
| }
|
| writeByte(byte) {
|
| dart.assert(dart.notNull(byte) <= 255);
|
| @@ -25482,39 +25482,39 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| let x = this[_bufferIndex];
|
| this[_bufferIndex] = dart.notNull(x) + 1;
|
| return x;
|
| - })(), 240 | dart.notNull(rune) >> 18);
|
| + })(), (240 | rune[dartx['>>']](18)) >>> 0);
|
| this[_buffer][dartx.set]((() => {
|
| let x = this[_bufferIndex];
|
| this[_bufferIndex] = dart.notNull(x) + 1;
|
| return x;
|
| - })(), 128 | dart.notNull(rune) >> 12 & 63);
|
| + })(), (128 | (rune[dartx['>>']](12) & 63) >>> 0) >>> 0);
|
| this[_buffer][dartx.set]((() => {
|
| let x = this[_bufferIndex];
|
| this[_bufferIndex] = dart.notNull(x) + 1;
|
| return x;
|
| - })(), 128 | dart.notNull(rune) >> 6 & 63);
|
| + })(), (128 | (rune[dartx['>>']](6) & 63) >>> 0) >>> 0);
|
| this[_buffer][dartx.set]((() => {
|
| let x = this[_bufferIndex];
|
| this[_bufferIndex] = dart.notNull(x) + 1;
|
| return x;
|
| - })(), 128 | dart.notNull(rune) & 63);
|
| + })(), (128 | (dart.notNull(rune) & 63) >>> 0) >>> 0);
|
| return true;
|
| } else {
|
| this[_buffer][dartx.set]((() => {
|
| let x = this[_bufferIndex];
|
| this[_bufferIndex] = dart.notNull(x) + 1;
|
| return x;
|
| - })(), 224 | dart.notNull(leadingSurrogate) >> 12);
|
| + })(), (224 | leadingSurrogate[dartx['>>']](12)) >>> 0);
|
| this[_buffer][dartx.set]((() => {
|
| let x = this[_bufferIndex];
|
| this[_bufferIndex] = dart.notNull(x) + 1;
|
| return x;
|
| - })(), 128 | dart.notNull(leadingSurrogate) >> 6 & 63);
|
| + })(), (128 | (leadingSurrogate[dartx['>>']](6) & 63) >>> 0) >>> 0);
|
| this[_buffer][dartx.set]((() => {
|
| let x = this[_bufferIndex];
|
| this[_bufferIndex] = dart.notNull(x) + 1;
|
| return x;
|
| - })(), 128 | dart.notNull(leadingSurrogate) & 63);
|
| + })(), (128 | (dart.notNull(leadingSurrogate) & 63) >>> 0) >>> 0);
|
| return false;
|
| }
|
| }
|
| @@ -25547,12 +25547,12 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| let x = this[_bufferIndex];
|
| this[_bufferIndex] = dart.notNull(x) + 1;
|
| return x;
|
| - })(), 192 | dart.notNull(rune) >> 6);
|
| + })(), (192 | rune[dartx['>>']](6)) >>> 0);
|
| this[_buffer][dartx.set]((() => {
|
| let x = this[_bufferIndex];
|
| this[_bufferIndex] = dart.notNull(x) + 1;
|
| return x;
|
| - })(), 128 | dart.notNull(rune) & 63);
|
| + })(), (128 | (dart.notNull(rune) & 63) >>> 0) >>> 0);
|
| } else {
|
| dart.assert(dart.notNull(rune) <= dart.notNull(convert._THREE_BYTE_LIMIT));
|
| if (dart.notNull(this[_bufferIndex]) + 2 >= dart.notNull(this[_buffer][dartx.length])) break;
|
| @@ -25560,17 +25560,17 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| let x = this[_bufferIndex];
|
| this[_bufferIndex] = dart.notNull(x) + 1;
|
| return x;
|
| - })(), 224 | dart.notNull(rune) >> 12);
|
| + })(), (224 | rune[dartx['>>']](12)) >>> 0);
|
| this[_buffer][dartx.set]((() => {
|
| let x = this[_bufferIndex];
|
| this[_bufferIndex] = dart.notNull(x) + 1;
|
| return x;
|
| - })(), 128 | dart.notNull(rune) >> 6 & 63);
|
| + })(), (128 | (rune[dartx['>>']](6) & 63) >>> 0) >>> 0);
|
| this[_buffer][dartx.set]((() => {
|
| let x = this[_bufferIndex];
|
| this[_bufferIndex] = dart.notNull(x) + 1;
|
| return x;
|
| - })(), 128 | dart.notNull(rune) & 63);
|
| + })(), (128 | (dart.notNull(rune) & 63) >>> 0) >>> 0);
|
| }
|
| }
|
| }
|
| @@ -25700,19 +25700,19 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| convert._LEAD_SURROGATE_MIN = 55296;
|
| convert._TAIL_SURROGATE_MIN = 56320;
|
| convert._isSurrogate = function(codeUnit) {
|
| - return (dart.notNull(codeUnit) & dart.notNull(convert._SURROGATE_MASK)) == convert._LEAD_SURROGATE_MIN;
|
| + return (dart.notNull(codeUnit) & dart.notNull(convert._SURROGATE_MASK)) >>> 0 == convert._LEAD_SURROGATE_MIN;
|
| };
|
| dart.fn(convert._isSurrogate, () => dart.definiteFunctionType(core.bool, [core.int]));
|
| convert._isLeadSurrogate = function(codeUnit) {
|
| - return (dart.notNull(codeUnit) & dart.notNull(convert._SURROGATE_TAG_MASK)) == convert._LEAD_SURROGATE_MIN;
|
| + return (dart.notNull(codeUnit) & dart.notNull(convert._SURROGATE_TAG_MASK)) >>> 0 == convert._LEAD_SURROGATE_MIN;
|
| };
|
| dart.fn(convert._isLeadSurrogate, () => dart.definiteFunctionType(core.bool, [core.int]));
|
| convert._isTailSurrogate = function(codeUnit) {
|
| - return (dart.notNull(codeUnit) & dart.notNull(convert._SURROGATE_TAG_MASK)) == convert._TAIL_SURROGATE_MIN;
|
| + return (dart.notNull(codeUnit) & dart.notNull(convert._SURROGATE_TAG_MASK)) >>> 0 == convert._TAIL_SURROGATE_MIN;
|
| };
|
| dart.fn(convert._isTailSurrogate, () => dart.definiteFunctionType(core.bool, [core.int]));
|
| convert._combineSurrogatePair = function(lead, tail) {
|
| - return 65536 + ((dart.notNull(lead) & dart.notNull(convert._SURROGATE_VALUE_MASK)) << 10) | dart.notNull(tail) & dart.notNull(convert._SURROGATE_VALUE_MASK);
|
| + return (65536 + ((dart.notNull(lead) & dart.notNull(convert._SURROGATE_VALUE_MASK)) >>> 0)[dartx['<<']](10) | (dart.notNull(tail) & dart.notNull(convert._SURROGATE_VALUE_MASK)) >>> 0) >>> 0;
|
| };
|
| dart.fn(convert._combineSurrogatePair, core.int, [core.int, core.int]);
|
| const _isFirstCharacter = Symbol('_isFirstCharacter');
|
| @@ -25778,7 +25778,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| break loop;
|
| }
|
| let unit = codeUnits[dartx.get](i);
|
| - if ((dart.notNull(unit) & 192) != 128) {
|
| + if ((dart.notNull(unit) & 192) >>> 0 != 128) {
|
| expectedUnits = 0;
|
| if (!dart.notNull(this[_allowMalformed])) {
|
| dart.throw(new core.FormatException(`Bad UTF-8 encoding 0x${unit[dartx.toRadixString](16)}`));
|
| @@ -25787,7 +25787,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| this[_stringSink].writeCharCode(convert.UNICODE_REPLACEMENT_CHARACTER_RUNE);
|
| break multibyte;
|
| } else {
|
| - value = dart.notNull(value) << 6 | dart.notNull(unit) & 63;
|
| + value = (value[dartx['<<']](6) | (dart.notNull(unit) & 63) >>> 0) >>> 0;
|
| expectedUnits = dart.notNull(expectedUnits) - 1;
|
| i = dart.notNull(i) + 1;
|
| }
|
| @@ -25830,18 +25830,18 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| this[_stringSink].writeCharCode(convert.UNICODE_REPLACEMENT_CHARACTER_RUNE);
|
| } else {
|
| dart.assert(dart.notNull(unit) > dart.notNull(convert._ONE_BYTE_LIMIT));
|
| - if ((dart.notNull(unit) & 224) == 192) {
|
| - value = dart.notNull(unit) & 31;
|
| + if ((dart.notNull(unit) & 224) >>> 0 == 192) {
|
| + value = (dart.notNull(unit) & 31) >>> 0;
|
| expectedUnits = extraUnits = 1;
|
| continue loop;
|
| }
|
| - if ((dart.notNull(unit) & 240) == 224) {
|
| - value = dart.notNull(unit) & 15;
|
| + if ((dart.notNull(unit) & 240) >>> 0 == 224) {
|
| + value = (dart.notNull(unit) & 15) >>> 0;
|
| expectedUnits = extraUnits = 2;
|
| continue loop;
|
| }
|
| - if ((dart.notNull(unit) & 248) == 240 && dart.notNull(unit) < 245) {
|
| - value = dart.notNull(unit) & 7;
|
| + if ((dart.notNull(unit) & 248) >>> 0 == 240 && dart.notNull(unit) < 245) {
|
| + value = (dart.notNull(unit) & 7) >>> 0;
|
| expectedUnits = extraUnits = 3;
|
| continue loop;
|
| }
|
| @@ -27276,15 +27276,15 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| });
|
| dart.defineExtensionMembers(core.Runes, ['iterator', 'last']);
|
| core._isLeadSurrogate = function(code) {
|
| - return (dart.notNull(code) & 64512) == 55296;
|
| + return (dart.notNull(code) & 64512) >>> 0 == 55296;
|
| };
|
| dart.fn(core._isLeadSurrogate, core.bool, [core.int]);
|
| core._isTrailSurrogate = function(code) {
|
| - return (dart.notNull(code) & 64512) == 56320;
|
| + return (dart.notNull(code) & 64512) >>> 0 == 56320;
|
| };
|
| dart.fn(core._isTrailSurrogate, core.bool, [core.int]);
|
| core._combineSurrogatePair = function(start, end) {
|
| - return 65536 + ((dart.notNull(start) & 1023) << 10) + (dart.notNull(end) & 1023);
|
| + return 65536 + ((dart.notNull(start) & 1023) >>> 0)[dartx['<<']](10) + ((dart.notNull(end) & 1023) >>> 0);
|
| };
|
| dart.fn(core._combineSurrogatePair, core.int, [core.int, core.int]);
|
| const _position$ = Symbol('_position');
|
| @@ -27518,7 +27518,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| }
|
| static parse(uri) {
|
| function isRegName(ch) {
|
| - return dart.notNull(ch) < 128 && (dart.notNull(core.Uri._regNameTable[dartx.get](dart.notNull(ch) >> 4)) & 1 << (dart.notNull(ch) & 15)) != 0;
|
| + return dart.notNull(ch) < 128 && (dart.notNull(core.Uri._regNameTable[dartx.get](ch[dartx['>>']](4))) & (1)[dartx['<<']]((dart.notNull(ch) & 15) >>> 0)) >>> 0 != 0;
|
| }
|
| dart.fn(isRegName, core.bool, [core.int]);
|
| let EOI = -1;
|
| @@ -27960,7 +27960,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return core.Uri._normalizeRegName(host, start, end);
|
| }
|
| static _isRegNameChar(char) {
|
| - return dart.notNull(char) < 127 && (dart.notNull(core.Uri._regNameTable[dartx.get](dart.notNull(char) >> 4)) & 1 << (dart.notNull(char) & 15)) != 0;
|
| + return dart.notNull(char) < 127 && (dart.notNull(core.Uri._regNameTable[dartx.get](char[dartx['>>']](4))) & (1)[dartx['<<']]((dart.notNull(char) & 15) >>> 0)) >>> 0 != 0;
|
| }
|
| static _normalizeRegName(host, start, end) {
|
| let buffer = null;
|
| @@ -28004,10 +28004,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| core.Uri._fail(host, index, "Invalid character");
|
| } else {
|
| let sourceLength = 1;
|
| - if ((dart.notNull(char) & 64512) == 55296 && dart.notNull(index) + 1 < dart.notNull(end)) {
|
| + if ((dart.notNull(char) & 64512) >>> 0 == 55296 && dart.notNull(index) + 1 < dart.notNull(end)) {
|
| let tail = host[dartx.codeUnitAt](dart.notNull(index) + 1);
|
| - if ((dart.notNull(tail) & 64512) == 56320) {
|
| - char = 65536 | (dart.notNull(char) & 1023) << 10 | dart.notNull(tail) & 1023;
|
| + if ((dart.notNull(tail) & 64512) >>> 0 == 56320) {
|
| + char = ((65536 | ((dart.notNull(char) & 1023) >>> 0)[dartx['<<']](10)) >>> 0 | (dart.notNull(tail) & 1023) >>> 0) >>> 0;
|
| sourceLength = 2;
|
| }
|
| }
|
| @@ -28100,13 +28100,13 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| }
|
| static _isHexDigit(char) {
|
| if (dart.notNull(core.Uri._NINE) >= dart.notNull(char)) return dart.notNull(core.Uri._ZERO) <= dart.notNull(char);
|
| - char = dart.notNull(char) | 32;
|
| + char = (dart.notNull(char) | 32) >>> 0;
|
| return dart.notNull(core.Uri._LOWER_CASE_A) <= dart.notNull(char) && dart.notNull(core.Uri._LOWER_CASE_F) >= dart.notNull(char);
|
| }
|
| static _hexValue(char) {
|
| dart.assert(core.Uri._isHexDigit(char));
|
| if (dart.notNull(core.Uri._NINE) >= dart.notNull(char)) return dart.notNull(char) - dart.notNull(core.Uri._ZERO);
|
| - char = dart.notNull(char) | 32;
|
| + char = (dart.notNull(char) | 32) >>> 0;
|
| return dart.notNull(char) - (dart.notNull(core.Uri._LOWER_CASE_A) - 10);
|
| }
|
| static _normalizeEscape(source, index, lowerCase) {
|
| @@ -28122,7 +28122,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| let value = dart.notNull(core.Uri._hexValue(firstDigit)) * 16 + dart.notNull(core.Uri._hexValue(secondDigit));
|
| if (dart.notNull(core.Uri._isUnreservedChar(value))) {
|
| if (dart.notNull(lowerCase) && dart.notNull(core.Uri._UPPER_CASE_A) <= value && dart.notNull(core.Uri._UPPER_CASE_Z) >= value) {
|
| - value = value | 32;
|
| + value = (value | 32) >>> 0;
|
| }
|
| return core.String.fromCharCode(value);
|
| }
|
| @@ -28132,7 +28132,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return null;
|
| }
|
| static _isUnreservedChar(ch) {
|
| - return dart.notNull(ch) < 127 && (dart.notNull(core.Uri._unreservedTable[dartx.get](dart.notNull(ch) >> 4)) & 1 << (dart.notNull(ch) & 15)) != 0;
|
| + return dart.notNull(ch) < 127 && (dart.notNull(core.Uri._unreservedTable[dartx.get](ch[dartx['>>']](4))) & (1)[dartx['<<']]((dart.notNull(ch) & 15) >>> 0)) >>> 0 != 0;
|
| }
|
| static _escapeChar(char) {
|
| dart.assert(dart.dsend(char, '<=', 1114111));
|
| @@ -28159,8 +28159,8 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| while (--encodedBytes >= 0) {
|
| let byte = dart.as(dart.dsend(dart.dsend(dart.dsend(char, '>>', 6 * encodedBytes), '&', 63), '|', flag), core.int);
|
| codeUnits[dartx.set](index, core.Uri._PERCENT);
|
| - codeUnits[dartx.set](index + 1, hexDigits[dartx.codeUnitAt](dart.notNull(byte) >> 4));
|
| - codeUnits[dartx.set](index + 2, hexDigits[dartx.codeUnitAt](dart.notNull(byte) & 15));
|
| + codeUnits[dartx.set](index + 1, hexDigits[dartx.codeUnitAt](byte[dartx['>>']](4)));
|
| + codeUnits[dartx.set](index + 2, hexDigits[dartx.codeUnitAt]((dart.notNull(byte) & 15) >>> 0));
|
| index = index + 3;
|
| flag = 128;
|
| }
|
| @@ -28173,7 +28173,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| let index = start;
|
| while (dart.notNull(index) < dart.notNull(end)) {
|
| let char = component[dartx.codeUnitAt](index);
|
| - if (dart.notNull(char) < 127 && (dart.notNull(charTable[dartx.get](dart.notNull(char) >> 4)) & 1 << (dart.notNull(char) & 15)) != 0) {
|
| + if (dart.notNull(char) < 127 && (dart.notNull(charTable[dartx.get](char[dartx['>>']](4))) & (1)[dartx['<<']]((dart.notNull(char) & 15) >>> 0)) >>> 0 != 0) {
|
| index = dart.notNull(index) + 1;
|
| } else {
|
| let replacement = null;
|
| @@ -28194,12 +28194,12 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| core.Uri._fail(component, index, "Invalid character");
|
| } else {
|
| sourceLength = 1;
|
| - if ((dart.notNull(char) & 64512) == 55296) {
|
| + if ((dart.notNull(char) & 64512) >>> 0 == 55296) {
|
| if (dart.notNull(index) + 1 < dart.notNull(end)) {
|
| let tail = component[dartx.codeUnitAt](dart.notNull(index) + 1);
|
| - if ((dart.notNull(tail) & 64512) == 56320) {
|
| + if ((dart.notNull(tail) & 64512) >>> 0 == 56320) {
|
| sourceLength = 2;
|
| - char = 65536 | (dart.notNull(char) & 1023) << 10 | dart.notNull(tail) & 1023;
|
| + char = ((65536 | ((dart.notNull(char) & 1023) >>> 0)[dartx['<<']](10)) >>> 0 | (dart.notNull(tail) & 1023) >>> 0) >>> 0;
|
| }
|
| }
|
| }
|
| @@ -28221,10 +28221,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| return dart.toString(buffer);
|
| }
|
| static _isSchemeCharacter(ch) {
|
| - return dart.notNull(ch) < 128 && (dart.notNull(core.Uri._schemeTable[dartx.get](dart.notNull(ch) >> 4)) & 1 << (dart.notNull(ch) & 15)) != 0;
|
| + return dart.notNull(ch) < 128 && (dart.notNull(core.Uri._schemeTable[dartx.get](ch[dartx['>>']](4))) & (1)[dartx['<<']]((dart.notNull(ch) & 15) >>> 0)) >>> 0 != 0;
|
| }
|
| static _isGeneralDelimiter(ch) {
|
| - return dart.notNull(ch) <= dart.notNull(core.Uri._RIGHT_BRACKET) && (dart.notNull(core.Uri._genDelimitersTable[dartx.get](dart.notNull(ch) >> 4)) & 1 << (dart.notNull(ch) & 15)) != 0;
|
| + return dart.notNull(ch) <= dart.notNull(core.Uri._RIGHT_BRACKET) && (dart.notNull(core.Uri._genDelimitersTable[dartx.get](ch[dartx['>>']](4))) & (1)[dartx['<<']]((dart.notNull(ch) & 15) >>> 0)) >>> 0 != 0;
|
| }
|
| get isAbsolute() {
|
| return this.scheme != "" && this.fragment == "";
|
| @@ -28513,7 +28513,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| error('an IPv6 part can only contain a maximum of 4 hex digits', start);
|
| }
|
| let value = core.int.parse(host[dartx.substring](start, end), {radix: 16});
|
| - if (dart.notNull(value) < 0 || dart.notNull(value) > (1 << 16) - 1) {
|
| + if (dart.notNull(value) < 0 || dart.notNull(value) > (1)[dartx['<<']](16) - 1) {
|
| error('each part must be in the range of `0x0..0xFFFF`', start);
|
| }
|
| return value;
|
| @@ -28556,8 +28556,8 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| } catch (e) {
|
| try {
|
| let last = core.Uri.parseIPv4Address(host[dartx.substring](partStart, end));
|
| - parts[dartx.add](dart.notNull(last[dartx.get](0)) << 8 | dart.notNull(last[dartx.get](1)));
|
| - parts[dartx.add](dart.notNull(last[dartx.get](2)) << 8 | dart.notNull(last[dartx.get](3)));
|
| + parts[dartx.add]((last[dartx.get](0)[dartx['<<']](8) | dart.notNull(last[dartx.get](1))) >>> 0);
|
| + parts[dartx.add]((last[dartx.get](2)[dartx['<<']](8) | dart.notNull(last[dartx.get](3))) >>> 0);
|
| } catch (e) {
|
| error('invalid end of IPv6 address.', partStart);
|
| }
|
| @@ -28583,8 +28583,8 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| index = index + 2;
|
| }
|
| } else {
|
| - bytes[dartx.set](index, dart.notNull(value) >> 8);
|
| - bytes[dartx.set](index + 1, dart.notNull(value) & 255);
|
| + bytes[dartx.set](index, value[dartx['>>']](8));
|
| + bytes[dartx.set](index + 1, (dart.notNull(value) & 255) >>> 0);
|
| index = index + 2;
|
| }
|
| }
|
| @@ -28603,7 +28603,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| let bytes = encoding.encode(text);
|
| for (let i = 0; i < dart.notNull(bytes[dartx.length]); i++) {
|
| let byte = bytes[dartx.get](i);
|
| - if (dart.notNull(byte) < 128 && (dart.notNull(canonicalTable[dartx.get](dart.notNull(byte) >> 4)) & 1 << (dart.notNull(byte) & 15)) != 0) {
|
| + if (dart.notNull(byte) < 128 && (dart.notNull(canonicalTable[dartx.get](byte[dartx['>>']](4))) & (1)[dartx['<<']]((dart.notNull(byte) & 15) >>> 0)) >>> 0 != 0) {
|
| result.writeCharCode(byte);
|
| } else if (dart.notNull(spaceToPlus) && byte == core.Uri._SPACE) {
|
| result.writeCharCode(core.Uri._PLUS);
|
| @@ -28621,7 +28621,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| if (48 <= dart.notNull(charCode) && dart.notNull(charCode) <= 57) {
|
| byte = byte * 16 + dart.notNull(charCode) - 48;
|
| } else {
|
| - charCode = dart.notNull(charCode) | 32;
|
| + charCode = (dart.notNull(charCode) | 32) >>> 0;
|
| if (97 <= dart.notNull(charCode) && dart.notNull(charCode) <= 102) {
|
| byte = byte * 16 + dart.notNull(charCode) - 87;
|
| } else {
|
| @@ -29539,43 +29539,43 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| empty_seed = -1;
|
| }
|
| do {
|
| - let low = dart.notNull(seed) & dart.notNull(math._Random._MASK32);
|
| + let low = (dart.notNull(seed) & dart.notNull(math._Random._MASK32)) >>> 0;
|
| seed = ((dart.notNull(seed) - low) / dart.notNull(math._POW2_32))[dartx.truncate]();
|
| - let high = dart.notNull(seed) & dart.notNull(math._Random._MASK32);
|
| + let high = (dart.notNull(seed) & dart.notNull(math._Random._MASK32)) >>> 0;
|
| seed = ((dart.notNull(seed) - high) / dart.notNull(math._POW2_32))[dartx.truncate]();
|
| - let tmplow = low << 21;
|
| - let tmphigh = high << 21 | low >> 11;
|
| - tmplow = (~low & dart.notNull(math._Random._MASK32)) + tmplow;
|
| - low = tmplow & dart.notNull(math._Random._MASK32);
|
| - high = ~high + tmphigh + ((tmplow - low) / 4294967296)[dartx.truncate]() & dart.notNull(math._Random._MASK32);
|
| - tmphigh = high >> 24;
|
| - tmplow = low >> 24 | high << 8;
|
| - low = low ^ tmplow;
|
| - high = high ^ tmphigh;
|
| + let tmplow = low[dartx['<<']](21);
|
| + let tmphigh = (high[dartx['<<']](21) | low[dartx['>>']](11)) >>> 0;
|
| + tmplow = ((~low >>> 0 & dart.notNull(math._Random._MASK32)) >>> 0) + tmplow;
|
| + low = (tmplow & dart.notNull(math._Random._MASK32)) >>> 0;
|
| + high = ((~high >>> 0) + tmphigh + ((tmplow - low) / 4294967296)[dartx.truncate]() & dart.notNull(math._Random._MASK32)) >>> 0;
|
| + tmphigh = high[dartx['>>']](24);
|
| + tmplow = (low[dartx['>>']](24) | high[dartx['<<']](8)) >>> 0;
|
| + low = (low ^ tmplow) >>> 0;
|
| + high = (high ^ tmphigh) >>> 0;
|
| tmplow = low * 265;
|
| - low = tmplow & dart.notNull(math._Random._MASK32);
|
| - high = high * 265 + ((tmplow - low) / 4294967296)[dartx.truncate]() & dart.notNull(math._Random._MASK32);
|
| - tmphigh = high >> 14;
|
| - tmplow = low >> 14 | high << 18;
|
| - low = low ^ tmplow;
|
| - high = high ^ tmphigh;
|
| + low = (tmplow & dart.notNull(math._Random._MASK32)) >>> 0;
|
| + high = (high * 265 + ((tmplow - low) / 4294967296)[dartx.truncate]() & dart.notNull(math._Random._MASK32)) >>> 0;
|
| + tmphigh = high[dartx['>>']](14);
|
| + tmplow = (low[dartx['>>']](14) | high[dartx['<<']](18)) >>> 0;
|
| + low = (low ^ tmplow) >>> 0;
|
| + high = (high ^ tmphigh) >>> 0;
|
| tmplow = low * 21;
|
| - low = tmplow & dart.notNull(math._Random._MASK32);
|
| - high = high * 21 + ((tmplow - low) / 4294967296)[dartx.truncate]() & dart.notNull(math._Random._MASK32);
|
| - tmphigh = high >> 28;
|
| - tmplow = low >> 28 | high << 4;
|
| - low = low ^ tmplow;
|
| - high = high ^ tmphigh;
|
| - tmplow = low << 31;
|
| - tmphigh = high << 31 | low >> 1;
|
| + low = (tmplow & dart.notNull(math._Random._MASK32)) >>> 0;
|
| + high = (high * 21 + ((tmplow - low) / 4294967296)[dartx.truncate]() & dart.notNull(math._Random._MASK32)) >>> 0;
|
| + tmphigh = high[dartx['>>']](28);
|
| + tmplow = (low[dartx['>>']](28) | high[dartx['<<']](4)) >>> 0;
|
| + low = (low ^ tmplow) >>> 0;
|
| + high = (high ^ tmphigh) >>> 0;
|
| + tmplow = low[dartx['<<']](31);
|
| + tmphigh = (high[dartx['<<']](31) | low[dartx['>>']](1)) >>> 0;
|
| tmplow = tmplow + low;
|
| - low = tmplow & dart.notNull(math._Random._MASK32);
|
| - high = high + tmphigh + ((tmplow - low) / 4294967296)[dartx.truncate]() & dart.notNull(math._Random._MASK32);
|
| + low = (tmplow & dart.notNull(math._Random._MASK32)) >>> 0;
|
| + high = (high + tmphigh + ((tmplow - low) / 4294967296)[dartx.truncate]() & dart.notNull(math._Random._MASK32)) >>> 0;
|
| tmplow = dart.notNull(this[_lo]) * 1037;
|
| - this[_lo] = tmplow & dart.notNull(math._Random._MASK32);
|
| - this[_hi] = dart.notNull(this[_hi]) * 1037 + ((tmplow - dart.notNull(this[_lo])) / 4294967296)[dartx.truncate]() & dart.notNull(math._Random._MASK32);
|
| - this[_lo] = dart.notNull(this[_lo]) ^ low;
|
| - this[_hi] = dart.notNull(this[_hi]) ^ high;
|
| + this[_lo] = (tmplow & dart.notNull(math._Random._MASK32)) >>> 0;
|
| + this[_hi] = (dart.notNull(this[_hi]) * 1037 + ((tmplow - dart.notNull(this[_lo])) / 4294967296)[dartx.truncate]() & dart.notNull(math._Random._MASK32)) >>> 0;
|
| + this[_lo] = (dart.notNull(this[_lo]) ^ low) >>> 0;
|
| + this[_hi] = (dart.notNull(this[_hi]) ^ high) >>> 0;
|
| } while (seed != empty_seed);
|
| if (this[_hi] == 0 && this[_lo] == 0) {
|
| this[_lo] = 23063;
|
| @@ -29587,15 +29587,15 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| }
|
| [_nextState]() {
|
| let tmpHi = 4294901760 * dart.notNull(this[_lo]);
|
| - let tmpHiLo = tmpHi & dart.notNull(math._Random._MASK32);
|
| + let tmpHiLo = (tmpHi & dart.notNull(math._Random._MASK32)) >>> 0;
|
| let tmpHiHi = tmpHi - tmpHiLo;
|
| let tmpLo = 55905 * dart.notNull(this[_lo]);
|
| - let tmpLoLo = tmpLo & dart.notNull(math._Random._MASK32);
|
| + let tmpLoLo = (tmpLo & dart.notNull(math._Random._MASK32)) >>> 0;
|
| let tmpLoHi = tmpLo - tmpLoLo;
|
| let newLo = tmpLoLo + tmpHiLo + dart.notNull(this[_hi]);
|
| - this[_lo] = newLo & dart.notNull(math._Random._MASK32);
|
| + this[_lo] = (newLo & dart.notNull(math._Random._MASK32)) >>> 0;
|
| let newLoHi = newLo - dart.notNull(this[_lo]);
|
| - this[_hi] = ((tmpLoHi + tmpHiHi + newLoHi) / dart.notNull(math._POW2_32))[dartx.truncate]() & dart.notNull(math._Random._MASK32);
|
| + this[_hi] = (((tmpLoHi + tmpHiHi + newLoHi) / dart.notNull(math._POW2_32))[dartx.truncate]() & dart.notNull(math._Random._MASK32)) >>> 0;
|
| dart.assert(dart.notNull(this[_lo]) < dart.notNull(math._POW2_32));
|
| dart.assert(dart.notNull(this[_hi]) < dart.notNull(math._POW2_32));
|
| }
|
| @@ -29603,9 +29603,9 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| if (dart.notNull(max) <= 0 || dart.notNull(max) > dart.notNull(math._POW2_32)) {
|
| dart.throw(new core.RangeError(`max must be in range 0 < max ≤ 2^32, was ${max}`));
|
| }
|
| - if ((dart.notNull(max) & dart.notNull(max) - 1) == 0) {
|
| + if ((dart.notNull(max) & dart.notNull(max) - 1) >>> 0 == 0) {
|
| this[_nextState]();
|
| - return dart.notNull(this[_lo]) & dart.notNull(max) - 1;
|
| + return (dart.notNull(this[_lo]) & dart.notNull(max) - 1) >>> 0;
|
| }
|
| let rnd32 = null;
|
| let result = null;
|
| @@ -29618,14 +29618,14 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| }
|
| nextDouble() {
|
| this[_nextState]();
|
| - let bits26 = dart.notNull(this[_lo]) & (1 << 26) - 1;
|
| + let bits26 = (dart.notNull(this[_lo]) & (1)[dartx['<<']](26) - 1) >>> 0;
|
| this[_nextState]();
|
| - let bits27 = dart.notNull(this[_lo]) & (1 << 27) - 1;
|
| + let bits27 = (dart.notNull(this[_lo]) & (1)[dartx['<<']](27) - 1) >>> 0;
|
| return (bits26 * dart.notNull(math._Random._POW2_27_D) + bits27) / dart.notNull(math._Random._POW2_53_D);
|
| }
|
| nextBool() {
|
| this[_nextState]();
|
| - return (dart.notNull(this[_lo]) & 1) == 0;
|
| + return (dart.notNull(this[_lo]) & 1) >>> 0 == 0;
|
| }
|
| };
|
| math._Random[dart.implements] = () => [math.Random];
|
| @@ -29639,18 +29639,18 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| })
|
| });
|
| math._Random._POW2_53_D = 1.0 * 9007199254740992;
|
| - math._Random._POW2_27_D = 1.0 * (1 << 27);
|
| + math._Random._POW2_27_D = 1.0 * (1)[dartx['<<']](27);
|
| math._Random._MASK32 = 4294967295;
|
| math._JenkinsSmiHash = class _JenkinsSmiHash extends core.Object {
|
| static combine(hash, value) {
|
| - hash = 536870911 & dart.notNull(hash) + dart.notNull(value);
|
| - hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10);
|
| - return dart.notNull(hash) ^ dart.notNull(hash) >> 6;
|
| + hash = (536870911 & dart.notNull(hash) + dart.notNull(value)) >>> 0;
|
| + hash = (536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) >>> 0)[dartx['<<']](10)) >>> 0;
|
| + return (dart.notNull(hash) ^ hash[dartx['>>']](6)) >>> 0;
|
| }
|
| static finish(hash) {
|
| - hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) << 3);
|
| - hash = dart.notNull(hash) ^ dart.notNull(hash) >> 11;
|
| - return 536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) << 15);
|
| + hash = (536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) >>> 0)[dartx['<<']](3)) >>> 0;
|
| + hash = (dart.notNull(hash) ^ hash[dartx['>>']](11)) >>> 0;
|
| + return (536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) >>> 0)[dartx['<<']](15)) >>> 0;
|
| }
|
| static hash2(a, b) {
|
| return math._JenkinsSmiHash.finish(math._JenkinsSmiHash.combine(math._JenkinsSmiHash.combine(0, dart.as(a, core.int)), dart.as(b, core.int)));
|
| @@ -63852,14 +63852,14 @@ dart_library.library('dart_sdk', null, /* Imports */[
|
| dart.registerExtension(dart.global.ClientRect, html$._ClientRect);
|
| html$._JenkinsSmiHash = class _JenkinsSmiHash extends core.Object {
|
| static combine(hash, value) {
|
| - hash = 536870911 & dart.notNull(hash) + dart.notNull(value);
|
| - hash = 536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) << 10);
|
| - return dart.notNull(hash) ^ dart.notNull(hash) >> 6;
|
| + hash = (536870911 & dart.notNull(hash) + dart.notNull(value)) >>> 0;
|
| + hash = (536870911 & dart.notNull(hash) + ((524287 & dart.notNull(hash)) >>> 0)[dartx['<<']](10)) >>> 0;
|
| + return (dart.notNull(hash) ^ hash[dartx['>>']](6)) >>> 0;
|
| }
|
| static finish(hash) {
|
| - hash = 536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) << 3);
|
| - hash = dart.notNull(hash) ^ dart.notNull(hash) >> 11;
|
| - return 536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) << 15);
|
| + hash = (536870911 & dart.notNull(hash) + ((67108863 & dart.notNull(hash)) >>> 0)[dartx['<<']](3)) >>> 0;
|
| + hash = (dart.notNull(hash) ^ hash[dartx['>>']](11)) >>> 0;
|
| + return (536870911 & dart.notNull(hash) + ((16383 & dart.notNull(hash)) >>> 0)[dartx['<<']](15)) >>> 0;
|
| }
|
| static hash2(a, b) {
|
| return html$._JenkinsSmiHash.finish(html$._JenkinsSmiHash.combine(html$._JenkinsSmiHash.combine(0, dart.as(a, core.int)), dart.as(b, core.int)));
|
|
|