Home | History | Annotate | Download | only in resources

Lines Matching full:numbytes

87    * @param {number} numBytes The number of bytes sent.
90 PendingSend.prototype.reportBytesSent = function(numBytes) {
91 var result = this.reportBytesSentInternal_(numBytes);
102 * error occurred after this send, that is, unless numBytes is greater than
104 * @param {number} numBytes The number of bytes sent.
108 PendingSend.prototype.reportBytesSentAndError = function(numBytes, error) {
109 var result = this.reportBytesSentInternal_(numBytes);
130 * @param {number} numBytes The number of bytes sent.
134 PendingSend.prototype.reportBytesSentInternal_ = function(numBytes) {
135 this.bytesReceivedBySink_ += numBytes;
160 this.data_ = this.data_.slice(result.numBytes);
427 * @param {number} numBytes The number of bytes sent.
430 DataSender.prototype.reportBytesSent = function(numBytes) {
431 while (numBytes > 0 && this.sendsAwaitingAck_.length) {
432 var result = this.sendsAwaitingAck_[0].reportBytesSent(numBytes);
433 numBytes = result.bytesUnreported;
437 if (numBytes > 0 && this.pendingSends_.length) {
438 var result = this.pendingSends_[0].reportBytesSent(numBytes);
439 numBytes = result.bytesUnreported;
450 * @param {number} numBytes The number of bytes sent.
454 DataSender.prototype.reportBytesSentAndError = function(numBytes, error) {
458 numBytes, error);
459 numBytes = result.bytesUnreported;
465 numBytes, error);
466 numBytes = result.bytesUnreported;