summaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* Intermediate changesrobot-piglet4 days1-9/+9
| | | | commit_hash:dbb5d28367be7cb318f0e373533600e70075b14c
* Fix environment pointer invalidation in TShellCommandilikepugs6 days1-4/+9
| | | | | | | | | TShellCommand built the environment array by storing pointers to strings while simultaneously appending those strings to a vector. When the vector reallocated, short strings using SSO were moved together with their inline storage. Previously stored pointers could therefore become dangling and cause environment variables passed to the child process to be corrupted or lost. Build all environment strings first and only then create the pointer array passed to execve. This ensures that the underlying string storage remains stable for the lifetime of the pointer array. commit_hash:039e0f4a94f1eedea47e53e1258b36a7266193df
* Make Ascii-related functions and StripString() constexprthegeorg7 days4-100/+133
| | | | commit_hash:ff7ca9a2428930638288f8c0e92a303b8f620063
* util/ysafeptr: unpoison ref-counters in DestroyContents()makxenov10 days2-0/+10
| | | | | Unpoison class data that is intentionally used after destructor commit_hash:cf4351f9247d999e07579c0c14c9e226c5de021d
* ysaveload.h: adjust sorted container insert hintswarmer2026-07-091-5/+1
| | | | | > The hint should point just after the element to be inserted. The container tries to place the new value just prior to the hint. commit_hash:d11c297889c429edb085687b4cbbd287428e1cf0
* (CpuId) Add AVX512 VNNI feature detectionmirali7772026-07-083-0/+16
| | | | | | | | Adds AVX512 VNNI to NX86 CPU feature detection and cached flags, plus the corresponding CpuId unit-test hook. This PR is limited to `util/system/` changes. Verification: - `ya make -tt util/system/ut -F TestCpuId` commit_hash:be9c9e83f684838f3e5d9e390636c2bd5e1e0342
* TIntrusiveList: add move ctor and move assignment operator for itemsswarmer2026-07-082-0/+133
| | | | | The constructor and move operator allow the use of classes with TIntrusiveListItem in any container, not just node-based ones. For example, it is now possible to link vector elements to a TIntrusiveList. commit_hash:1f09f9c3296566729436c2437c675e1cc086d4d6
* Use trivial_abi in THolderswarmer2026-07-063-2/+15
| | | | | Apply trivial_abi to THolder so it can be passed directly in registers instead of through an invisible reference to caller-allocated memory. commit_hash:b63c37dd510deb46bb146c54dbab6daa91db588a
* free(nullptr) is always legalakhropov2026-07-051-4/+1
| | | | commit_hash:1fdcd5742e7ab82ec32d59d282c65eae7461ce06
* Migrate absl_flat_hash users to library/cpp/containers/abslpechatnov2026-07-042-2/+2
| | | | | Migrate absl_flat_hash users to library/cpp/containers/absl commit_hash:0db509df0f012089a56c5f500e0da1dfe9035c23
* Intermediate changesrobot-piglet2026-06-302-2/+11
| | | | commit_hash:c951de753ddcdca4233fafa0030e272d411a5ed0
* Delegate TString / TStringBuf formatting to std::string_viewthegeorg2026-06-304-0/+48
| | | | commit_hash:7b0b23c3ee9ab21b0f3188134596016cb2e20daf
* Fix out parameters annotationakhropov2026-06-121-2/+2
| | | | commit_hash:2b1270c974bb356547f889a4c355f5168d14d74a
* Add _rtos_ define for ZEPHYR OSalexeykurzov2026-06-111-0/+3
| | | | commit_hash:2b003cee1e28b9216664d7069aa988a3b6d22eca
* Fix documentation commentsakhropov2026-06-051-2/+2
| | | | commit_hash:bade82d7f9127c609e2884e1b93ac121c56d4781
* Fix and enhance documentation comments in utilakhropov2026-06-0511-58/+129
| | | | commit_hash:e121f7c48f58baff0e3690d60194525c2bfca083
* Documentation comments: fix for 'subspan', add for 'Slice'akhropov2026-06-011-2/+17
| | | | commit_hash:678331261f55d56d7af4534c58ec675a1465d2cc
* Add missed parameter direction marksakhropov2026-05-311-3/+3
| | | | commit_hash:df8709e8a5788ade1ad3b5f18c09b989296eb899
* Add missed parameter direction marksakhropov2026-05-312-11/+11
| | | | commit_hash:96c6bf5c879e28c903666acb6be62212aaefbd6d
* Add missed 'until'akhropov2026-05-311-1/+1
| | | | commit_hash:512c853729c8b12eedcbd6d2f612b5995f681c5b
* Fix: 'characters' -> 'bytes', their size is not always the sameakhropov2026-05-311-6/+6
| | | | commit_hash:e4679eedba9c727a028bf6eadc447b3ac3c88d20
* Fix Y_INITIALIZED for c++11vadim-xd2026-05-261-1/+2
| | | | commit_hash:55c566b519b626cfbe7b1aca8b15fed2993b9ed8
* Add Y_INITIALIZED (silencer for bugprone-use-after-move)vadim-xd2026-05-252-0/+34
| | | | commit_hash:e683c92bdbc059b1f08f9a6239e9348849914e84
* Fix a local time zone time serialization bug on Windowstikhonov-ka2026-05-201-1/+2
| | | | commit_hash:444da85d16474126d9f2373887f85e4601421460
* Add Concat for arbitrary string typesvadim-xd2026-05-193-37/+71
| | | | commit_hash:b9f1c87173a18fb59f8cf684191efd4436dd6012
* Intermediate changesrobot-piglet2026-05-131-0/+2
| | | | commit_hash:c0f0e5fa6a2d9bf233fe4af617eb17b323379948
* Allow copy assignment for LCG-based RNGsp-asyut2026-05-081-3/+3
| | | | | For <https://nda.ya.ru/t/FIPKFNlV7bdxWF> () commit_hash:6a572f8c4950bd8613a67bed87081585b9449551
* Fix description: function -> body blockakhropov2026-04-211-2/+2
| | | | commit_hash:a4449ed4850ea3acd49ac3b7eb51fd5f04905285
* Introduce rtos based platforms defines for rtos platformsflarembo2026-04-181-0/+3
| | | | commit_hash:c975063237fb34a806e97350909d01bafb549bd9
* Move ClearEnv and IterateEnv to utilvadim-xd2026-04-053-4/+154
| | | | commit_hash:c42da6c8b3d8e0c63f1cf4457c245bbd97025cc2
* Remove duplicate error code in SetEnvvadim-xd2026-04-041-8/+1
| | | | commit_hash:c1b6cb467db42c6601a058c456ea118cafe571f2
* Try to add Out implementation for std::complexalxmopo3ov2026-03-183-0/+54
| | | | commit_hash:cd3a78544022b8a792e536ce1da0946969f5d38a
* allow NTL::TConcat to concatenate more than two listsswarmer2026-03-022-1/+24
| | | | commit_hash:4a7ae26132b5605dfc289d75b3adc330ab842fd3
* Attributes for coroutine return typesrraed2026-02-181-0/+46
| | | | commit_hash:14705eb46ebc07f5bdb3fd77df6d1cbe23720351
* YQL-20095: Ignore modernize-avoid-c-arraysvitya-smirnov2026-02-171-1/+1
| | | | | | | Clang Tidy complains on a c-array usage, expanded from the macro, but I do not think, that it is really worth to `#include <array>` here. commit_hash:ca9d60f11175812b74534833a5d7bb59b3b547d2
* Allwinner riscv64 toolchainxiwra2026-02-101-2/+2
| | | | | for allwinner c906 core on FreeRTOS platform commit_hash:94fe40602b06baea8e740d5e746980b1ca0dfc33
* add support for std::string_view in the generic TryFromString functionswarmer2026-01-302-2/+13
| | | | commit_hash:063cf15ddb263d176b0e4a179c1c77aa16bbf9f0
* YQL-20095: Use explicit at Y_HAS_MEMBERvitya-smirnov2026-01-231-1/+1
| | | | | | | | | We wish to enable the `google-explicit-constructor` check, which complains on `Y_HAS_MEMBER` usages, because of an implicit constructor at a class, generated by a macro. Related PR: https://nda.ya.ru/t/BJpRlItb7SXx5M commit_hash:1f1ceed3cf4dea48a0f9ac96bd4f6a813e3d835c
* TString::contains + tests, TStringBuf::contains tests, macro to enable EBOpechatnov2026-01-135-1/+57
| | | | commit_hash:221422cb861ba9db0ce508ea1114d3d44a5e37c7
* implement Y_NO_UNIQUE_ADDRESS using msvc::no_unique_address on windowsswarmer2026-01-121-0/+2
| | | | | MSVC and clang-cl implements the C++20 `[[no_unique_address]]` feature via a specific, non-standard attribute: `[[msvc::no_unique_address]]`. commit_hash:975835261fcf805bfe65b51fb43852f71ff67edd
* std::string transparency for TEqualTo, TLess, TGreaterpechatnov2025-12-302-0/+32
| | | | commit_hash:688a0a61e302256fb0c08efec7f4200aaeaf4b04
* Add TBuffer::AsString(std::string&)pechatnov2025-12-263-0/+24
| | | | commit_hash:bd0d2e60bd83479c320f159f8e6fae916f993452
* support the [[msvc::lifetimebound]] attributeswarmer2025-12-231-0/+2
| | | | commit_hash:24de2d823f1fc408bad6a4297e05810dc0d9624c
* Y_LIFETIME_BOUND documentation: add info about constructors and member ↵akhropov2025-12-221-2/+10
| | | | | | functions, add a link to CLang documentation. commit_hash:0d4feb10ff7975b833e61a93d6474b5f4e5ad94e
* TMaybe: propagate constuctible traitswarmer2025-12-193-1/+36
| | | | | | Constructors are now conditionally enabled based on whether T is copy- or move-constructible. This allows constructibility to be checked, instead of causing compilation errors during template instantiation. commit_hash:a304a162846a96e404f5a02506607c1d2f9b09be
* Intermediate changesrobot-piglet2025-12-112-0/+129
| | | | commit_hash:020e4355f3991822b2eb8fad95f5c653cc533dae
* Fix grammarakhropov2025-12-041-10/+10
| | | | commit_hash:b7af773942b9bbb47e1c0273c0567e932697ecff
* temporary revert commit to fix another bugs rXXXXXX, fix UB in util/ysafeptr.hastashkinfk2025-11-221-1/+1
| | | | commit_hash:7d97cb5039c7f4aec71ad5b7a9fbcd8a392500a2
* EraseNodesIf should use an iterator to the next node if the erase method ↵swarmer2025-11-201-1/+5
| | | | | | returns one commit_hash:4c4690aacc6b7ab9c3ab6ec79bd35c1e2b7fe06e
* fix UB in util/ysafeptr.hastashkinfk2025-11-181-1/+1
| | | | commit_hash:49efecfceebf62b8b7bd30e40f14bf8da659dcec