aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorvadya <vadya@yandex-team.ru>2022-02-10 16:49:27 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:27 +0300
commitcd86ccaefd63e1eb5771bd7ea06479c2f69a886c (patch)
tree6a7d8195df8b6d718627999041443c48295f3e83 /library/cpp
parentae443bdaeafc22fa98b845c1784a76a32555f149 (diff)
downloadydb-cd86ccaefd63e1eb5771bd7ea06479c2f69a886c.tar.gz
Restoring authorship annotation for <vadya@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/binsaver/blob_io.h4
-rw-r--r--library/cpp/containers/comptrie/comptrie_builder.inl8
2 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/binsaver/blob_io.h b/library/cpp/binsaver/blob_io.h
index abe518ef30..7d82e53cec 100644
--- a/library/cpp/binsaver/blob_io.h
+++ b/library/cpp/binsaver/blob_io.h
@@ -1,8 +1,8 @@
#pragma once
-
+
#include "bin_saver.h"
#include "buffered_io.h"
-
+
#include <util/memory/blob.h>
class TYaBlobStream: public IBinaryStream {
diff --git a/library/cpp/containers/comptrie/comptrie_builder.inl b/library/cpp/containers/comptrie/comptrie_builder.inl
index f273fa6571..d6adcd1efa 100644
--- a/library/cpp/containers/comptrie/comptrie_builder.inl
+++ b/library/cpp/containers/comptrie/comptrie_builder.inl
@@ -48,7 +48,7 @@ protected:
protected:
void ConvertSymbolArrayToChar(const TSymbol* key, size_t keylen, TTempBuf& buf, size_t ckeylen) const;
void NodeLinkTo(TNode* thiz, const TBlob& label, TNode* node);
- TNode* NodeForwardAdd(TNode* thiz, const char* label, size_t len, size_t& passed, size_t* nodeCount);
+ TNode* NodeForwardAdd(TNode* thiz, const char* label, size_t len, size_t& passed, size_t* nodeCount);
bool FindEntryImpl(const char* key, size_t keylen, TData* value) const;
bool FindLongestPrefixImpl(const char* keyptr, size_t keylen, size_t* prefixLen, TData* value) const;
@@ -608,7 +608,7 @@ typename TCompactTrieBuilder<T, D, S>::TCompactTrieBuilderImpl::TNode*
ShowProgress(EntryCount);
TNode* current = Root;
- size_t passed;
+ size_t passed;
// Special case of empty key: replace it by 1-byte "\0" key.
size_t ckeylen = keylen ? keylen * sizeof(TSymbol) : 1;
@@ -780,7 +780,7 @@ size_t TCompactTrieBuilder<T, D, S>::TCompactTrieBuilderImpl::GetNodeCount() con
template <class T, class D, class S>
typename TCompactTrieBuilder<T, D, S>::TCompactTrieBuilderImpl::TNode*
TCompactTrieBuilder<T, D, S>::TCompactTrieBuilderImpl::NodeForwardAdd(
- TNode* thiz, const char* label, size_t len, size_t& passed, size_t* nodeCount) {
+ TNode* thiz, const char* label, size_t len, size_t& passed, size_t* nodeCount) {
typename TNode::TArcSet* arcSet = dynamic_cast<typename TNode::TArcSet*>(thiz->Subtree());
if (!arcSet)
ythrow yexception() << "Bad input order - expected input strings to be prefix-grouped.";
@@ -846,7 +846,7 @@ void TCompactTrieBuilder<T, D, S>::TCompactTrieBuilderImpl::NodeBufferSubtree(TN
if (!arcSet)
return;
- size_t bufferLength = (size_t)arcSet->Measure(this);
+ size_t bufferLength = (size_t)arcSet->Measure(this);
TArrayWithSizeHolder<char> buffer;
buffer.Resize(bufferLength);