@4keys/murmurhash
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("murmurhash",[],t):"object"==typeof exports?exports.murmurhash=t():e.murmurhash=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(o){if(r[o])return r[o].exports;var n=r[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,o){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,r){"use strict";function o(e,t){var r,o,n,u,c,f,a,s;for(r=3&e.length,o=e.length-r,n=t,c=3432918353,f=461845907,s=0;s<o;)a=255&e.charCodeAt(s)|(255&e.charCodeAt(++s))<<8|(255&e.charCodeAt(++s))<<16|(255&e.charCodeAt(++s))<<24,++s,a=(65535&a)*c+(((a>>>16)*c&65535)<<16)&4294967295,a=a<<15|a>>>17,a=(65535&a)*f+(((a>>>16)*f&65535)<<16)&4294967295,n^=a,n=n<<13|n>>>19,u=5*(65535&n)+((5*(n>>>16)&65535)<<16)&4294967295,n=27492+(65535&u)+((58964+(u>>>16)&65535)<<16);switch(a=0,r){case 3:a^=(255&e.charCodeAt(s+2))<<16;case 2:a^=(255&e.charCodeAt(s+1))<<8;case 1:a^=255&e.charCodeAt(s),a=(65535&a)*c+(((a>>>16)*c&65535)<<16)&4294967295,a=a<<15|a>>>17,a=(65535&a)*f+(((a>>>16)*f&65535)<<16)&4294967295,n^=a}return n^=e.length,n^=n>>>16,n=2246822507*(65535&n)+((2246822507*(n>>>16)&65535)<<16)&4294967295,n^=n>>>13,n=3266489909*(65535&n)+((3266489909*(n>>>16)&65535)<<16)&4294967295,(n^=n>>>16)>>>0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o,e.exports=t.default}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("murmurhash",[],t):"object"==typeof exports?exports.murmurhash=t():e.murmurhash=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,r){"use strict";function n(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)+(e.charCodeAt(t++)<<16)+(e.charCodeAt(t)<<24)}function o(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)}function u(e,t){return e|=0,t|=0,(65535&e)*t+(((e>>>16)*t&65535)<<16)|0}function c(e,t){for(var r=1540483477,c=t^e.length,f=e.length,a=0;f>=4;){var i=n(e,a);i=u(i,r),i^=i>>>24,i=u(i,r),c=u(c,r),c^=i,a+=4,f-=4}switch(f){case 3:c^=o(e,a),c^=e.charCodeAt(a+2)<<16,c=u(c,r);break;case 2:c^=o(e,a),c=u(c,r);break;case 1:c^=e.charCodeAt(a),c=u(c,r)}return c^=c>>>13,c=u(c,r),(c^=c>>>15)>>>0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=c,e.exports=t.default}])}); |
{ | ||
"name": "@4keys/murmurhash", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A ES5 wrapper for the MurmurHash function", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
4187