Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Y_FAIL->Y_ABORT at '^util' | ilnurkh | 2023-10-17 | 2 | -2/+2 |
| | | | | https://clubs.at.yandex-team.ru/arcadia/29404 | ||||
* | fix comment in util | ilnurkh | 2023-10-12 | 1 | -1/+1 |
| | |||||
* | Y_VERIFY->Y_ABORT_UNLESS at ^u | ilnurkh | 2023-10-10 | 6 | -9/+9 |
| | | | | https://clubs.at.yandex-team.ru/arcadia/29404 | ||||
* | Add global user-defined literal for TStringBuf | vadim-xd | 2023-10-07 | 2 | -0/+10 |
| | |||||
* | aliases for checking macroses | ilnurkh | 2023-10-06 | 2 | -7/+11 |
| | | | | https://clubs.at.yandex-team.ru/arcadia/29404 | ||||
* | Add THashMultiMap::equal_range_i so new element could be emplaced after ↵ | osidorkin | 2023-09-15 | 2 | -0/+16 |
| | | | | | | checking multiple elements with the given key withoute extra hashing По аналогии с find_i: хочется после проверки набора значений с данным ключом, вставить (или не вставлять) еще одно с тем же ключом. Добавляю метод, который позволит не считать хэш при вставке | ||||
* | (no commit message) | pg | 2023-08-20 | 1 | -8/+8 |
| | |||||
* | Add ctors for TStorageBase to fix TMaybe instantiation for move-only types ↵ | nocomer | 2023-08-18 | 1 | -1/+13 |
| | | | | which are trivially move-constructible | ||||
* | TString: improve `operator+` rvalue overloads | ignatloskutov | 2023-08-10 | 1 | -2/+7 |
| | | | | The missing `(TCharType, TBasicString&&)` overload added, so no allocation is performed if the string has spare capacity. | ||||
* | Make CeilDiv function constexpr | ilezhankin | 2023-06-30 | 1 | -3/+7 |
| | |||||
* | Require semicolon after Y_DECLARE*_FLAGS | bulatman | 2023-06-24 | 2 | -10/+11 |
| | |||||
* | add ymake export to ydb | alexv-smirnov | 2023-06-13 | 3 | -0/+109 |
| | |||||
* | Remove extra semicolon (util) | bulatman | 2023-06-12 | 6 | -8/+8 |
| | |||||
* | TMapOps::Value: better return type | ignatloskutov | 2023-06-02 | 2 | -5/+5 |
| | | | | | | | | Выбирается общий тип, а не тип значения в мапе (но не ссылка, потому что auto), что позволяет писать код в духе: ```cpp TMaybe<int> Foo(THashMap<long, int>& map, long key) { return map.Value(key, TMaybe<int>()); } ``` | ||||
* | Remove using of extra semicolons in util | bulatman | 2023-05-04 | 4 | -6/+6 |
| | |||||
* | Revert ymake build from ydb oss export | alexv-smirnov | 2023-03-28 | 3 | -109/+0 |
| | |||||
* | (no commit message) | pg | 2023-03-28 | 4 | -18/+18 |
| | |||||
* | add library/cpp/actors, ymake build to ydb oss export | alexv-smirnov | 2023-03-15 | 3 | -0/+109 |
| | |||||
* | Fix grammar in "yexception.h" | r-andrey | 2023-01-28 | 1 | -6/+6 |
| | |||||
* | TSharedPtr::As()&: leakage fix | sv-denisov | 2023-01-14 | 2 | -6/+59 |
| | | | | | | По следам https://a.yandex-team.ru/review/2996409/details Исправлены случаи при неудачных кастах: 1. контрольный блок дёргается даже при указании на nullptr (нехорошо для атомиков) 2. если исходный шаред поинтер разрушится раньше, чем полученный nullptr (например, при возврате из функции), то ресурс утечёт | ||||
* | [util]TLazyValue: remove operator bool and Defined | tldr | 2022-10-11 | 2 | -15/+11 |
| | |||||
* | [util] Fix TFunctionRef under MSVC | sskvor | 2022-10-07 | 1 | -2/+19 |
| | |||||
* | util: add .As<T> to TSharedPtr | ionagamed | 2022-10-01 | 2 | -1/+76 |
| | |||||
* | split hash.h into hash.h and multi_hash_map.h | tobo | 2022-09-15 | 1 | -1/+1 |
| | |||||
* | prepare to split hash.h into hash_table.h hash.h and multi_hash_map.h | tobo | 2022-09-09 | 9 | -1755/+1770 |
| | |||||
* | [util] Fix: add missing .cpp for function_ref | sskvor | 2022-08-25 | 1 | -0/+1 |
| | |||||
* | added limit parameter | bbiff | 2022-08-24 | 2 | -0/+272 |
| | |||||
* | [util] Add specializations for const / ref qualified member functions | sskvor | 2022-08-24 | 2 | -10/+94 |
| | |||||
* | Do not override contains() method which is present is STL | thegeorg | 2022-08-23 | 2 | -18/+0 |
| | |||||
* | Switch TString and TStringBase to std::reverse_iterator | thegeorg | 2022-08-21 | 3 | -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. | halyavin | 2022-08-05 | 6 | -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 ↵ | swarmer | 2022-07-19 | 2 | -3/+23 |
| | | | | | | | | | | AdjacentFind* functions AdjacentFind и AdjacentFindBy принимали контейнер по константной ссылке и из-за этого возвращали константный итератор. Стоит для некостантного контейнера возвращать также неконстантный итератор (если он есть). Это позволит 1. использовать итератор для модификации контейнера; 2. обойти проблему, когда методы `end()` и `cend()`/`std::as_const(…).end()` возвращают итераторы разных типов, которые нельзя сравнивать, либо для которых выбор оператора сравнения неоднозначен. | ||||
* | Add ydb changelog | bazeltsev | 2022-07-11 | 1 | -0/+1 |
| | | | updated | ||||
* | fix ya.make | monster | 2022-07-07 | 20 | -1082/+0 |
| | |||||
* | util: Drop NO_CITYHASH point of customisation | thegeorg | 2022-06-28 | 1 | -2/+2 |
| | | | | ref:613556c5a389af24a29e4fdef6ec5dfeee33bd39 | ||||
* | Stop providing non-inlined MurmurHashSizeT | thegeorg | 2022-06-27 | 1 | -2/+3 |
| | | | | ref:7e797cda3221e4c1905f5e443a9342db82e66883 | ||||
* | IGNIETFERRO-1922 Move atomics from util to library/cpp/deprecated | eeight | 2022-06-15 | 1 | -1/+0 |
| | | | | ref:0c3b0edd3284567c45ec77e57166274f3cfed8c7 | ||||
* | [enum_parser] generate ToStringBuf specialization | swarmer | 2022-06-13 | 1 | -0/+8 |
| | | | | | | IGNIETFERRO-1350 ref:bb9bb1755b6abfc5a27639daf049b8a7cd748fe4 | ||||
* | [util] AdjacentFind + AdjacentFindBy | swarmer | 2022-06-10 | 2 | -0/+58 |
| | | | | ref:76575abc5c39caf128339b56115c217c15766b51 | ||||
* | IGNIETFERRO-1105 -> Top level t-z | eeight | 2022-06-09 | 1 | -1/+1 |
| | | | | ref:e0e9801df5ee25dfbcfcb5974271dfd7dac8216c | ||||
* | Add missing map_ut.pyx to util/generic/ut_cython | thegeorg | 2022-06-03 | 2 | -0/+4 |
| | | | | ref:ccf13829e6e56d0e31ff3fab73f19915f1539e5c | ||||
* | util: Flatten cython tests layout | thegeorg | 2022-06-03 | 1 | -0/+26 |
| | | | | ref:7427208d08ebeb9e88247fb7dac6445bc814d756 | ||||
* | [util] IsSortedBy for containers | swarmer | 2022-06-02 | 2 | -0/+11 |
| | | | | ref:6c01516241e312227b7654b6b0260add648c8609 | ||||
* | [util] constexpr сравнения для TStringBuf | swarmer | 2022-06-01 | 2 | -59/+71 |
| | | | | ref:695923dc5d543fcc10893896407694ebc55f3e84 | ||||
* | [util] constexpr для алгоритмов | swarmer | 2022-06-01 | 2 | -117/+117 |
| | | | | ref:f1a82a410e24de6f4a77f4c8f28ed3401a5516b4 | ||||
* | util: Do not include on Windows | thegeorg | 2022-05-27 | 1 | -2/+4 |
| | | | | ref:4f285c4cb9d12ff2234491f46dd9d68634f9b9bb | ||||
* | [util] implement THashMap::insert_or_assign method | swarmer | 2022-05-26 | 2 | -0/+71 |
| | | | | | | IGNIETFERRO-821 ref:1e4e3b22bff7e806800218d58b1061626ebaa10f | ||||
* | [util] StripInPlace should modify string in-place | swarmer | 2022-05-24 | 2 | -0/+25 |
| | | | | ref:2aec19528c2378a0994534ec032550413a095389 | ||||
* | IGNIETFERRO-1105 TAtomic -> std::atomic in util/generic/* and threadpool | eeight | 2022-05-11 | 6 | -75/+85 |
| | | | | ref:39a714b781c60dca9e3b946d870971076e14ab7c | ||||
* | IGNIETFERRO-1997 replace Y_VERIFY(exceptionPtr) with 'return "NO EXCEPTION"' ↵ | chegoryu | 2022-04-26 | 2 | -5/+13 |
| | | | | | | in FormatCurrentException ref:02c5a1e631a36a1f21b5b7678ecf4e245769dd9e |