Code Duplication    Length = 1-1 lines in 2 locations

node_modules/mocha/mocha.js 1 location

@@ 11262-11262 (lines=1) @@
11259
// Length is the combined lengths of all the buffers in the list.
11260
// This function is designed to be inlinable, so please take care when making
11261
// changes to the function body.
11262
function fromList(n, state) {
11263
  // nothing buffered
11264
  if (state.length === 0) return null;
11265

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

@@ 886-886 (lines=1) @@
883
// Length is the combined lengths of all the buffers in the list.
884
// This function is designed to be inlinable, so please take care when making
885
// changes to the function body.
886
function fromList(n, state) {
887
  // nothing buffered
888
  if (state.length === 0) return null;
889