Lines Matching defs:const
2 const common = require('../common.js');
4 const types = [
21 const bench = common.createBenchmark(main, {
26 const INT8 = 0x7f;
27 const INT16 = 0x7fff;
28 const INT32 = 0x7fffffff;
29 const UINT8 = INT8 * 2;
30 const UINT16 = INT16 * 2;
31 const UINT32 = INT32 * 2;
33 const mod = {
43 const ab = new ArrayBuffer(8);
44 const dv = new DataView(ab, 0, 8);
45 const le = /LE$/.test(type);
46 const fn = `set${type.replace(/[LB]E$/, '')}`;
55 const m = mod[fn];
56 const method = dv[fn];
65 const method = dv[fn];