/third_party/node/test/parallel/ |
D | test-eventtarget-memoryleakwarning.js | 5 setMaxListeners, 35 setMaxListeners(2, et); 52 setMaxListeners(2, mc.port1); 60 setMaxListeners(2); 75 setMaxListeners(2, ee); 83 setMaxListeners(2, et);
|
D | test-event-emitter-check-listener-leaks.js | 41 e.setMaxListeners(1); 48 e.setMaxListeners(5); 57 e.setMaxListeners(1); 64 e.setMaxListeners(0); 95 e.setMaxListeners(1); 102 assert.strictEqual(e, e.setMaxListeners(1));
|
D | test-event-emitter-max-listeners.js | 32 e.setMaxListeners(42); 38 () => e.setMaxListeners(obj), 63 assert.throws(() => EventEmitter.setMaxListeners(obj), { 69 () => EventEmitter.setMaxListeners(defaultMaxListeners, 'INVALID_EMITTER'),
|
D | test-events-getmaxlisteners.js | 5 const { getMaxListeners, EventEmitter, defaultMaxListeners, setMaxListeners } = require('node:event… 10 setMaxListeners(101, ee); 17 setMaxListeners(101, et);
|
D | test-event-emitter-get-max-listeners.js | 10 emitter.setMaxListeners(0); 13 emitter.setMaxListeners(3);
|
D | test-event-emitter-set-max-listeners-side-effects.js | 31 e.setMaxListeners(5);
|
D | test-event-emitter-max-listeners-warning-for-null.js | 10 e.setMaxListeners(1);
|
D | test-event-emitter-max-listeners-warning-for-symbol.js | 12 e.setMaxListeners(1);
|
D | test-event-emitter-max-listeners-warning.js | 17 e.setMaxListeners(1);
|
D | test-http2-client-unescaped-path.js | 17 client.setMaxListeners(33);
|
D | test-http2-multiplex.js | 24 client.setMaxListeners(100);
|
D | test-event-emitter-add-listeners.js | 67 f.setMaxListeners(0);
|
D | test-http2-create-client-session.js | 39 client.setMaxListeners(101);
|
D | test-nodeeventtarget.js | 142 target.setMaxListeners(1);
|
/third_party/node/lib/ |
D | events.js | 312 EventEmitter.setMaxListeners = function in EventEmitter 327 } else if (typeof target.setMaxListeners === 'function') { 328 target.setMaxListeners(n); 410 EventEmitter.prototype.setMaxListeners = function setMaxListeners(n) { method in EventEmitter
|
/third_party/node/doc/api/ |
D | events.md | 646 set by [`emitter.setMaxListeners(n)`][] or defaults to 1005 ### `emitter.setMaxListeners(n)` 1016 memory leaks. The `emitter.setMaxListeners()` method allows the limit to be 1154 using the [`emitter.setMaxListeners(n)`][] method. To change the default 1161 the change is made. However, calling [`emitter.setMaxListeners(n)`][] still has 1167 `EventEmitter`, the `emitter.getMaxListeners()` and `emitter.setMaxListeners()` 1173 emitter.setMaxListeners(emitter.getMaxListeners() + 1); 1176 emitter.setMaxListeners(Math.max(emitter.getMaxListeners() - 1, 0)); 1183 emitter.setMaxListeners(emitter.getMaxListeners() + 1); 1186 emitter.setMaxListeners(Math.max(emitter.getMaxListeners() - 1, 0)); [all …]
|
/third_party/node/benchmark/events/ |
D | ee-listeners.js | 13 ee.setMaxListeners(listeners * 2 + 1);
|
D | ee-emit.js | 13 ee.setMaxListeners(listeners + 1);
|
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/ |
D | signal-handling.js | 64 process.setMaxListeners(length + 1)
|
/third_party/node/test/pummel/ |
D | test-fs-watch-system-limit.js | 33 gatherStderr.setMaxListeners(Infinity);
|
/third_party/node/deps/undici/src/lib/fetch/ |
D | request.js | 33 const { getMaxListeners, setMaxListeners, getEventListeners, defaultMaxListeners } = require('event… 386 setMaxListeners(100, signal) 388 setMaxListeners(100, signal)
|
D | index.js | 84 this.setMaxListeners(21)
|
/third_party/node/lib/internal/ |
D | worker.js | 462 source.setMaxListeners(Infinity); 463 dest.setMaxListeners(Infinity);
|
D | event_target.js | 851 setMaxListeners(n) { method in NodeEventTarget 854 EventEmitter.setMaxListeners(n, this); 985 setMaxListeners: kEnumerableProperty, property
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V010.md | 572 * events: do not accept NaN in setMaxListeners (Fedor Indutny)
|