diff options
author | grig <grig@yandex-team.ru> | 2022-02-10 16:50:24 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:24 +0300 |
commit | beb63ece3a6872dfbe113104f524ab6fdbec0adc (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/containers/comptrie/node.h | |
parent | da383a4f674027527827ad076134241fc5da0cbf (diff) | |
download | ydb-beb63ece3a6872dfbe113104f524ab6fdbec0adc.tar.gz |
Restoring authorship annotation for <grig@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/containers/comptrie/node.h')
-rw-r--r-- | library/cpp/containers/comptrie/node.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/containers/comptrie/node.h b/library/cpp/containers/comptrie/node.h index 3194a1340fa..d6f4317db09 100644 --- a/library/cpp/containers/comptrie/node.h +++ b/library/cpp/containers/comptrie/node.h @@ -4,7 +4,7 @@ namespace NCompactTrie { class ILeafSkipper; - + enum TDirection { D_LEFT, D_FINAL, @@ -42,11 +42,11 @@ namespace NCompactTrie { size_t GetCoreLength() const { return CoreLength; } - + size_t GetOffsetByDirection(TDirection direction) const { return Offsets[direction]; } - + size_t GetForwardOffset() const { return Offsets[D_NEXT]; } @@ -63,7 +63,7 @@ namespace NCompactTrie { bool IsFinal() const { return GetLeafOffset() != 0; } - + bool HasEpsilonLinkForward() const { return GetForwardOffset() > Offset + CoreLength; } @@ -76,5 +76,5 @@ namespace NCompactTrie { char Label; }; - + } |