diff options
author | danlark <danlark@yandex-team.ru> | 2022-02-10 16:46:08 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:08 +0300 |
commit | 3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (patch) | |
tree | 26154e1e9990f1bb4525d3e3fb5b6dac2c2c1da2 /library/cpp/comptable/comptable.cpp | |
parent | cb68f224c46a8ee52ac3fdd2a32534b8bb8dc134 (diff) | |
download | ydb-3426a9bc7f169ae9da54cef557ad2a33f6e8eee0.tar.gz |
Restoring authorship annotation for <danlark@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/comptable/comptable.cpp')
-rw-r--r-- | library/cpp/comptable/comptable.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/comptable/comptable.cpp b/library/cpp/comptable/comptable.cpp index 8a92d4d1aa..add15d8cec 100644 --- a/library/cpp/comptable/comptable.cpp +++ b/library/cpp/comptable/comptable.cpp @@ -96,11 +96,11 @@ namespace NCompTable { size_t i = 0; iterator.Visit(ui32(data.size())); for (; i + 3 < data.size(); i += 4) { - iterator.Visit(reinterpret_cast<const ui32*>(data.data() + i)[0]); + iterator.Visit(reinterpret_cast<const ui32*>(data.data() + i)[0]); } if (i != data.size()) { ui32 buffer[1] = {0}; - memcpy(buffer, data.data() + i, data.size() - i); + memcpy(buffer, data.data() + i, data.size() - i); iterator.Visit(buffer[0]); } } @@ -317,8 +317,8 @@ namespace NCompTable { if (dataBuf.empty()) { return; } - const ui8* src = reinterpret_cast<const ui8*>(dataBuf.data()); - ui64 border = dataBuf.size(); + const ui8* src = reinterpret_cast<const ui8*>(dataBuf.data()); + ui64 border = dataBuf.size(); ui32 len = 0; ui32 nullTerm = 1; if (HQ) { |