Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Library import 2 (#639) | AlexSm | 2023-12-22 | 1 | -4/+5 |
| | |||||
* | Intermediate changes | robot-piglet | 2023-12-17 | 2 | -70/+70 |
| | |||||
* | detect dangling references in TMaybe object | swarmer | 2023-12-16 | 1 | -18/+18 |
| | |||||
* | detect dangling references in MapFindPtr and utility helpers | swarmer | 2023-12-15 | 2 | -11/+15 |
| | |||||
* | Replace rep.erase with rep.erase_one in THashSet::erase | nocomer | 2023-12-14 | 1 | -1/+1 |
| | |||||
* | Introduce convenient _B literal for bytes | thegeorg | 2023-12-13 | 1 | -0/+4 |
| | |||||
* | [util] Store policy should preserve constructor's is_constructible trait | swarmer | 2023-12-07 | 2 | -7/+34 |
| | | | | Without constraints on the types of arguments, it is possible that creating an instance of `Policy<T>{}` leads to a compilation error, although immediately before that, checking `std::is_default_constructible_v<TPolicy<T>>` returned `true` value | ||||
* | Use a new empty string instead of NullStr when constructing TString from ↵ | vadim-xd | 2023-11-20 | 1 | -3/+4 |
| | | | | TReserveTag or TUninitialized | ||||
* | Added HasFlag/Remove Flag for operations with one value, added HasAnyOfFlags. | kshalnev | 2023-10-27 | 2 | -6/+29 |
| | |||||
* | 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 |