Home
last modified time | relevance | path

Searched refs:defaultMaxListeners (Results 1 – 18 of 18) sorted by relevance

/third_party/node/test/es-module/
Dtest-esm-live-binding.mjs6 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/
Dtest-global-console-exists.js21 EventEmitter.defaultMaxListeners = oldDefault;
38 const oldDefault = EventEmitter.defaultMaxListeners;
39 EventEmitter.defaultMaxListeners = 1;
Dtest-event-emitter-check-listener-leaks.js73 events.EventEmitter.defaultMaxListeners = 42;
84 events.EventEmitter.defaultMaxListeners = 44;
93 events.EventEmitter.defaultMaxListeners = 42;
Dtest-worker-console-listeners.js9 for (let i = 0; i < EventEmitter.defaultMaxListeners; ++i) {
Dtest-repl-tab-complete-no-warn.js6 const DEFAULT_MAX_LISTENERS = require('events').defaultMaxListeners;
Dtest-event-emitter-get-max-listeners.js8 assert.strictEqual(emitter.getMaxListeners(), EventEmitter.defaultMaxListeners);
Dtest-console-log-stdio-broken-dest.js21 for (let i = 0; i < EventEmitter.defaultMaxListeners + 1; i++) {
Dtest-event-emitter-max-listeners.js48 () => events.defaultMaxListeners = obj,
Dtest-http2-client-request-listeners-warning.js33 for (let i = 0; i < EventEmitter.defaultMaxListeners + 1; i++) {
Dtest-nodeeventtarget.js144 strictEqual(target.getMaxListeners(), NodeEventTarget.defaultMaxListeners);
/third_party/node/lib/
Devents.js130 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/
Devent_target.js231 self[kMaxEventTargetListeners] = EventEmitter.defaultMaxListeners;
446 static defaultMaxListeners = 10; field in NodeEventTarget
/third_party/node/doc/api/
Devents.md402 [`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
Dprocess.md424 > events.defaultMaxListeners = 1;
437 > events.defaultMaxListeners = 1;
/third_party/freetype/docs/reference/assets/javascripts/lunr/
Dwordcut.js1defaultMaxListeners=10,r.prototype.setMaxListeners=function(n){if("number"!=typeof n||n<0||isNaN(n…
/third_party/node/doc/changelogs/
DCHANGELOG_ARCHIVE.md586 * events: add EventEmitter.defaultMaxListeners (Ben Noordhuis)
DCHANGELOG_V8.md4381 …/221b03ad20)] - **(SEMVER-MAJOR)** **events, doc**: check input in defaultMaxListeners (DavidCai) …
/third_party/boost/libs/math/doc/graphs/hypergeometric_1f1/
Dplotlyjs-bundle.js1defaultMaxListeners:t._maxListeners}function f(t,e,r,i){var a,o,s;if("function"!=typeof r)throw ne…