aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* Intermediate changesrobot-piglet2023-10-241-0/+6
|
* remove Y_VERIFY_DEBUGilnurkh2023-10-231-1/+0
|
* remove Y_FAILilnurkh2023-10-181-1/+0
|
* Intermediate changesrobot-piglet2023-10-171-2/+2
|
* Y_FAIL->Y_ABORT at '^util'ilnurkh2023-10-173-3/+3
| | | | https://clubs.at.yandex-team.ru/arcadia/29404
* do not check exceptions during expression evaluationilnurkh2023-10-131-14/+7
|
* fix win warningsilnurkh2023-10-121-3/+1
|
* fix comment in utililnurkh2023-10-121-1/+1
|
* remove Y_VERIFYilnurkh2023-10-111-1/+0
|
* Y_VERIFY->Y_ABORT_UNLESS at ^uilnurkh2023-10-1030-81/+81
| | | | https://clubs.at.yandex-team.ru/arcadia/29404
* remove double backtrace printingilnurkh2023-10-091-1/+0
| | | | заметил что в ::NPrivate::Panic и так есть написание трейса
* Add global user-defined literal for TStringBufvadim-xd2023-10-072-0/+10
|
* aliases for checking macrosesilnurkh2023-10-063-50/+40
| | | | https://clubs.at.yandex-team.ru/arcadia/29404
* Revert commit rXXXXXX, Support std::filesystem::path in TFile and TFileHandlepg2023-10-042-107/+9
|
* Support std::filesystem::path in TFile and TFileHandlethegeorg2023-10-042-9/+107
|
* Add THashMultiMap::equal_range_i so new element could be emplaced after ↵osidorkin2023-09-152-0/+16
| | | | | | checking multiple elements with the given key withoute extra hashing По аналогии с find_i: хочется после проверки набора значений с данным ключом, вставить (или не вставлять) еще одно с тем же ключом. Добавляю метод, который позволит не считать хэш при вставке
* util/system/shellcommand: customize signal to terminate process withantervis2023-09-152-9/+9
|
* Intermediate changesrobot-piglet2023-09-064-8/+4
|
* (no commit message)pg2023-08-311-4/+0
|
* (no commit message)pg2023-08-201-8/+8
|
* Add ctors for TStorageBase to fix TMaybe instantiation for move-only types ↵nocomer2023-08-181-1/+13
| | | | which are trivially move-constructible
* TString: improve `operator+` rvalue overloadsignatloskutov2023-08-101-2/+7
| | | | The missing `(TCharType, TBasicString&&)` overload added, so no allocation is performed if the string has spare capacity.
* Fix return invalid pointer in FTS_NOSTAT modedimdim112023-08-071-0/+2
| | | | Fix return invalid pointer in FTS_NOSTAT mode
* Remove extra semicolonbulatman2023-08-024-5/+5
|
* remove NO_SANITIZE_HEADERS macrosreshilkin2023-07-282-4/+0
|
* add some warnings (even in release build) if host memory estimation was wrongilnurkh2023-07-223-5/+12
|
* [util] add std::optional support to IOutputStream << operatorrus0842023-07-041-0/+18
|
* Intermediate changesrobot-piglet2023-07-031-1/+1
|
* Make CeilDiv function constexprilezhankin2023-06-301-3/+7
|
* Require semicolon after Y_DECLARE*_FLAGSbulatman2023-06-249-24/+25
|
* Revert commit rXXXXXX, Optimize CloseAllFdsOnExec for large MaxOpenFilessay2023-06-221-16/+2
|
* [util] Turn all Collapse / CollapseInPlace overloads into template functions ↵ppavel962023-06-222-5/+25
| | | | to support arbitrary string types
* Intermediate changesrobot-piglet2023-06-151-3/+3
|
* Intermediate changesrobot-piglet2023-06-131-71/+59
|
* add ymake export to ydbalexv-smirnov2023-06-1341-0/+1117
|
* Delete constant reference API to DoNotOptimizeAwaybulatman2023-06-121-0/+9
|
* Remove extra semicolon (util)bulatman2023-06-1215-19/+19
|
* util/saveload: implement default saveload for std::optionalionagamed2023-06-102-0/+43
|
* Require semicolon after saveload macrosesbulatman2023-06-084-4/+14
|
* Refactor and fix constructors TString as std::stringdimdim112023-06-083-22/+115
| | | Fix move constructors when used std::string instead of TString
* Restrict direct usages of google benchmarking librarythegeorg2023-06-081-1/+1
| | | Forbid PEERDIR-ing Google Benchmark from modules other than G_BENCHMARK.
* Remove xray supportthegeorg2023-06-061-22/+0
|
* TMapOps::Value: better return typeignatloskutov2023-06-022-5/+5
| | | | | | | | Выбирается общий тип, а не тип значения в мапе (но не ссылка, потому что auto), что позволяет писать код в духе: ```cpp TMaybe<int> Foo(THashMap<long, int>& map, long key) { return map.Value(key, TMaybe<int>()); } ```
* Optimize CloseAllFdsOnExec for large MaxOpenFilessay2023-05-111-2/+16
|
* Mute -Wdeprecated-declarations error when thread sanitizer enabled on darwin ↵hiddenpath2023-05-091-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | platform При сборке проектов с ```--sanitize=thread``` под **darwin**, по умолчанию попадет ```util``` и его часть ```system/context.h```, где в случае ```thread_sanitizer_enabled``` выставляется ```USE_UCONTEXT_CONT```, что приводит к использованию [депрекейтнутного](https://opensource.apple.com/source/libplatform/libplatform-125/include/ucontext.h.auto.html) ```<ucontext.h>``` из [macos_sdk](https://a.yandex-team.ru/arcadia/build/platform/macos_sdk/ya.make?rev=rXXXXXX#L6). Без должных изменений, сборка падает с ошибкой. ```In file included from /Users/hiddenpath/.ya/build/build_root/fnjm/000128/util/all_system_1.cpp:13: In file included from /Users/hiddenpath/arcadia/util/system/context.cpp:31: In file included from /Users/hiddenpath/arcadia/util/system/context.h:46: /Users/hiddenpath/.ya/tools/v4/2088833948/usr/include/ucontext.h:51:2: error: The deprecated ucontext routines require _XOPEN_SOURCE to be defined #error The deprecated ucontext routines require _XOPEN_SOURCE to be defined ^ In file included from /Users/hiddenpath/.ya/build/build_root/fnjm/000128/util/all_system_1.cpp:13: In file included from /Users/hiddenpath/arcadia/util/system/context.cpp:31: /Users/hiddenpath/arcadia/util/system/context.h:68:9: error: use of undeclared identifier 'getcontext' getcontext(&Ctx_); ^ /Users/hiddenpath/arcadia/util/system/context.h:72:9: error: use of undeclared identifier 'getcontext' getcontext(&Ctx_); ^ /Users/hiddenpath/arcadia/util/system/context.h:80:9: error: use of undeclared identifier 'makecontext' makecontext(&Ctx_, (ucontext_func_t)ContextTrampoLine, 1, c.TrampoLine); ^ /Users/hiddenpath/arcadia/util/system/context.h:87:9: error: use of undeclared identifier 'swapcontext' swapcontext(&Ctx_, &next->Ctx_); ^ 5 errors generated. Failed
* Remove using of extra semicolons in utilbulatman2023-05-0410-12/+12
|
* Workaround -Wunused-but-set-variable in Y_DBGTRACE macrothegeorg2023-05-031-36/+24
|
* [util] Fix typo in IThreadPool descrshaprunovk2023-04-271-1/+1
|
* Simplify system utime.h includespreis2023-04-271-2/+1
| | | There is no reason now to hide include behind macro: we have sysincls properly working for years
* Add clarifying comment about the behavior of RemoveRecursive is file or ↵akhropov2023-04-241-0/+1
| | | | directory does not exist.