Home
last modified time | relevance | path

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

/base/update/updater/services/diffpatch/diff/
Dblocks_diff.cpp259 const BlockBuffer &oldInfo, int64_t &oldScore, int64_t &matchLen) in ComputeOldScore() argument
262 for (int64_t begin = currentOffset_ += matchLen; currentOffset_ < newSize; currentOffset_++) { in ComputeOldScore()
264matchLen = suffixArray_->Search(newBuff, { oldInfo.buffer, oldInfo.length }, 0, oldInfo.length, ma… in ComputeOldScore()
265 for (; begin < currentOffset_ + matchLen; begin++) { in ComputeOldScore()
271 if (((matchLen == oldScore) && (matchLen != 0)) || (matchLen > (oldScore + BLOCK_SCORE))) { in ComputeOldScore()
339 int64_t matchLen = 0; in GetCtrlDatas() local
344 ComputeOldScore(newInfo, oldInfo, oldScore, matchLen); in GetCtrlDatas()
345 if ((matchLen == oldScore) && (currentOffset_ != static_cast<int64_t>(newInfo.length))) { in GetCtrlDatas()
Dblocks_diff.h73 const BlockBuffer &oldInfo, int64_t &oldScore, int64_t &matchLen);