aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/blockcodecs/core/codecs.h
diff options
context:
space:
mode:
authormvel <mvel@yandex-team.ru>2022-02-10 16:45:41 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:41 +0300
commitbd30392c4cc92487950adc375c07adf52da1d592 (patch)
treee8d1a3f19b7fc890bcef6e4cc5de41f1d88c9ac3 /library/cpp/blockcodecs/core/codecs.h
parent5d50718e66d9c037dc587a0211110b7d25a66185 (diff)
downloadydb-bd30392c4cc92487950adc375c07adf52da1d592.tar.gz
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/blockcodecs/core/codecs.h')
-rw-r--r--library/cpp/blockcodecs/core/codecs.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/library/cpp/blockcodecs/core/codecs.h b/library/cpp/blockcodecs/core/codecs.h
index 9c93c00274..2fede1f029 100644
--- a/library/cpp/blockcodecs/core/codecs.h
+++ b/library/cpp/blockcodecs/core/codecs.h
@@ -39,7 +39,7 @@ namespace NBlockCodecs {
struct ICodec {
virtual ~ICodec();
- // main interface
+ // main interface
virtual size_t DecompressedLength(const TData& in) const = 0;
virtual size_t MaxCompressedLength(const TData& in) const = 0;
virtual size_t Compress(const TData& in, void* out) const = 0;
@@ -47,7 +47,7 @@ namespace NBlockCodecs {
virtual TStringBuf Name() const noexcept = 0;
- // some useful helpers
+ // some useful helpers
void Encode(const TData& in, TBuffer& out) const;
void Decode(const TData& in, TBuffer& out) const;
@@ -69,22 +69,22 @@ namespace NBlockCodecs {
return out;
}
- private:
- size_t GetDecompressedLength(const TData& in) const;
+ private:
+ size_t GetDecompressedLength(const TData& in) const;
};
using TCodecPtr = THolder<ICodec>;
const ICodec* Codec(const TStringBuf& name);
- // some aux methods
+ // some aux methods
typedef TVector<TStringBuf> TCodecList;
TCodecList ListAllCodecs();
TString ListAllCodecsAsString();
-
- // SEARCH-8344: Get the size of max possible decompressed block
- size_t GetMaxPossibleDecompressedLength();
- // SEARCH-8344: Globally set the size of max possible decompressed block
- void SetMaxPossibleDecompressedLength(size_t maxPossibleDecompressedLength);
-
+
+ // SEARCH-8344: Get the size of max possible decompressed block
+ size_t GetMaxPossibleDecompressedLength();
+ // SEARCH-8344: Globally set the size of max possible decompressed block
+ void SetMaxPossibleDecompressedLength(size_t maxPossibleDecompressedLength);
+
}