aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/containers/comptrie/writeable_node.cpp
diff options
context:
space:
mode:
authoronpopov <onpopov@yandex-team.ru>2022-02-10 16:50:38 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:38 +0300
commit84a29dd4980d5b39615e453f289bd1a81213296d (patch)
tree5e320f10d6b5863e0d5ab1a8caa9eefbdaa5195f /library/cpp/containers/comptrie/writeable_node.cpp
parent1717072c6635948128dad7b015a0ec05acbe913b (diff)
downloadydb-84a29dd4980d5b39615e453f289bd1a81213296d.tar.gz
Restoring authorship annotation for <onpopov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/containers/comptrie/writeable_node.cpp')
-rw-r--r--library/cpp/containers/comptrie/writeable_node.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/containers/comptrie/writeable_node.cpp b/library/cpp/containers/comptrie/writeable_node.cpp
index 404003dbbd..749e4fc8b9 100644
--- a/library/cpp/containers/comptrie/writeable_node.cpp
+++ b/library/cpp/containers/comptrie/writeable_node.cpp
@@ -1,6 +1,6 @@
-#include "writeable_node.h"
-#include "node.h"
-#include "comptrie_impl.h"
+#include "writeable_node.h"
+#include "node.h"
+#include "comptrie_impl.h"
namespace NCompactTrie {
TWriteableNode::TWriteableNode()
@@ -26,7 +26,7 @@ namespace NCompactTrie {
, Label(node.GetLabel())
{
}
-
+
size_t TWriteableNode::Measure() const {
size_t len = 2 + LeafLength;
size_t fwdLen = 0;
@@ -77,7 +77,7 @@ namespace NCompactTrie {
size_t usedLen = 2;
usedLen += PackOffset(buffer + usedLen, leftOffset);
usedLen += PackOffset(buffer + usedLen, rightOffset);
-
+
if (LeafPos && LeafLength) {
memcpy(buffer + usedLen, LeafPos, LeafLength);
usedLen += LeafLength;