Code Duplication    Length = 1-1 lines in 2 locations

node_modules/mocha/mocha.js 1 location

@@ 10713-10713 (lines=1) @@
10710
10711
// Don't raise the hwm > 8MB
10712
var MAX_HWM = 0x800000;
10713
function computeNewHighWaterMark(n) {
10714
  if (n >= MAX_HWM) {
10715
    n = MAX_HWM;
10716
  } else {

node_modules/readable-stream/lib/_stream_readable.js 1 location

@@ 336-336 (lines=1) @@
333
334
// Don't raise the hwm > 8MB
335
var MAX_HWM = 0x800000;
336
function computeNewHighWaterMark(n) {
337
  if (n >= MAX_HWM) {
338
    n = MAX_HWM;
339
  } else {