feat(auth): implement user authentication system
This commit is contained in:
parent
4847ab793a
commit
25cea4fbe8
12051 changed files with 1462377 additions and 0 deletions
8
backend/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformArrayIntDistribution.js
generated
vendored
Normal file
8
backend/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformArrayIntDistribution.js
generated
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import { addArrayIntToNew, addOneToPositiveArrayInt, substractArrayIntToNew, trimArrayIntInplace, } from './internals/ArrayInt.js';
|
||||
import { unsafeUniformArrayIntDistributionInternal } from './internals/UnsafeUniformArrayIntDistributionInternal.js';
|
||||
export function unsafeUniformArrayIntDistribution(from, to, rng) {
|
||||
var rangeSize = trimArrayIntInplace(addOneToPositiveArrayInt(substractArrayIntToNew(to, from)));
|
||||
var emptyArrayIntData = rangeSize.data.slice(0);
|
||||
var g = unsafeUniformArrayIntDistributionInternal(emptyArrayIntData, rangeSize.data, rng);
|
||||
return trimArrayIntInplace(addArrayIntToNew({ sign: 1, data: g }, from));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue