Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,56 @@
|
||||
/* Metro module 1364; source: utils/Uint8ArrayUtils.tsx; dependencies: [2] */
|
||||
function _fun15666(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#15666, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1491:6, offset: 0x00e38ab2, size: 135 bytes, params: 8, frame: 17
|
||||
const closure = function(a0, a1) {
|
||||
var r0;
|
||||
var property;
|
||||
var value = a0.length !== 0;
|
||||
if (value) {
|
||||
property = global.Math;
|
||||
property = a0[property.floor(a1 / 8)];
|
||||
r0 = !!(property & 1 << a1 % 8);
|
||||
} else {
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
};
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('utils/Uint8ArrayUtils.tsx');
|
||||
exports.hasBit = closure;
|
||||
exports.addBit = function(a0, a1) {
|
||||
var r0;
|
||||
var value3;
|
||||
var value5;
|
||||
var value = a0;
|
||||
var property = global.Math;
|
||||
var value2 = property.floor(a1 / 8);
|
||||
if (value.length <= value2) {
|
||||
property = global.Uint8Array;
|
||||
value3 = value2 + 1;
|
||||
value5 = new property();
|
||||
value5.set(value, 0);
|
||||
r0 = value5;
|
||||
} else {
|
||||
r0 = value;
|
||||
}
|
||||
r0[value2] = r0[value2] | 1 << a1 % 8;
|
||||
return r0;
|
||||
};
|
||||
exports.removeBit = removeBit;
|
||||
exports.isUint8Array = function(a0) {
|
||||
return a0 instanceof global.Uint8Array;
|
||||
};
|
||||
exports.isSerializedUint8Array = function(a0) {
|
||||
return a0 != null && typeof a0 === 'object' && a0.__tag__ === 'uint8array';
|
||||
};
|
||||
}
|
||||
|
||||
function removeBit(a0, a1) { // fn#15669, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1491:383, offset: 0x00e38bf8, size: 78 bytes, params: 3, frame: 15
|
||||
var value;
|
||||
if (hasBit(a0, a1)) {
|
||||
value = global.Math.floor(a1 / 8);
|
||||
a0[value] = a0[value] & ~(1 << a1 % 8);
|
||||
}
|
||||
return a0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user