Searched refs:defaultMaxListeners (Results 1 – 18 of 18) sorted by relevance
/third_party/node/test/es-module/ |
D | test-esm-live-binding.mjs | 6 import events, { defaultMaxListeners } from 'events'; 80 const originDefaultMaxListeners = events.defaultMaxListeners; 85 Reflect.defineProperty(Function.prototype, 'defaultMaxListeners', { 90 Reflect.defineProperty(this, 'defaultMaxListeners', { 100 assert.strictEqual(defaultMaxListeners, originDefaultMaxListeners); 101 assert.strictEqual(events.defaultMaxListeners, originDefaultMaxListeners); 103 events.defaultMaxListeners += 1; 105 assert.strictEqual(events.defaultMaxListeners, 110 assert.strictEqual(defaultMaxListeners, originDefaultMaxListeners + 1); 111 assert.strictEqual(Function.prototype.defaultMaxListeners, 1); [all …]
|
/third_party/node/test/parallel/ |
D | test-global-console-exists.js | 21 EventEmitter.defaultMaxListeners = oldDefault; 38 const oldDefault = EventEmitter.defaultMaxListeners; 39 EventEmitter.defaultMaxListeners = 1;
|
D | test-event-emitter-check-listener-leaks.js | 73 events.EventEmitter.defaultMaxListeners = 42; 84 events.EventEmitter.defaultMaxListeners = 44; 93 events.EventEmitter.defaultMaxListeners = 42;
|
D | test-worker-console-listeners.js | 9 for (let i = 0; i < EventEmitter.defaultMaxListeners; ++i) {
|
D | test-repl-tab-complete-no-warn.js | 6 const DEFAULT_MAX_LISTENERS = require('events').defaultMaxListeners;
|
D | test-event-emitter-get-max-listeners.js | 8 assert.strictEqual(emitter.getMaxListeners(), EventEmitter.defaultMaxListeners);
|
D | test-console-log-stdio-broken-dest.js | 21 for (let i = 0; i < EventEmitter.defaultMaxListeners + 1; i++) {
|
D | test-event-emitter-max-listeners.js | 48 () => events.defaultMaxListeners = obj,
|
D | test-http2-client-request-listeners-warning.js | 33 for (let i = 0; i < EventEmitter.defaultMaxListeners + 1; i++) {
|
D | test-nodeeventtarget.js | 144 strictEqual(target.getMaxListeners(), NodeEventTarget.defaultMaxListeners);
|
/third_party/node/lib/ |
D | events.js | 130 let defaultMaxListeners = 10; variable 142 return defaultMaxListeners; 150 defaultMaxListeners = arg; 176 function(n = defaultMaxListeners, ...eventTargets) { 180 defaultMaxListeners = n; 284 return EventEmitter.defaultMaxListeners;
|
/third_party/node/lib/internal/ |
D | event_target.js | 231 self[kMaxEventTargetListeners] = EventEmitter.defaultMaxListeners; 446 static defaultMaxListeners = 10; field in NodeEventTarget
|
/third_party/node/doc/api/ |
D | events.md | 402 [`events.defaultMaxListeners`][]. 758 ## `events.defaultMaxListeners` 766 for *all* `EventEmitter` instances, the `events.defaultMaxListeners` 770 Take caution when setting the `events.defaultMaxListeners` because the 773 precedence over `events.defaultMaxListeners`. 1619 [`events.defaultMaxListeners`]: #events_events_defaultmaxlisteners
|
D | process.md | 424 > events.defaultMaxListeners = 1; 437 > events.defaultMaxListeners = 1;
|
/third_party/freetype/docs/reference/assets/javascripts/lunr/ |
D | wordcut.js | 1 …defaultMaxListeners=10,r.prototype.setMaxListeners=function(n){if("number"!=typeof n||n<0||isNaN(n…
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_ARCHIVE.md | 586 * events: add EventEmitter.defaultMaxListeners (Ben Noordhuis)
|
D | CHANGELOG_V8.md | 4381 …/221b03ad20)] - **(SEMVER-MAJOR)** **events, doc**: check input in defaultMaxListeners (DavidCai) …
|
/third_party/boost/libs/math/doc/graphs/hypergeometric_1f1/ |
D | plotlyjs-bundle.js | 1 …defaultMaxListeners:t._maxListeners}function f(t,e,r,i){var a,o,s;if("function"!=typeof r)throw ne…
|