$99 GRAYBYTE WORDPRESS FILE MANAGER $66

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/usr/lib/node_modules/npm/node_modules/readable-stream/lib/internal/streams/

HOME
Current File : /usr/lib/node_modules/npm/node_modules/readable-stream/lib/internal/streams//state.js
'use strict';

var ERR_INVALID_OPT_VALUE = require('../../../errors').codes.ERR_INVALID_OPT_VALUE;

function highWaterMarkFrom(options, isDuplex, duplexKey) {
  return options.highWaterMark != null ? options.highWaterMark : isDuplex ? options[duplexKey] : null;
}

function getHighWaterMark(state, options, duplexKey, isDuplex) {
  var hwm = highWaterMarkFrom(options, isDuplex, duplexKey);

  if (hwm != null) {
    if (!(isFinite(hwm) && Math.floor(hwm) === hwm) || hwm < 0) {
      var name = isDuplex ? duplexKey : 'highWaterMark';
      throw new ERR_INVALID_OPT_VALUE(name, hwm);
    }

    return Math.floor(hwm);
  } // Default value


  return state.objectMode ? 16 : 16 * 1024;
}

module.exports = {
  getHighWaterMark: getHighWaterMark
};


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.36 PM
root / root
0755
async_iterator.js
5.817 KB
10 Mar 2021 2.36 PM
root / root
0644
buffer_list.js
6.187 KB
10 Mar 2021 2.36 PM
root / root
0644
destroy.js
3.044 KB
10 Mar 2021 2.36 PM
root / root
0644
end-of-stream.js
3.029 KB
10 Mar 2021 2.36 PM
root / root
0644
from-browser.js
0.099 KB
10 Mar 2021 2.36 PM
root / root
0644
from.js
3.063 KB
10 Mar 2021 2.36 PM
root / root
0644
pipeline.js
2.371 KB
10 Mar 2021 2.36 PM
root / root
0644
state.js
0.731 KB
10 Mar 2021 2.36 PM
root / root
0644
stream-browser.js
0.048 KB
10 Mar 2021 2.36 PM
root / root
0644
stream.js
0.035 KB
10 Mar 2021 2.36 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF