MCPcopy Index your code
hub / github.com/dataease/SQLBot / addChunk

Function addChunk

frontend/public/swagger-ui-bundle.js:19689–19696  ·  view source on GitHub ↗
(s, o, i, a)

Source from the content-addressed store, hash-verified

19687 return !w.ended && (w.length < w.highWaterMark || 0 === w.length)
19688 }
19689 function addChunk(s, o, i, a) {
19690 ;(o.flowing && 0 === o.length && !o.sync
19691 ? ((o.awaitDrain = 0), s.emit('data', i))
19692 : ((o.length += o.objectMode ? 1 : i.length),
19693 a ? o.buffer.unshift(i) : o.buffer.push(i),
19694 o.needReadable && emitReadable(s)),
19695 maybeReadMore(s, o))
19696 }
19697 ;(Object.defineProperty(Readable.prototype, 'destroyed', {
19698 enumerable: !1,
19699 get: function get() {

Callers 1

readableAddChunkFunction · 0.85

Calls 4

emitReadableFunction · 0.85
maybeReadMoreFunction · 0.85
unshiftMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected