Lines Matching refs:base
58 var hat = module.exports = function (bits, base) {
59 if (!base) base = 16;
63 var digits = Math.log(Math.pow(2, bits)) / Math.log(base);
65 digits = Math.log(Math.pow(2, bits / i)) / Math.log(base) * i;
73 var x = Math.floor(Math.random() * base).toString(base);
78 var b = Math.pow(base, rem);
79 var x = Math.floor(Math.random() * b).toString(base);
83 var parsed = parseInt(res, base);
85 return hat(bits, base)
90 hat.rack = function (bits, base, expandBy) { argument
99 var id = hat(bits, base);
117 fn.base = base || 16;
22893 function inherit(child, base, properties) { argument
22894 var baseP = base.prototype,