Home
last modified time | relevance | path

Searched refs:lengthFront (Results 1 – 2 of 2) sorted by relevance

/base/update/updater/services/diffpatch/diff/
Dblocks_diff.cpp282 const BlockBuffer &oldInfo, int64_t &lengthFront, int64_t &lengthBack) in ComputeLength() argument
284 lengthFront = 0; in ComputeLength()
294 if ((s * MULTIPLE_TWO - i) > (tmp * MULTIPLE_TWO - lengthFront)) { in ComputeLength()
296 lengthFront = i; in ComputeLength()
313 if (lastScan_ + lengthFront > currentOffset_ - lengthBack) { in ComputeLength()
315 int64_t overlap = (lastScan_ + lengthFront) - (currentOffset_ - lengthBack); in ComputeLength()
319 if (newInfo.buffer[lastScan_ + lengthFront - overlap + i] == in ComputeLength()
320 oldInfo.buffer[lastPos_ + lengthFront - overlap + i]) { in ComputeLength()
331 lengthFront += lens - overlap; in ComputeLength()
Dblocks_diff.h75 const BlockBuffer &oldInfo, int64_t &lengthFront, int64_t &lengthBack);