summaryrefslogtreecommitdiffstats
path: root/util/system
Commit message (Collapse)AuthorAgeFilesLines
* Implement TFile::Fallocate for Windows.sath2024-06-201-0/+6
| | | | 66f69cf2778ef870c0ddb050d260160ce8be1c3f
* feat util/system: add a possibility to disable exit handlers, use it in ↵itrofimow2024-06-062-0/+21
| | | | | | rate-limiter nginx module b90ea2b46b910c5bf2e0db4ccacb45ca5c39ecaa
* unaligned_mem.h rename fieldshakob2024-06-051-12/+12
| | | | | rename private fields cfceec78649473a68bdbd3cca8635674e12e42ee
* [util] Implement TryGetEnv and UnsetEnv functionsswarmer2024-05-163-5/+89
| | | | | The TryGetEnv function can be used to distinguish the case when a variable is not defined from the case when it has an empty value. 4aab7a2a39f4b9107b0b1d1ef639dc2c41c04f42
* Add mtime/atime/ctime with nanoseconds to TFileStat.sath2024-05-132-35/+58
| | | | 3523ab3f5aade2bdf4c0efd5dd2defbe19f124ff
* Enable MarkAsIntentionallyLeaked API for --sanitize=leak buildsbabenko2024-04-202-3/+12
| | | | f660faa016f3549719f718b14125e02327fc02b2
* Add Y_DEBUG_ABORT macroskungasc2024-04-161-0/+1
| | | | | Relates to https://github.com/ydb-platform/ydb/pull/3684 86761f5a71a48625f1e0644c483825e25ba290ed
* reduce code bloat in the DecodeOpenMode functionswarmer2024-04-141-39/+51
| | | | | The loop version works as fast as unrolled one. But the binary code size is about 7 times smaller. 9c014c6ba2ab744670f9ac2fe3bf57942e01b0a1
* fixed MakeTempName() for paths > MAX_PATHstar-dm2024-04-033-17/+58
| | | | | | | added tests fixed MakeTempName() for paths > MAX_PATH d3aee81b508fa0de3fea66b71618981594f262e4
* Intermediate changesrobot-piglet2024-04-024-8/+0
|
* WebAssembly in utildtorilov2024-03-285-6/+14
| | | | b46c1e446c9d0f9393bf688b26db810f60add0f6
* Update libcxxabi to 16.0.6dtorilov2024-03-272-7/+12
| | | | 0a9e5a8cb8cd8cd03641221da29e1186a61cf984
* Fix case when 'arc export' not set executable bitilikepugs2024-02-212-2/+28
| | | | | | | В этом ревью сделано две вещи: 1. В util/system/fs добавилась функция SetExecutable 2. В TDataFetcher добавилась функция FetchEntry, аналог FetchBlob/FetchTree но с пробросом метаинформации 06888e7a37526ef46789eafd29bd2728661d8be7
* YT-21001: FiberContext::BeforeSwitch is now properly inlinedarkady-e1ppa2024-02-194-95/+70
| | | | | Improve annotations 5bd824bae00ce17bf4db9b1181455252e94f0b9f
* TThread::SetName sets thread name on androidsolovyev2024-02-051-2/+2
|
* feat contrib: aiogram 3armenqa2024-01-193-7/+20
| | | | Relates: https://st.yandex-team.ru/, https://st.yandex-team.ru/
* Library import 5, delete go dependencies (#832)AlexSm2024-01-041-3/+53
| | | | | * Library import 5, delete go dependencies * Fix yt client
* Import libs 4 (#758)AlexSm2023-12-271-0/+1
|
* Library import 2 (#639)AlexSm2023-12-221-0/+40
|
* re-enable clang::reinitialized attribute for non-CUDA target platformsswarmer2023-12-171-1/+1
| | | | | Check the version of the nvcc compiler only if it is used. Re-enable `[[clang::reinitialized]]` attribute for all other clang-based toolsets.
* finer check of lifetimebound attribute supportswarmer2023-12-141-2/+8
| | | | Fix warnings when compiling with old CUDA SDKs.
* Support std::filesystem::path in TFile and TFileHandlethegeorg2023-12-132-9/+94
|
* add attribute to detect lifetime bound errorsswarmer2023-12-111-0/+14
| | | | | | | Add wrapper for [[clang::lifetimebound]] attribute. Mark `ToString(TString)` functions with a new attibute. Preserve rvalue reference type when ToString applied to a temporary string.
* Add construction of TFileStat from struct statspreis2023-11-152-5/+19
|
* 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-171-1/+1
| | | | 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
|
* remove Y_VERIFYilnurkh2023-10-111-1/+0
|
* Y_VERIFY->Y_ABORT_UNLESS at ^uilnurkh2023-10-1011-45/+45
| | | | https://clubs.at.yandex-team.ru/arcadia/29404
* remove double backtrace printingilnurkh2023-10-091-1/+0
| | | | заметил что в ::NPrivate::Panic и так есть написание трейса
* aliases for checking macrosesilnurkh2023-10-061-43/+29
| | | | 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
|
* util/system/shellcommand: customize signal to terminate process withantervis2023-09-152-9/+9
|
* Remove extra semicolonbulatman2023-08-021-2/+3
|
* Intermediate changesrobot-piglet2023-07-031-1/+1
|
* Require semicolon after Y_DECLARE*_FLAGSbulatman2023-06-245-10/+10
|
* Revert commit rXXXXXX, Optimize CloseAllFdsOnExec for large MaxOpenFilessay2023-06-221-16/+2
|
* add ymake export to ydbalexv-smirnov2023-06-134-0/+131
|
* Delete constant reference API to DoNotOptimizeAwaybulatman2023-06-121-0/+9
|
* Remove extra semicolon (util)bulatman2023-06-123-3/+3
|
* Require semicolon after saveload macrosesbulatman2023-06-081-0/+4
|
* Remove xray supportthegeorg2023-06-061-22/+0
|
* 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-043-3/+3
|