diff options
author | somov <somov@yandex-team.ru> | 2022-02-10 16:45:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:49 +0300 |
commit | 7489e4682331202b9c7d863c0898eb83d7b12c2b (patch) | |
tree | 9142afc54d335ea52910662635b898e79e192e49 /contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/memutil.h | |
parent | a5950576e397b1909261050b8c7da16db58f10b1 (diff) | |
download | ydb-7489e4682331202b9c7d863c0898eb83d7b12c2b.tar.gz |
Restoring authorship annotation for <somov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/memutil.h')
-rw-r--r-- | contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/memutil.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/memutil.h b/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/memutil.h index fb6a48ebad..ee442fe25f 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/memutil.h +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/memutil.h @@ -24,7 +24,7 @@ // The difference between the mem and str versions is the mem version // takes a pointer and a length, rather than a '\0'-terminated string. // The memcase* routines defined here assume the locale is "C" -// (they use y_absl::ascii_tolower instead of tolower). +// (they use y_absl::ascii_tolower instead of tolower). // // These routines are based on the BSD library. // @@ -65,10 +65,10 @@ #include <cstddef> #include <cstring> -#include "y_absl/base/port.h" // disable some warnings on Windows -#include "y_absl/strings/ascii.h" // for y_absl::ascii_tolower +#include "y_absl/base/port.h" // disable some warnings on Windows +#include "y_absl/strings/ascii.h" // for y_absl::ascii_tolower -namespace y_absl { +namespace y_absl { ABSL_NAMESPACE_BEGIN namespace strings_internal { @@ -98,10 +98,10 @@ const char* int_memmatch(const char* haystack, size_t haylen, for (; haystack < hayend; ++haystack) { char hay = case_sensitive ? *haystack - : y_absl::ascii_tolower(static_cast<unsigned char>(*haystack)); + : y_absl::ascii_tolower(static_cast<unsigned char>(*haystack)); char nee = case_sensitive ? *needle - : y_absl::ascii_tolower(static_cast<unsigned char>(*needle)); + : y_absl::ascii_tolower(static_cast<unsigned char>(*needle)); if (hay == nee) { if (++needle == needleend) { return haystack + 1 - neelen; @@ -143,6 +143,6 @@ const char* memmatch(const char* phaystack, size_t haylen, const char* pneedle, } // namespace strings_internal ABSL_NAMESPACE_END -} // namespace y_absl +} // namespace y_absl #endif // ABSL_STRINGS_INTERNAL_MEMUTIL_H_ |