summaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* IGNIETFERRO-1922 Move atomics from util to library/cpp/deprecatedeeight2022-06-1512-686/+6
| | | | ref:0c3b0edd3284567c45ec77e57166274f3cfed8c7
* [enum_parser] generate ToStringBuf specializationswarmer2022-06-131-0/+8
| | | | | | IGNIETFERRO-1350 ref:bb9bb1755b6abfc5a27639daf049b8a7cd748fe4
* [util] AdjacentFind + AdjacentFindByswarmer2022-06-102-0/+58
| | | | ref:76575abc5c39caf128339b56115c217c15766b51
* IGNIETFERRO-1105 -> Top level t-zeeight2022-06-092-2/+2
| | | | ref:e0e9801df5ee25dfbcfcb5974271dfd7dac8216c
* Pull request "ShufflePart function" by @igormarkov00 from ↵arcadia-devtools2022-06-072-0/+73
| | | | | | | | https://github.com/catboost/catboost/pull/2087 MERGED FROM https://github.com/catboost/catboost/pull/2087 ref:d27dfbe948e17ef1feb8ad2b13b409915afc86c8
* Add missing map_ut.pyx to util/generic/ut_cythonthegeorg2022-06-032-0/+4
| | | | ref:ccf13829e6e56d0e31ff3fab73f19915f1539e5c
* util: Flatten cython tests layoutthegeorg2022-06-037-3/+13
| | | | ref:7427208d08ebeb9e88247fb7dac6445bc814d756
* Add missing source file to ya.makethegeorg2022-06-022-0/+2
| | | | ref:ee42e4700caddee3694c141f1fc89c18e7aff2ac
* [util] IsSortedBy for containersswarmer2022-06-022-0/+11
| | | | ref:6c01516241e312227b7654b6b0260add648c8609
* Flatten util teststhegeorg2022-06-011-1/+1
| | | | ref:0297d20665112368dc5e412e2531f67b3dd3c3ec
* [util] constexpr сравнения для TStringBufswarmer2022-06-012-59/+71
| | | | ref:695923dc5d543fcc10893896407694ebc55f3e84
* [util] constexpr для алгоритмовswarmer2022-06-012-117/+117
| | | | ref:f1a82a410e24de6f4a77f4c8f28ed3401a5516b4
* util: Do not include on Windowsthegeorg2022-05-271-2/+4
| | | | ref:4f285c4cb9d12ff2234491f46dd9d68634f9b9bb
* [util] implement THashMap::insert_or_assign methodswarmer2022-05-262-0/+71
| | | | | | IGNIETFERRO-821 ref:1e4e3b22bff7e806800218d58b1061626ebaa10f
* [util] StripInPlace should modify string in-placeswarmer2022-05-245-22/+132
| | | | ref:2aec19528c2378a0994534ec032550413a095389
* IGNIETFERRO-1105 Get rid of TAtomic in spin_waiteeight2022-05-231-10/+13
| | | | ref:788357fd9a851f54e97a8e0f133dcb3c3e275f92
* IGNIETFERRO-1105 Get rid of TAtomic in system/{atexit, event, shellcommand}eeight2022-05-205-39/+57
| | | | ref:c74bffae7e90dee515f5089979fc050d20a34e4e
* IGNIETFERRO-1105 Get rid of TAtomic in unittestseeight2022-05-194-78/+58
| | | | ref:f4d9cf527b4f26efcc95307ca7b07d1c42ebd11b
* IGNIETFERRO-1105 Get rid of TAtomic in thread/pool.cppeeight2022-05-171-7/+7
| | | | ref:3fa56aa890b75b7301a3193c2ee40106281a71cb
* IGNIETFERRO-1105 Use std::atomic in spinlockeeight2022-05-173-56/+49
| | | | ref:dca14f354fc9b9698f83663ceb0e62e797fe98c5
* piglet: Extract metadata from commit messagethegeorg2022-05-121-0/+5
| | | | | | | * Introduce `CommitMetadata` struct with structured metadata (all the fields are optional) * Drop `class Author` and use `NLibgit2::TSignature` directly instead ref:3aae28cb614b3c611f8abb2b1c12ff114aaed46f
* IGNIETFERRO-1105 TAtomic -> std::atomic in util/generic/* and threadpooleeight2022-05-117-85/+94
| | | | ref:39a714b781c60dca9e3b946d870971076e14ab7c
* include order as code-style recommendIlnur Khuziev2022-05-061-2/+2
| | | | ref:0559fab404c2acebc7471fd7651deec61b5e23e3
* IGNIETFERRO-1105 TAtomic -> std::atomic in util/thread/lfqueue.heeight2022-05-042-80/+71
| | | | ref:8cf44e7b3fecd13c3a0c699a8c1c7abe780eab0b
* IGNIETFERRO-1105 TAtomic -> std::atomic in util/thread/lfstack.heeight2022-04-272-59/+64
| | | | ref:7fac644f716f0423df5d65d6ba11439ca0ca35d1
* IGNIETFERRO-1997 replace Y_VERIFY(exceptionPtr) with 'return "NO EXCEPTION"' ↵chegoryu2022-04-262-5/+13
| | | | | | in FormatCurrentException ref:02c5a1e631a36a1f21b5b7678ecf4e245769dd9e
* Add Collapse variant for utf-32 stringsOleg Sidorkin2022-04-163-5/+32
| | | | ref:5897581c4d2be8d8775525221d2d910c04d788b8
* Fix -Wdeprecated-copy errors detected by clang14thegeorg2022-04-141-1/+2
| | | | ref:7b522d0dad8f0d64dd508e61325124ea9d2ebf30
* Fix computation of hashes for string constantseeight2022-04-072-0/+19
| | | | ref:75452b050cafabe119c50e518c3db644d8d9404f
* remove unused includestobo2022-04-0750-111/+18
| | | | ref:f8c119cf3a796a59ab5be4424e5364ba6a201d40
* Fix newline formatting in FormatCurrentException()svkrasnov2022-03-262-4/+4
| | | | ref:1aefdabc38ec01ea10f53aa279edaa0dee29380d
* Introduce FormatCurrentException() based on TBackTrace::FromCurrentException()svkrasnov2022-03-233-1/+114
| | | | ref:60218909c48b580eebc0b518f039afd46ca51713
* util: Fix -Wunused-but-set-variablekmartynkov2022-03-231-2/+0
| | | | ref:0186c219d9c56c8f183ce0236e33f6d647fe5fa0
* util: Do not define SIZEOF_SIZE_T, as it is not used in our codebasethegeorg2022-03-202-5/+1
| | | | | | | | | | | | | | codesearch shows [114 usages](https://a.yandex-team.ru/search?search=%5CbSIZEOF_SIZE_T%5Cb,,jC,arcadia,,500) of this macro outside of contrib. None of these usages looks as being util-dependent. Defining this in util triggers `-Wmacro-redefined` whenever `` gets included after our ``. UPD: It turns out that our curl was using this define for a reason, so I have implemented an util-independent solution instead. ref:c80e45c42a9c0ec76eda33e63b560b285e1ee502
* Standard way to include zlib iface headersvidyuk2022-03-191-1/+1
| | | | | | | | | This allows to use user provided zib when building projects exported from arcadia to opensource. DEVTOOLS-9036 ref:84d7fd128cd82c56df10f8cefd3e1e292d4d80be
* Remove read-only files and directories on Windows (to match behavior on unix)setser2022-03-162-0/+75
| | | | | | | | | | Current behavior of RemoveDirWithContents does not allow removing directories if any of files in this directory is read-only. This behavior, however, does not allow, for example, to remove temporary directory, in which git repository was created (on *nix systems, however, this problem was not noticed). This PR overrides this behavior. ref:1faf91e233008b4aece4f2b953884b52346ce2be
* intermediate changesarcadia-devtools2022-03-1583-1728/+0
| | | | ref:ca7a95e8c9a9d780f96497136a152091d54e61b5
* rm unused includetobo2022-03-101-2/+0
| | | | ref:7effc120450f64adfbd00fa1a0427152ef1cf6a9
* intermediate changesarcadia-devtools2022-03-103-298/+615
| | | | ref:7e819949a28b77d60c98019ed1950733e734a77e
* Fix -Wpragma-pack in trie.hthegeorg2022-03-071-1/+13
| | | | | | | | | | `#include ` and `#include ` modify current `#pragma pack` value and thus trigger `-Wpragma-pack` under clang-cl. As there is no way to implement packed structs via attributes, introduce proper compiler-specific variables in `` and use them to check whether we are compiling with MSVC. ref:e47cdb9c38eb305b9c5bcc5ad719e21ec52eb14c
* rm unused includestobo2022-03-053-10/+0
| | | | ref:b9f56a64ccc7a4f4980fa176af362932c04214b3
* Enable yet another warning under clang-clthegeorg2022-03-032-37/+50
| | | | ref:fdd92250532d24eebbf27cb8f8369eeb88e17df9
* Support std::filesystem::path in Arcadia streamsthegeorg2022-03-033-3/+21
| | | | ref:11bbdd83544b9579747dd12d51395840bda86faf
* Improve SystemCommand check in YDB CLI, KIKIMR-14321pnv12022-03-013-0/+26
| | | | ref:fe5ed49138dce046a93c364cc8879fad3abf3eef
* clang-tidy - move-constructor and move-assignment operators should be marked ↵tobo2022-02-286-6/+6
| | | | | | noexcept + pass some args by reference ref:5da43163e6b3c2499597234dc80ad47042259013
* DTCC-822 Put double-conversion under yamakershadchin2022-02-251-1/+1
| | | | ref:50f8b947dedd3183d21db08bf8ab226bb09535d1
* rm unused includetobo2022-02-251-1/+0
| | | | ref:98e6837fcfff74a0af567f24b8c63f3353a501a1
* Implement SRC_CPP_NO_LTO and use it util/thegeorg2022-02-252-9/+1
| | | | | | | | `-flto` / `-fno-lto` is not available in clang-cl, so we should not use it in order to prevent `-Wunknown-argument` from being triggered Raw CFLAGS are not user-friendly, we should define a better macro for thi (somewhat popular) case. ref:6f969138dc8b6fe4c420eb2ef4c0e50c2503d184
* intermediate changesarcadia-devtools2022-02-241-1/+1
| | | | ref:70ac1bca1acbb458c863fb4686263967ea009057
* fix CLion perf warnings - use const references instead of passing by valuetobo2022-02-244-20/+21
| | | | ref:e94e72a813a3aa41c543fd1d9f7d73f02cca8bc0