Searched refs:nextTransferAmount (Results 1 – 1 of 1) sorted by relevance
235 int nextTransferAmount = 0; in receive() local237 nextTransferAmount = buffer.length - in; in receive()241 nextTransferAmount = buffer.length - in; in receive()243 nextTransferAmount = out - in; in receive()246 if (nextTransferAmount > bytesToTransfer) in receive()247 nextTransferAmount = bytesToTransfer; in receive()248 assert(nextTransferAmount > 0); in receive()249 System.arraycopy(b, off, buffer, in, nextTransferAmount); in receive()250 bytesToTransfer -= nextTransferAmount; in receive()251 off += nextTransferAmount; in receive()[all …]