aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* More functions marked as noexcept.akhropov2024-11-301-7/+7
| | | | commit_hash:61b2ca8fab66696aade476173e07001d1b886b5e
* removed redundant code after CTAD c++-17 featurevtrunov2024-11-281-8/+1
| | | | commit_hash:6f4c98369177b376ac1c9dfba18ee5464c558c95
* Remove noexcept from operator== because it is not guaranteed that operator== ↵akhropov2024-11-281-1/+1
| | | | | | for elements is noexcept. commit_hash:2457980ced7a2f91cefec1ea20ff13bfb5c7c2cf
* Add assert to front()akhropov2024-11-281-0/+2
| | | | commit_hash:b46dfbc7a684061be1b6e3eca5d7e312ff3e71f4
* util/ysaveload: support std::unordered_map std::unordered_setzankin2024-11-252-25/+208
| | | | commit_hash:e6d07240418ce606f7bdc9fef30cf2d87f1f456f
* Intermediate changesrobot-piglet2024-11-231-7/+1
| | | | commit_hash:d0db92345dc96a43a16424238c1eb2812040a13d
* Remove TRbTree and TAvlTree from forward declarations as they are not in utilakhropov2024-11-211-6/+0
| | | | commit_hash:7f3c30234700758cc6218bdef0fa2e6862f2c32e
* Part of PR. Stylenae2022024-11-2051-371/+705
| | | | | Часть большого ПР REVIEW:7264088 commit_hash:0f5b03fbbed0ac30f734943309e3ef5cd4d7a30e
* /util: streaming CityHasha11ax2024-11-202-0/+83
| | | | commit_hash:bd4032fbf4c4ece089ad071747194b38df6c5edd
* Add a clarifying comment about exceptions in TryFromString* functionsakhropov2024-11-191-0/+1
| | | | commit_hash:60b664d99f74a0d1ec00e0ab843e87583a5360a4
* Add external autoincludes.jsonalevitskii2024-11-141-0/+3
| | | | | Add external autoincludes.json commit_hash:1b3de1732fee590582ae5620570facc2c0987390
* Remove methods Data, Size, Empty from TStringmikhnenko2024-11-061-0/+4
| | | | | | | If this pr has broken something, try using the methods named with a small letter \[nodiff:caesar\] commit_hash:c08a737938cff39577c6e47d4434531f6355e4c2
* add ::element_type, .get() to smart pointers for better compatibility with stdpavook2024-11-042-0/+75
| | | | | For example, this makes it possible to use gtest pointer matchers on smart pointers commit_hash:2650074ae18ee35696b297d3d1f0393e7350789f
* [util] migrate to STYLE_CPPalevitskii2024-10-282-0/+17
| | | | | | | | | | | (HIDDEN_URL \[util\] migrate to STYLE_CPP В рамках работы над линтерной моделью мигрируем на новый макрос [`STYLE_CPP`](HIDDEN_URL в связке с механизмом автоинклудов. Цели для линтинга теперь берутся из макроса `SRCS`. Пути к заголовочным файлам, расположенным не в одном каталоге с `ya.make`, рекомендуется явно перечислять в `SRCS` или воспользоваться макросом [`HEADERS`](HIDDEN_URL Механизм работы автоинклудов описан в документации, см. примечание <HIDDEN_URL> commit_hash:eb991ca8cfe26bf83871579225303c1b93c2e85c
* Remove static method max_size from TStringmikhnenko2024-10-251-1/+1
| | | | commit_hash:c6fad0009855affb407cba47af8ea60ca834a890
* remove unused includes in util/generic/string.htobo2024-10-172-2/+2
| | | | commit_hash:edd5ed00db3a4c6090c535fa406f184268188733
* nodiscard attribute for the TReserveTagswarmer2024-10-161-1/+1
| | | | commit_hash:cb3317dd036b226397730ad8c04a5f1a22f0b164
* StringSplitter: recreate State after copyswarmer2024-10-162-0/+58
| | | | commit_hash:75f3a4a20b797f07c51c63b96f0f1e1374707f33
* include singleton.h only if neededtobo2024-10-081-1/+3
| | | | | использование Singleton спрятано за #ifndef _LIBCPP_VERSION - прячем инклуд аналогично commit_hash:0f8b0d3bee5ac020dd26dcadddb41b28164f4022
* check lifetime bound of TString const iteratorsswarmer2024-10-041-8/+30
| | | | | | | | | ex: ``` auto it = TString{"temporary"}.cbegin(); use(*it); ``` commit_hash:68f621e7b2d608340d7b9f5a9a246c138a2eafff
* check lifetime bound of TString cast and Detach operatorsswarmer2024-09-281-3/+3
| | | | commit_hash:43fb3eff8779379efe5955f3f48cef3bf8e3a894
* [util] Add move assignment operator in TBlobdenisostashov2024-09-271-0/+6
| | | | | [util] Add move assignment operator to TBlob commit_hash:00a4eb013dbf72cbb95bd5df0bb190f693edb166
* check lifetime bound of TString modifier member functionsswarmer2024-09-261-69/+69
| | | | commit_hash:5e1acbf4a0eaeb2ff1b7648f90af6bc4f41312e2
* check lifetime bound of output streamsswarmer2024-09-266-20/+21
| | | | commit_hash:17de7afe0f415c511e587b2f2607cbbc2348742e
* Support move-only key types in the Max/MinElementBy routinesswarmer2024-09-262-4/+14
| | | | | It is also slightly faster for non-trivial key types. commit_hash:4104cabfe8dc9a51174034c62aae25be16b57bf9
* Make TNothing nodiscardvadim-xd2024-09-251-1/+1
| | | | commit_hash:6ff089c6f629be6a68a94d1e1ee648630f8568d2
* faster implicit `TString` → `const std::string&` conversion: using ↵swarmer2024-09-242-1/+14
| | | | | | | template operator TStringType& to deprioritize non-const method Converting a `TString` to a `const std::string&` should not cause data cloning. commit_hash:df425bd56f8517d882444e15f3cc586af92d90b3
* Use unified remove function in TFsPath.sath2024-09-232-11/+9
| | | | | | | | | | | | | | Текущая реализация не удаляет readonly файлы под Windows Для остальных систем ``` ::unlink ::rmdir ``` равноценно вызову ``` remove ``` commit_hash:99a45d03ae667ec82e57ca8fa7500bae9f827086
* Disable cast to string& from TSring&&mikhnenko2024-09-231-1/+1
| | | | commit_hash:9d13cf8c2f490f6590afada455248339a63b6bf8
* Enable clang-format FixNamespaceComments optiondmasloff2024-09-051-2/+2
| | | | | Enable clang-format FixNamespaceComments option 8ffd1b7f4787cdf4e80a92b08f07634abe416854
* FixNamespaceComments in /utildmasloff2024-09-05286-363/+363
| | | | | FixNamespaceComments in /util bb9152570d7c258798644ead5a59f604de05ef3b
* Intermediate changesrobot-piglet2024-09-032-15/+20
|
* Detect default implementation of THashHelperyurial2024-09-031-0/+2
| | | | 4ef7a7a8f6c8008dc1203097922562c21bf12bfb
* Remove Y_UNIT_TEST from config.clang-formatdmasloff2024-08-304-7/+4
| | | | | Remove Y_UNIT_TEST from config.clang-format 853b6da2c4464342d4cfe7756c18ed599004fdd8
* KIKIMR-21908: fix a bug in CPUID/AVX512F calleivanov892024-08-261-5/+5
| | | | f5e4678c0171915199008af5bb54f47adf0b34d4
* Remove remaining calls of Container() (fixup rXXXXXX)vadim-xd2024-08-231-3/+4
| | | | b2b7d42af6f055ef24e22f69cac6c0f5560f6120
* Add TPriorityQueue::PopValuevadim-xd2024-08-212-1/+45
| | | | ce37597283b1508bdba021056c149fe16feb1c69
* Set SpacesInLineCommentPrefix to 1 in /utildmasloff2024-08-17100-305/+305
| | | | | Set SpacesInLineCommentPrefix to 1 in /util 3853f9ec5143722c1bebd8dc0ffc9b61a6c17657
* Allow to use clang < 13 as a CUDA host compiler (as intended for CUDA < 11.8).akhropov2024-08-161-1/+1
| | | | f8fbe3627553dc1353ece3c098bb5df2ab788b92
* check the lifetime bounds of stream adaptersswarmer2024-08-166-10/+10
| | | | f4e1f5605822d2c05fd582aeb7104301b7ca73c7
* Remove unused include and type aliasvadim-xd2024-08-121-2/+0
| | | | e4f1f262610072e05f42e372851b8d192a060351
* Extract convertion WideToUTF8 to common header.sath2024-08-121-0/+10
| | | | cd41123eb7362c215988a76cd95a015fcfffbd64
* Revert "rXXXXXX: Enum range to util"swarmer2024-08-095-312/+0
| | | | | | | | Remove unused header /util/generic/enum_range.h. This reverts commit 74cd8c66052608f1b6fec69c39cb0f868376fe0a, reversing changes made to b504f5d1165d419a2d9b9fb2769286c3f27ae7a8. 5891c2c720b47fe8cb6bd1e41cc161d68b2f5ce9
* Replace Apply to std::applybulatman2024-08-091-7/+0
| | | | 33b149179bec674a6b0dc48dde27b7ff0b66efe7
* check the lifetime bounds of the explicit_type, the lazy_value, and the ↵swarmer2024-08-083-8/+8
| | | | | | queue containers 5f83506ef4fb80da806490df993e39a22d6c010a
* util: simpler implementation of the `EqualToOneOf` and `CountOf` algorithms ↵swarmer2024-08-081-16/+6
| | | | | | using the fold expression 62d55507536a408dd9c37a5497efaa0a1333cc6c
* check the lifetime bound of the MinMax algoswarmer2024-08-081-1/+1
| | | | fdef98a22a11016e54d3e0eadbebddce5f68e83d
* check the lifetime bound of the TArrayRefswarmer2024-08-081-8/+8
| | | | 9124a77116ef1ec2f8c14a3684fea08b4253601c
* Make Apply just alias to std::applybulatman2024-08-071-14/+2
| | | | d8970078eca52675e02aa3cb811e07f99ef5115a
* check the lifetime bound of the TStringBuf, constructed from a substring of ↵swarmer2024-08-071-2/+2
| | | | | | an another TStringBuf view 834bc8b5ef002eb217450def12b8887b071f3d5f