summaryrefslogtreecommitdiffstats
path: root/util/generic
Commit message (Collapse)AuthorAgeFilesLines
* [util]TLazyValue: remove operator bool and Definedtldr2022-10-112-15/+11
|
* [util] Fix TFunctionRef under MSVCsskvor2022-10-071-2/+19
|
* util: add .As<T> to TSharedPtrionagamed2022-10-012-1/+76
|
* split hash.h into hash.h and multi_hash_map.htobo2022-09-151-1/+1
|
* prepare to split hash.h into hash_table.h hash.h and multi_hash_map.htobo2022-09-099-1755/+1770
|
* [util] Fix: add missing .cpp for function_refsskvor2022-08-251-0/+1
|
* added limit parameterbbiff2022-08-242-0/+272
|
* [util] Add specializations for const / ref qualified member functionssskvor2022-08-242-10/+94
|
* Do not override contains() method which is present is STLthegeorg2022-08-232-18/+0
|
* Switch TString and TStringBase to std::reverse_iteratorthegeorg2022-08-213-56/+9
| | | At the time an attempt to use e. g. `std::find_if` with `TString::rbegin()` / `TString::rend()` does not compile against `-DUSE_STL_SYSTEM` / modern libstdc++.
* Mark clear and reset methods as reinitializing the object.halyavin2022-08-056-34/+41
| | | | | This means, that moved-from object can be safely used after the call of such method. This attribute is used by clang-tidy which checks that moved-from objects are not used unless a reinitialization method is called first.
* [util] prefer non-const begin/end method for non-const containers in ↵swarmer2022-07-192-3/+23
| | | | | | | | | | AdjacentFind* functions AdjacentFind и AdjacentFindBy принимали контейнер по константной ссылке и из-за этого возвращали константный итератор. Стоит для некостантного контейнера возвращать также неконстантный итератор (если он есть). Это позволит 1. использовать итератор для модификации контейнера; 2. обойти проблему, когда методы `end()` и `cend()`/`std::as_const(…).end()` возвращают итераторы разных типов, которые нельзя сравнивать, либо для которых выбор оператора сравнения неоднозначен.
* Add ydb changelogbazeltsev2022-07-111-0/+1
| | | updated
* fix ya.makemonster2022-07-0720-1082/+0
|
* util: Drop NO_CITYHASH point of customisationthegeorg2022-06-281-2/+2
| | | | ref:613556c5a389af24a29e4fdef6ec5dfeee33bd39
* Stop providing non-inlined MurmurHashSizeTthegeorg2022-06-271-2/+3
| | | | ref:7e797cda3221e4c1905f5e443a9342db82e66883
* IGNIETFERRO-1922 Move atomics from util to library/cpp/deprecatedeeight2022-06-151-1/+0
| | | | 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-091-1/+1
| | | | ref:e0e9801df5ee25dfbcfcb5974271dfd7dac8216c
* Add missing map_ut.pyx to util/generic/ut_cythonthegeorg2022-06-032-0/+4
| | | | ref:ccf13829e6e56d0e31ff3fab73f19915f1539e5c
* util: Flatten cython tests layoutthegeorg2022-06-031-0/+26
| | | | ref:7427208d08ebeb9e88247fb7dac6445bc814d756
* [util] IsSortedBy for containersswarmer2022-06-022-0/+11
| | | | ref:6c01516241e312227b7654b6b0260add648c8609
* [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-242-0/+25
| | | | ref:2aec19528c2378a0994534ec032550413a095389
* IGNIETFERRO-1105 TAtomic -> std::atomic in util/generic/* and threadpooleeight2022-05-116-75/+85
| | | | ref:39a714b781c60dca9e3b946d870971076e14ab7c
* IGNIETFERRO-1997 replace Y_VERIFY(exceptionPtr) with 'return "NO EXCEPTION"' ↵chegoryu2022-04-262-5/+13
| | | | | | in FormatCurrentException ref:02c5a1e631a36a1f21b5b7678ecf4e245769dd9e
* Fix -Wdeprecated-copy errors detected by clang14thegeorg2022-04-141-1/+2
| | | | ref:7b522d0dad8f0d64dd508e61325124ea9d2ebf30
* Fix computation of hashes for string constantseeight2022-04-071-0/+11
| | | | ref:75452b050cafabe119c50e518c3db644d8d9404f
* remove unused includestobo2022-04-076-6/+0
| | | | 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
* intermediate changesarcadia-devtools2022-03-1518-308/+0
| | | | ref:ca7a95e8c9a9d780f96497136a152091d54e61b5
* rollback r9158440 cause of failed RM testsfedorenko2022-02-232-69/+6
| | | | ref:7ea361b10868cc51450f6e43c8428e8447e6781d
* IGNIETFERRO-1975, BIGRT-39 [RESUBMIT]: add ↵svkrasnov2022-02-182-6/+69
| | | | | | TBackTrace::FromCurrentException() to CurrentExceptionMessage() ref:8d5b72512d2b80cfd1ae859a4175cc92cf32a99a
* util unittests: replace try-catch-UNIT_ASSERT via UNIT_ASSERT_EXCEPTIONgleb-kov2022-02-163-48/+5
| | | | ref:f59ddae7dbb42f5fa999e6071769f709e8b80b85
* Rollback: r9145043robot-srch-releaser2022-02-152-69/+6
| | | | | | | | | [diff-resolver:svkrasnov] Sandbox task: https://sandbox.yandex-team.ru/task/1216524490/view Task author: omakovski@ Description: Revert 9145043 Note: mandatory check (NEED_CHECK) was skipped ref:dbe6517dcb523875d1e5de010069988b428c98bb
* IGNIETFERRO-1975, BIGRT-39: add TBackTrace::FromCurrentException() to ↵svkrasnov2022-02-152-6/+69
| | | | | | | | CurrentExceptionMessage() support TBackTrace::FromCurrentException() in CurrentExceptionMessage() ref:ca43c6538722fc9d169d92f85395093a21136884
* Remove #ifdefthegeorg2022-02-151-5/+0
| | | | ref:dbda5031b1bd1b53792dfdcd1d8edf91a0132311
* Restoring authorship annotation for <[email protected]>. Commit 2 ↵paulkovalenko2022-02-101-1/+1
| | | | of 2.
* Restoring authorship annotation for <[email protected]>. Commit 1 ↵paulkovalenko2022-02-101-1/+1
| | | | of 2.
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.pervyshev2022-02-102-28/+28
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.pervyshev2022-02-102-28/+28
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.kolya2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.kolya2022-02-101-1/+1
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.justdev2022-02-101-5/+5
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.justdev2022-02-101-5/+5
|