summaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* 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
* check the lifetime bound of the TStringBuf, constructed from a TStringBuf ↵swarmer2024-08-071-2/+2
| | | | | | with different char-traits 8b52c36ebe25af42f8b0dae4d83fc067760600ba
* check the lifetime bound of the ptr-store-policyswarmer2024-08-071-2/+2
| | | | 143a81f1f8275b59d4a53b5978ec7777fc2e7b05
* check the lifetime of various algorithms that return a substring of the ↵swarmer2024-08-074-4/+4
| | | | | | input TStringBuf view e778480cb05d20fe1a3fbf5ff69858c8912ed2d6
* check the lifetime bound of the yexceptionswarmer2024-08-071-3/+3
| | | | ef257805d160dd37ba7f8c65d1aad1f4040b223e
* Add missed move assignment for TFileHandledrbasic2024-08-052-1/+31
| | | | 3fbccc0ac152bfb68fd6ce1ede5a383ab34cce0c
* Intermediate changesrobot-piglet2024-08-011-7/+14
|
* check lifetime of the TBlob no-copy-viewswarmer2024-08-011-1/+1
| | | | 9d78e3f3c3b02b6a9467bda8b2af46826fa30868
* [yt/cpp/mapreduce]Fix build with system protoc, std::string and system stlnadya732024-07-301-0/+4
| | | | | Fix build with system protoc, std::string and system stl 8b5b81b2d7855f6b0dcb4bb0583a6408e5b7d3f7
* Fixed Strip function usage with system std::stringbrgayazov2024-07-291-2/+2
| | | | db0a00cc7d5e1391deed4254e71b5ac9ce01919b
* check lifetime bounds of a TStringBuf constructed from pointersswarmer2024-07-271-3/+3
| | | | a64e291c4e9927286cc8f84fb9bb6b52d0da1345
* check the lifetime bounds of a TStringBuf constructed from a TString, if ↵swarmer2024-07-242-0/+24
| | | | | | TString is a std::string 04931f9cabff5a8b2a55ba25df5e3b546be4b745
* check lifetime bounds of TStringBuf constructed from std::stringswarmer2024-07-241-1/+3
| | | | b8ba3acb34e82c520e14aad6e491130963fcee55
* Fix src_root for cl.exe.akhropov2024-07-231-0/+7
| | | | 079c1f1fd2cd03b167574a75fe81c7c38e0ba5df
* check lifetime bound of the string in the TStringInput/TStringOutput classesswarmer2024-07-181-2/+2
| | | | f280ea4e6223f62e5ba0d89f9428dbbbf74de5f7
* check lifetime bound of the buffer referred by the TMemoryInput streamswarmer2024-07-151-2/+2
| | | | dba46bf17021f643b779aadc16bdb4feca51333a
* Enum range to utilchezzie2024-06-255-0/+312
| | | | | | | | | | | | Изолированный хидер, не должен ничего поломать Почему решил не завязываться и не расширять GENERATE_ENUM_SERIALIZATION[_WITH_HEADER): 1) Нет возможности добавлять метаданные для енамов объявленных в cpp 2) Нет возможности добавлять метаданные для енамов объявленных в anonymous namespace 3) Нет возможности использовать метаданные в том же хидере, где объявлен enum В первую очередь будет использован в библиотеке range_containers - https://a.yandex-team.ru/arcadia/market/library/range_containers/ 74cd8c66052608f1b6fec69c39cb0f868376fe0a
* Implement TFile::Fallocate for Windows.sath2024-06-201-0/+6
| | | | 66f69cf2778ef870c0ddb050d260160ce8be1c3f
* fix typotobo2024-06-181-3/+3
| | | | f172ae24ead4a8c8edae837d34f264a744a4d89c
* [util] Check lifetime of the move-only type passed through the ↵swarmer2024-06-142-0/+34
| | | | | | TMaybe::GetOrElse method 03109df768118daa8c95e373de082712a2362407
* [util] Instantiation of TMaybe with an array type is ill-formedswarmer2024-06-141-0/+2
| | | | 69e5abfadd994602479be713abb69e2d6053734d
* Use ::strnicmp instead of strnicmp (fix build errors in files that use ↵vadim-xd2024-06-092-7/+7
| | | | | | namespace NUri) 3a7cf9869f888e3d09fc6c4c00c38db97f3a62ed
* Add TStringBuf constructor from TStringBuf with other char traitsvadim-xd2024-06-071-0/+6
| | | | e4ebd9ac2108f3fbc5ef852f3f7d733dd1a00fe8
* feat util/system: add a possibility to disable exit handlers, use it in ↵itrofimow2024-06-062-0/+21
| | | | | | rate-limiter nginx module b90ea2b46b910c5bf2e0db4ccacb45ca5c39ecaa
* [util] Better precision of the ProcessUptime on linuxswarmer2024-06-061-3/+9
| | | | | The ProcessUptime function should now usually return a value less than 20 ms if called at the start of the program. 0961a518fdaee4fd243b01c7cf5433dd768897c4
* unaligned_mem.h rename fieldshakob2024-06-051-12/+12
| | | | | rename private fields cfceec78649473a68bdbd3cca8635674e12e42ee
* UTIL: ProcUptime - process uptimeleasid2024-05-285-0/+73
| | | | | Добавляем uptime для процесса 7dc898ce5f81666a4cd5f912f49a3035dc2c599c
* minor fix in util pathskrivohatskiy2024-05-191-4/+4
| | | | | | | | | | | | Мелкий фикс неверных исключений. Как будто у меня локально повторялось как минидамп на колонке (не отловленное исключение) Зависит от реализации libc. Но кажется что исходный вариант все же не верный: [ The value in errno is significant only when the return value of the call indicated an error (i.e., -1 from most system calls; -1 or NULL from most library functions); a function that succeeds is allowed to change errno. The value of errno is never set to zero by any system call or library function.](https://man7.org/linux/man-pages/man3/errno.3.html) 1d2088da57c98f9d9abfd6da865219fcf74db212
* [util] Implement TryGetEnv and UnsetEnv functionsswarmer2024-05-163-5/+89
| | | | | The TryGetEnv function can be used to distinguish the case when a variable is not defined from the case when it has an empty value. 4aab7a2a39f4b9107b0b1d1ef639dc2c41c04f42
* Add mtime/atime/ctime with nanoseconds to TFileStat.sath2024-05-134-43/+94
| | | | 3523ab3f5aade2bdf4c0efd5dd2defbe19f124ff