Home
last modified time | relevance | path

Searched refs:Uint8Array (Results 1 – 25 of 79) sorted by relevance

1234

/plugin/encryptedpasswords/script/
H A DSubtleAES.js27 return this.createOpenSSLCryptString(salt, new Uint8Array(cipher));
78 * @return {Uint8Array}
81 return crypto.getRandomValues(new Uint8Array(8));
88 * @return {{cipher: Uint8Array, salt: Uint8Array}}
98 salt: new Uint8Array(Array.from(ostring.slice(8, 16)).map(ch => ch.charCodeAt(0))),
99 cipher: new Uint8Array(Array.from(ostring.slice(16)).map(ch => ch.charCodeAt(0))),
106 * @param {Uint8Array} salt
107 * @param {Uint8Array} cipher
111 const concat = new Uint8Array([
[all...]
H A Dmd5.min.js10 !function(){"use strict";function t(t){if(t)d[0]=d[16]=d[1]=d[2]=d[3]=d[4]=d[5]=d[6]=d[7]=d[8]=d[9]=d[10]=d[11]=d[12]=d[13]=d[14]=d[15]=0,this.blocks=d,this.buffer8=l;else if(a){var r=new ArrayBuffer(68);this.buffer8=new Uint8Array(r),this.blocks=new Uint32Array(r)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}var r="input is invalid type",e="object"==typeof window,i=e?window:{};i.JS_MD5_NO_WINDOW&&(e=!1);var s=!e&&"object"==typeof self,h=!i.JS_MD5_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;h?i=global:s&&(i=self);var f=!i.JS_MD5_NO_COMMON_JS&&"object"==typeof module&&module.exports,o="function"==typeof define&&define.amd,a=!i.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,n="0123456789abcdef".split(""),u=[128,32768,8388608,-2147483648],y=[0,8,16,24],c=["hex","array","digest","buffer","arrayBuffer","base64"],p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),d=[],l;if(a){var A=new ArrayBuffer(68);l=new Uint8Array(A),d=new Uint32Array(A)}!i.JS_MD5_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!a||!i.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});var b=function(r){return function(e){return new t(!0).update(e)[r]()}},v=function(){var r=b("hex");h&&(r=w(r)),r.create=function(){return new t},r.update=function(t){return r.create().update(t)};for(var e=0;e<c.length;++e){var i=c[e];r[i]=b(i)}return r},w=function(t){var e=eval("require('crypto')"),i=eval("require('buffer').Buffer"),s=function(s){if("string"==typeof s)return e.createHash("md5").update(s,"utf8").digest("hex");if(null===s||void 0===s)throw r;return s.constructor===ArrayBuffer&&(s=new Uint8Array(s)),Array.isArray(s)||ArrayBuffer.isView(s)||s.constructor===i?e.createHash("md5").update(new i(s)).digest("hex"):t(s)};return s};t.prototype.update=function(t){if(!this.finalized){var e,i=typeof t;if("string"!==i){if("object"!==i)throw r;if(null===t)throw r;if(a&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||a&&ArrayBuffer.isView(t)))throw r;e=!0}for(var s,h,f=0,o=t.length,n (…)
/plugin/amcharts/assets/amcharts/plugins/export/libs/blob.js/
H A Dblob.js64 , Uint8Array = view.Uint8Array
122 if (Uint8Array && (data instanceof ArrayBuffer || data instanceof Uint8Array)) {
125 , buf = new Uint8Array(data)
192 if (Uint8Array && blobParts[i] instanceof Uint8Array) {
/plugin/jplayer/vendor/happyworm/jplayer/lib/aurora/
H A Dmp3.js4920 this.scfsi = new Uint8Array(2);
4942 this.scalefac = new Uint8Array(39);
7340 const SFB_48000_LONG = new Uint8Array([
7345 const SFB_44100_LONG = new Uint8Array([
7350 const SFB_32000_LONG = new Uint8Array([
7398 const SFB_24000_LONG = new Uint8Array([
7403 const SFB_22050_LONG = new Uint8Array([
7456 const SFB_8000_LONG = new Uint8Array([
7464 const SFB_8000_SHORT = new Uint8Array([
7475 const SFB_8000_MIXED = new Uint8Array([
[all …]
H A Daurora.js602 if (input instanceof Uint8Array) {
605 this.data = new Uint8Array(input);
607 …this.data = new Uint8Array(input.buffer, input.byteOffset, input.length * input.BYTES_PER_ELEMENT);
623 return new AVBuffer(new Uint8Array(this.data));
839 uint8 = new Uint8Array(buf);
857 nativeEndian = new Uint16Array(new Uint8Array([0x12, 0x34]).buffer)[0] === 0x3412;
3682 buf = new AVBuffer(new Uint8Array(e.target.result));
3800 buf = new Uint8Array(_this.xhr.response);
3803 buf = new Uint8Array(txt.length);
H A Daac.js68 var cookie = new Uint8Array(2);
4426 exports.SWB_SHORT_WINDOW_COUNT = new Uint8Array([
4430 exports.SWB_LONG_WINDOW_COUNT = new Uint8Array([
H A Dogg.js2Uint8Array(slab),ret)}return ret}var i=0,type,typeSize,previousType;while(i<size){var curr=slab[i]…
4 …nt16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=ne…
15 …Int8Array,"Int16Array":Int16Array,"Int32Array":Int32Array,"Uint8Array":Uint8Array,"Uint16Array":Ui…
49 var data = new Uint8Array(Ogg.HEAPU8.subarray(packet, packet + bytes));
/plugin/diagramsnet/lib/js/deflate/
H A Dpako.min.js2Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),o=new Uint8Array([0,0,0,0,…
/plugin/abc2/abc-libraries/abc2svg/
H A Dsnd-1.js370 a=new Uint8Array(dl)
505 throw new Error('invalid chunk type:'+chunk.type);while(ip<size){sampleName=String.fromCharCode.apply(null,data.subarray(ip,ip+=20));start=(data[ip++]<<0)|(data[ip++]<<8)|(data[ip++]<<16)|(data[ip++]<<24);end=(data[ip++]<<0)|(data[ip++]<<8)|(data[ip++]<<16)|(data[ip++]<<24);startLoop=(data[ip++]<<0)|(data[ip++]<<8)|(data[ip++]<<16)|(data[ip++]<<24);endLoop=(data[ip++]<<0)|(data[ip++]<<8)|(data[ip++]<<16)|(data[ip++]<<24);sampleRate=(data[ip++]<<0)|(data[ip++]<<8)|(data[ip++]<<16)|(data[ip++]<<24);originalPitch=data[ip++];pitchCorrection=(data[ip++]<<24)>>24;sampleLink=data[ip++]|(data[ip++]<<8);sampleType=data[ip++]|(data[ip++]<<8);var sample=new Int16Array(new Uint8Array(data.subarray(this.samplingData.offset+start*2,this.samplingData.offset+end*2)).buffer);startLoop-=start;endLoop-=start;if(sampleRate>0){var adjust=this.adjustSampleData(sample,sampleRate);sample=adjust.sample;sampleRate*=adjust.multiply;startLoop*=adjust.multiply;endLoop*=adjust.multiply}
526 if(i!=po.c_i[c]){if(po.c_i[c]==undefined){po.op.send(new Uint8Array([0xb0+c,121,0]))
528 po.op.send(new Uint8Array([0xb0+c,j,s.p_v.midictl[j]]))}}
530 po.op.send(new Uint8Array([0xc0+c,i&0x7f]))}
531 if(a&&Midi5.ma.sysexEnabled){po.op.send(new Uint8Array([0xf0,0x7f,0x7f,0x08,0x02,i&0x7f,0x01,k,k,a/.78125,0,0xf7]),t)}
532 po.op.send(new Uint8Array([0x90+c,k,127]),t)
533 po.op.send(new Uint8Array([0x80+c,k,0]),t+d-20)}
534 function midi_ctrl(po,s,t){po.op.send(new Uint8Array([0xb0+s.chn,s.ctrl,s.val]),t*1000)}
555 if(0){op.send(new Uint8Array([
[all...]
/plugin/stlviewer/stlviewer/
H A Die_polyfills.js46 ….fromCharCode,l={}.toString,h=e.SharedArrayBuffer,u=h?l.call(h):"",k=e.Uint8Array,m=k||Array,v=l.c…
H A Dparser.min.js2Uint8Array(e),i=n.length,a="",s=0;s<i;s+=16383){var o=16383;s+16383>i&&(o=i-s),a+=String.fromCharC…
/plugin/diagramsnet/lib/js/
H A Dstencils.min.js206 t = pako.inflateRaw(Uint8Array.from(atob(t), function (c) {
/plugin/datatables/assets/jszip/dist/
H A Djszip.min.js
/plugin/diagramsnet/lib/js/jszip/
H A Djszip.min.js12Uint8Array(0|n):new Array(0|n);k<a.length;)g=f.indexOf(a.charAt(k++)),h=f.indexOf(a.charAt(k++)),i…
13Uint8Array(1)).length}catch(a){return!1}}(),nodebuffer:function(){try{return i.nodebuffer&&1===Str…
/plugin/xlsx2dw/packages/jszip/
H A Djszip.js91 output = new Uint8Array(totalLength|0);
1990 return new Uint8Array(0);
2562 res = new Uint8Array(totalLength);
2802 buf = new Uint8Array(buf_len);
3281 return new Uint8Array(input);
3298 return new Uint8Array(input);
4831 strm.input = new Uint8Array(data);
5197 strm.input = new Uint8Array(data);
5219 dict = new Uint8Array(dictionary);
5481 result = new Uint8Array(len);
[all …]
/plugin/amcharts/assets/amcharts/plugins/export/libs/jszip/
H A Djszip.min.js12Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,e=a("pako");c.uncompr…
13Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;c.assign=function(a){f…
H A Djszip.js657 file._data = new Uint8Array(copy.length);
1603 exports.uint8array = typeof Uint8Array !== "undefined";
1670 return new Uint8Array(0);
1689 this.data = new Uint8Array(length);
1756 buf = new Uint8Array(buf_len);
2093 return (new Uint8Array(input)).buffer;
2096 return new Uint8Array(input);
2113 return new Uint8Array(input);
2116 return nodeBuffer(new Uint8Array(input));
3592 result = new Uint8Array(len);
[all …]
/plugin/diagramsnet/lib/js/socket.io/
H A Dsimplepeer9.10.0.min.js1 …ay=o,n.fromByteArray=l;for(var c=[],u=[],p="undefined"==typeof Uint8Array?Array:Uint8Array,f="ABCD…
6Uint8Array(e);return t.__proto__=s.prototype,t}function s(e,t,n){if("number"==typeof e){if("string…
/plugin/pdfjs/pdfjs/build/
H A Dpdf.worker.js2001 var buffer8 = new Uint8Array(4);
6571 new Uint8Array(dest).set(new Uint8Array(src, srcOffset, n), destOffset);
9206 ctor: Uint8Array,
17128 this.bytes = arrayBuffer instanceof Uint8Array ? arrayBuffer : new Uint8Array(arrayBuffer);
19636 row = new Uint8Array(row);
25547 var s = new Uint8Array(256);
26364 return new Uint8Array(0);
26432 iv = new Uint8Array(16);
48338 return new Uint8Array(0);
49125 var cl = new Uint8Array(3),
[all …]
H A Dpdf.js751 var bytes = new Uint8Array(length);
786 var data = new Uint8Array(resultLength);
791 if (!(item instanceof Uint8Array)) {
795 item = new Uint8Array(item);
832 var buffer8 = new Uint8Array(4);
5402 new Uint8Array(dest).set(new Uint8Array(src, srcOffset, n), destOffset);
8037 ctor: Uint8Array,
9942 params[key] = new Uint8Array(pdfBytes);
18659 var colors = new Uint8Array(count * 3);
21041 return output instanceof Uint8Array ? output : new Uint8Array(output);
[all …]
/plugin/codemirror/dist/modes/
H A Dwebidl.min.js.map1 …r\", \"DataView\", \"Int8Array\", \"Int16Array\", \"Int32Array\",\n \"Uint8Array\", \"Uint16Array…
/plugin/datatables/assets/pdfmake/build/
H A Dpdfmake.min.js
/plugin/xlsx2dw/packages/xlsx/
H A Dxlsx.mjs176 return typeof Uint8Array != "undefined" ? new Uint8Array(len) : new Array(len);
183 return typeof Uint8Array != "undefined" ? new Uint8Array(len) : new Array(len);
206 return new Uint8Array(data);
219 if(typeof Uint8Array !== "undefined") {
222 var o = new Uint8Array(maxlen);
2371 var a = new Uint8Array(M);
3855 if(typeof Uint8Array !== 'undefined' && d instanceof Uint8Array) return utf8read(a2s(ab2a(d)));
23158 var out = new Uint8Array(len);
23219 var usz = new Uint8Array(7);
23524 buf = new Uint8Array(buf);
[all …]
/plugin/amcharts/assets/amcharts/plugins/export/libs/pdfmake/
H A Dpdfmake.js248 var arr = new Uint8Array(1)
379 that = Buffer._augment(new Uint8Array(array))
417 that = Buffer._augment(new Uint8Array(length))
1507 if (typeof Uint8Array !== 'undefined') {
1511 var buf = new Uint8Array(this.length)
1745 var Arr = (typeof Uint8Array !== 'undefined')
1746 ? Uint8Array
3095 Uint8Array = isNative(Uint8Array = context.Uint8Array) && Uint8Array,
10147 if (isFunction(/x/) || (Uint8Array && !isFunction(Uint8Array))) {
23089 result = new Uint8Array(len);
[all …]
/plugin/diagramsnet/lib/js/diagramly/vsdx/
H A DmxVsdxCanvas2D.js477 svgData = String.fromCharCode.apply(null, new Uint8Array(svgData));

1234