diff options
author | pavook <pavook@yandex-team.com> | 2024-08-22 16:26:27 +0300 |
---|---|---|
committer | pavook <pavook@yandex-team.com> | 2024-08-22 16:39:20 +0300 |
commit | 8520e043f2e12acdfd39d971ebeeacbe9e5ac3ca (patch) | |
tree | 55e2c5a3efebd951a92445ed5c7327c86479f655 /yt/cpp/mapreduce/http | |
parent | f9fbb65f64b68c5de5cf257c04e06ac6aeaeb1e8 (diff) | |
download | ydb-8520e043f2e12acdfd39d971ebeeacbe9e5ac3ca.tar.gz |
GLOBAL OTBIVKA FIX ୧༼ಠ益ಠ༽୨
Make all "otbivka" exactly 80 symbols.
Command:
```bash
sed -i 's#^//////////////\+$#////////////////////////////////////////////////////////////////////////////////#g' $(find yt \( -name '*.cpp' -or -name '*.h' -or -name '*.proto' \) -not -path 'yt/yt/experiments/private/tabletvis/imgui/*')
```
30a0ba9f42ba1909d3cee11fe12bba14c7c8b039
Diffstat (limited to 'yt/cpp/mapreduce/http')
-rw-r--r-- | yt/cpp/mapreduce/http/context.h | 2 | ||||
-rw-r--r-- | yt/cpp/mapreduce/http/helpers.cpp | 4 | ||||
-rw-r--r-- | yt/cpp/mapreduce/http/helpers.h | 4 | ||||
-rw-r--r-- | yt/cpp/mapreduce/http/http.h | 2 | ||||
-rw-r--r-- | yt/cpp/mapreduce/http/http_client.cpp | 8 | ||||
-rw-r--r-- | yt/cpp/mapreduce/http/http_client.h | 8 | ||||
-rw-r--r-- | yt/cpp/mapreduce/http/requests.h | 2 | ||||
-rw-r--r-- | yt/cpp/mapreduce/http/retry_request.cpp | 4 | ||||
-rw-r--r-- | yt/cpp/mapreduce/http/retry_request.h | 8 |
9 files changed, 21 insertions, 21 deletions
diff --git a/yt/cpp/mapreduce/http/context.h b/yt/cpp/mapreduce/http/context.h index 3bae208279..f50c1b9732 100644 --- a/yt/cpp/mapreduce/http/context.h +++ b/yt/cpp/mapreduce/http/context.h @@ -9,7 +9,7 @@ namespace NYT { -/////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// struct TClientContext { diff --git a/yt/cpp/mapreduce/http/helpers.cpp b/yt/cpp/mapreduce/http/helpers.cpp index 18f74b5958..0e34610ef1 100644 --- a/yt/cpp/mapreduce/http/helpers.cpp +++ b/yt/cpp/mapreduce/http/helpers.cpp @@ -9,7 +9,7 @@ namespace NYT { -/////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// TString CreateHostNameWithPort(const TString& hostName, const TClientContext& context) { @@ -100,6 +100,6 @@ void LogRequest(const THttpHeader& header, const TString& url, bool includeParam GetLoggedAttributes(header, url, includeParameters, Max<size_t>())); } -/////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// } // namespace NYT diff --git a/yt/cpp/mapreduce/http/helpers.h b/yt/cpp/mapreduce/http/helpers.h index 82ef799ca1..474813674e 100644 --- a/yt/cpp/mapreduce/http/helpers.h +++ b/yt/cpp/mapreduce/http/helpers.h @@ -8,7 +8,7 @@ namespace NYT { -/////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// TString CreateHostNameWithPort(const TString& name, const TClientContext& context); @@ -24,6 +24,6 @@ TString GetLoggedAttributes(const THttpHeader& header, const TString& url, bool void LogRequest(const THttpHeader& header, const TString& url, bool includeParameters, const TString& requestId, const TString& hostName); -/////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// } // namespace NYT diff --git a/yt/cpp/mapreduce/http/http.h b/yt/cpp/mapreduce/http/http.h index 8bfa00de1d..95595959ad 100644 --- a/yt/cpp/mapreduce/http/http.h +++ b/yt/cpp/mapreduce/http/http.h @@ -31,7 +31,7 @@ struct THeadersPtrWrapper; } // NHttp -/////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// enum class EFrameType { diff --git a/yt/cpp/mapreduce/http/http_client.cpp b/yt/cpp/mapreduce/http/http_client.cpp index 6dc24c6ef2..305d95b06c 100644 --- a/yt/cpp/mapreduce/http/http_client.cpp +++ b/yt/cpp/mapreduce/http/http_client.cpp @@ -102,7 +102,7 @@ void CheckErrorResponse(const TString& hostName, const TString& requestId, const } // namespace -/////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// class TDefaultHttpResponse : public IHttpResponse @@ -188,7 +188,7 @@ public: } }; -/////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// struct TCoreRequestContext { @@ -586,7 +586,7 @@ private: NHttp::IClientPtr Client_; }; -/////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// IHttpClientPtr CreateDefaultHttpClient() { @@ -598,6 +598,6 @@ IHttpClientPtr CreateCoreHttpClient(bool useTLS, const TConfigPtr& config) return std::make_shared<TCoreHttpClient>(useTLS, config); } -/////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// } // namespace NYT::NHttpClient diff --git a/yt/cpp/mapreduce/http/http_client.h b/yt/cpp/mapreduce/http/http_client.h index 859f0423cb..97321c4c9d 100644 --- a/yt/cpp/mapreduce/http/http_client.h +++ b/yt/cpp/mapreduce/http/http_client.h @@ -15,14 +15,14 @@ namespace NYT::NHttpClient { -/////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// struct THttpConfig { TDuration SocketTimeout = TDuration::Zero(); }; -/////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// class IHttpResponse { @@ -65,12 +65,12 @@ public: } }; -/////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// IHttpClientPtr CreateDefaultHttpClient(); IHttpClientPtr CreateCoreHttpClient(bool useTLS, const TConfigPtr& config); -/////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// } // namespace NYT::NHttpClient diff --git a/yt/cpp/mapreduce/http/requests.h b/yt/cpp/mapreduce/http/requests.h index 2c692475d1..a21cff5360 100644 --- a/yt/cpp/mapreduce/http/requests.h +++ b/yt/cpp/mapreduce/http/requests.h @@ -8,7 +8,7 @@ namespace NYT { -/////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// bool ParseBoolFromResponse(const TString& response); diff --git a/yt/cpp/mapreduce/http/retry_request.cpp b/yt/cpp/mapreduce/http/retry_request.cpp index 63a36c2f78..307e310b5b 100644 --- a/yt/cpp/mapreduce/http/retry_request.cpp +++ b/yt/cpp/mapreduce/http/retry_request.cpp @@ -18,7 +18,7 @@ namespace NYT { namespace NDetail { -/////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// static TResponseInfo Request( const TClientContext& context, @@ -147,7 +147,7 @@ TResponseInfo RetryRequestWithPolicy( Y_ABORT("Retries must have either succeeded or thrown an exception"); } -/////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// } // namespace NDetail } // namespace NYT diff --git a/yt/cpp/mapreduce/http/retry_request.h b/yt/cpp/mapreduce/http/retry_request.h index 2210e318f1..a6007d6eae 100644 --- a/yt/cpp/mapreduce/http/retry_request.h +++ b/yt/cpp/mapreduce/http/retry_request.h @@ -13,7 +13,7 @@ namespace NYT::NDetail { -//////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// struct TResponseInfo { @@ -22,7 +22,7 @@ struct TResponseInfo int HttpCode = 0; }; -//////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// struct TRequestConfig { @@ -30,7 +30,7 @@ struct TRequestConfig bool IsHeavy = false; }; -//////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// // Retry request with given `header' and `body' using `retryPolicy'. // If `retryPolicy == nullptr' use default, currently `TAttemptLimitedRetryPolicy(TConfig::Get()->RetryCount)`. @@ -47,6 +47,6 @@ TResponseInfo RequestWithoutRetry( TMaybe<TStringBuf> body = {}, const TRequestConfig& config = TRequestConfig()); -//////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////////// } // namespace NYT::NDetail |