Home
last modified time | relevance | path

Searched refs:hwm (Results 1 – 11 of 11) sorted by relevance

/third_party/node/lib/internal/streams/
Dstate.js33 const hwm = highWaterMarkFrom(options, isDuplex, duplexKey);
34 if (hwm != null) {
35 if (!NumberIsInteger(hwm) || hwm < 0) {
37 throw new ERR_INVALID_ARG_VALUE(name, hwm);
39 return MathFloor(hwm);
/third_party/node/test/parallel/
Dtest-stream-unshift-read-race.js34 const hwm = 10; constant
35 const r = stream.Readable({ highWaterMark: hwm, autoDestroy: false });
38 const data = Buffer.allocUnsafe(chunks * hwm + Math.ceil(hwm / 2));
Dtest-streams-highwatermark.js76 const hwm = 0x40000000 + 1; constant
81 assert.throws(() => readable.read(hwm), common.expectsError({
85 hwm,
Dtest-fs-read-stream-pos.js25 const hwm = 10; constant
35 highWaterMark: hwm,
55 if (chunk.length !== hwm) {
Dtest-http2-res-writable-properties.js8 const hwm = req.socket.writableHighWaterMark; constant
9 assert.strictEqual(res.writableHighWaterMark, hwm);
Dtest-http-outgoing-properties.js20 const hwm = req.socket.writableHighWaterMark;
21 assert.strictEqual(res.writableHighWaterMark, hwm);
/third_party/node/doc/api/
Dstream.md304 option specifies a [total number of bytes][hwm-gotcha]. For streams operating
3863 * `highWaterMark` {number} The maximum [number of bytes][hwm-gotcha] to store
4816 [hwm-gotcha]: #highwatermark-discrepancy-after-calling-readablesetencoding
/third_party/node/doc/changelogs/
DCHANGELOG_ARCHIVE.md253 * streams: set default hwm properly for Duplex (Andrew Oppenlander)
DCHANGELOG_V13.md2138 …://github.com/nodejs/node/commit/2505f678ef)] - **http**: support readable hwm in IncomingMessage …
DCHANGELOG_V18.md3647 …//github.com/nodejs/node/commit/bf3991b406)] - **stream**: fix 0 transform hwm backpressure (Rober…
DCHANGELOG_V12.md3407 …s/node/commit/86369e4ac5)] - **(SEMVER-MINOR)** **http**: support readable hwm in IncomingMessage …