版博士V2.0程序
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
CPL 9104556504 v2.0.7 报表数据修改 1 рік тому
..
.npmignore v2.0.7 报表数据修改 1 рік тому
README.md v2.0.7 报表数据修改 1 рік тому
component.json v2.0.7 报表数据修改 1 рік тому
index.js v2.0.7 报表数据修改 1 рік тому
package.json v2.0.7 报表数据修改 1 рік тому
test.js v2.0.7 报表数据修改 1 рік тому

README.md

string-hash

A fast string hashing function for Node.JS. The particular algorithm is quite similar to djb2, by Dan Bernstein and available here. Differences include iterating over the string backwards (as that is faster in JavaScript) and using the XOR operator instead of the addition operator (as described at that page and because it obviates the need for modular arithmetic in JavaScript).

The hashing function returns a number between 0 and 4294967295 (inclusive).

Thanks to cscott for reminding us how integers work in JavaScript.

License

To the extend possible by law, The Dark Sky Company, LLC has waived all copyright and related or neighboring rights to this library.