| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Добавляем `TMultiHashMap::node_allocator_type` по аналогии с [THashMap::node_allocator_type](https://a.yandex-team.ru/arcadia/util/generic/hash.h?rev=rXXXXXX#L19), чтобы вычислять объем занимаемой памяти объектов `TMultiHashMap`.
commit_hash:49c8bbcd57ac8292ff1fffa7b59e45fdd88c3278
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
operators.
The C++ standard describes the requirements for comparing unordered containers in [unord.req.general]:
> Two unordered containers a and b compare equal if a.size() == b.size() and,
> for every equivalent-key group [Ea1, Ea2) obtained from a.equal_range(Ea1),
> there exists an equivalent-key group [Eb1, Eb2) obtained from b.equal_range(Ea1),
> such that is_permutation(Ea1, Ea2, Eb1, Eb2) returns true.
THashSet should use the same comparison logic.
commit_hash:b897cd7387d275324bb22268d0be79da4e74bf16
|
| |
|
|
|
|
| |
transitively via the JOIN_SRCS macro
commit_hash:9769490daa4d0e88eaf1b4147ccc961be6031d04
|
| |
|
|
| |
commit_hash:1853234e3cc2386843bcb3c973f43778e813efeb
|
| |
|
|
| |
commit_hash:4149625a81c51af40642fe498a887608cc57305f
|
| |
|
|
| |
commit_hash:ae46d476745bcde01f2465ccfec1ae45e8d29d1e
|
| |
|
|
| |
commit_hash:acff119fbd5252738b5c3a948a428b3cb2a36801
|
| |
|
|
| |
commit_hash:4a6a74639669cf2836dedbc7b61efb1f43faef1f
|
| |
|
|
| |
commit_hash:a86d9f2d841389cbec73f6976d4a0f78fc152116
|
| |
|
|
| |
commit_hash:44102d9b2c000eefdfd91997a40a055b29d647c7
|
| |
|
|
| |
commit_hash:8adef8417b7bb90754f71cf0a5be075dee84a718
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Detected by clang 20
```cpp
struct TFoo {
const int X[10];
};
void Foo() {
TArrayRef<const int> a{TFoo{}.X}; // error
}
```
commit_hash:299f849c2d3cc640866eee3ff82be37f624ac70d
|
| |
|
|
|
|
|
| |
This macro was previously used to conditionally toggle `lifetimebound` for `TString`-related functions which took its copy-on-write behaviour into account.
As of rXXXXXX this is no longer used.
commit_hash:93ac110d46ffbe59751c2cecc685b9838bba42b4
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
account copy-on-write semantics
`TString` is a copy-on-write type, which means that in some cases the valid lifetime of its data might extend beyond the lifetime of an individual `TString` (if it was copied).
However, there are practically no cases where this behaviour is appropriate, and leaving around an "owning" `TString` is undesirable.
Due to this behaviour we have previously refrained from enabling `[[clang::lifetimebound]]` for `TStringBuf` constructors, because some cases of view construction from a temporary `TString` were in fact valid.
This commit enables the check, as all existing related bugs in Arcadia have been fixed. Please see the related ticket and the announcement on Этушка (link will be in the post-commit comments) for more information.
commit_hash:b2b6831ac3106a4e76064b85ec2d748b415ed67c
|
| |
|
|
|
| |
clang-format 18 in STYLE\_CPP
commit_hash:e2018ac17a95817f09e131ee6d5316b2bdc2d39e
|
| |
|
|
| |
commit_hash:150f0a7b765d0ba270d9e42834bcf4c074ca0524
|
| |
|
|
|
|
| |
This codesearch query yields all the results (i. e. only `yexception_ut.cpp` depends on this define):
HIDDEN_URL
commit_hash:9cac855ba71451e3691fc514a5a423173c3a8aae
|
| |
|
|
| |
commit_hash:ff6e98554280ce1c021da5272fde9421374a643d
|
| |
|
|
| |
commit_hash:4173484eaeb8e4dd6ea84e26ae7f496e35785564
|
| |
|
|
| |
commit_hash:4417c6200b3fc4e3e6e61648412d263366935fdf
|
| |
|
|
| |
commit_hash:6b02e6cb83bde366477f7d53b6cd6c00bffdb4d6
|
| |
|
|
| |
commit_hash:61b2ca8fab66696aade476173e07001d1b886b5e
|
| |
|
|
| |
commit_hash:6f4c98369177b376ac1c9dfba18ee5464c558c95
|
| |
|
|
|
|
| |
for elements is noexcept.
commit_hash:2457980ced7a2f91cefec1ea20ff13bfb5c7c2cf
|
| |
|
|
| |
commit_hash:b46dfbc7a684061be1b6e3eca5d7e312ff3e71f4
|
| |
|
|
| |
commit_hash:7f3c30234700758cc6218bdef0fa2e6862f2c32e
|
| |
|
|
|
| |
Часть большого ПР REVIEW:7264088
commit_hash:0f5b03fbbed0ac30f734943309e3ef5cd4d7a30e
|
| |
|
|
|
|
|
| |
If this pr has broken something, try using the methods named with a small letter
\[nodiff:caesar\]
commit_hash:c08a737938cff39577c6e47d4434531f6355e4c2
|
| |
|
|
|
| |
For example, this makes it possible to use gtest pointer matchers on smart pointers
commit_hash:2650074ae18ee35696b297d3d1f0393e7350789f
|
| |
|
|
|
|
|
|
|
|
|
| |
(HIDDEN_URL \[util\] migrate to STYLE_CPP
В рамках работы над линтерной моделью мигрируем на новый макрос [`STYLE_CPP`](HIDDEN_URL в связке с механизмом автоинклудов.
Цели для линтинга теперь берутся из макроса `SRCS`. Пути к заголовочным файлам, расположенным не в одном каталоге с `ya.make`, рекомендуется явно перечислять в `SRCS` или воспользоваться макросом [`HEADERS`](HIDDEN_URL
Механизм работы автоинклудов описан в документации, см. примечание <HIDDEN_URL>
commit_hash:eb991ca8cfe26bf83871579225303c1b93c2e85c
|
| |
|
|
| |
commit_hash:c6fad0009855affb407cba47af8ea60ca834a890
|
| |
|
|
| |
commit_hash:edd5ed00db3a4c6090c535fa406f184268188733
|
| |
|
|
| |
commit_hash:cb3317dd036b226397730ad8c04a5f1a22f0b164
|
| |
|
|
|
| |
использование Singleton спрятано за #ifndef _LIBCPP_VERSION - прячем инклуд аналогично
commit_hash:0f8b0d3bee5ac020dd26dcadddb41b28164f4022
|
| |
|
|
|
|
|
|
|
| |
ex:
```
auto it = TString{"temporary"}.cbegin();
use(*it);
```
commit_hash:68f621e7b2d608340d7b9f5a9a246c138a2eafff
|
| |
|
|
| |
commit_hash:43fb3eff8779379efe5955f3f48cef3bf8e3a894
|
| |
|
|
| |
commit_hash:5e1acbf4a0eaeb2ff1b7648f90af6bc4f41312e2
|
| |
|
|
| |
commit_hash:17de7afe0f415c511e587b2f2607cbbc2348742e
|
| |
|
|
|
| |
It is also slightly faster for non-trivial key types.
commit_hash:4104cabfe8dc9a51174034c62aae25be16b57bf9
|
| |
|
|
| |
commit_hash:6ff089c6f629be6a68a94d1e1ee648630f8568d2
|
| |
|
|
|
|
|
| |
template operator TStringType& to deprioritize non-const method
Converting a `TString` to a `const std::string&` should not cause data cloning.
commit_hash:df425bd56f8517d882444e15f3cc586af92d90b3
|
| |
|
|
| |
commit_hash:9d13cf8c2f490f6590afada455248339a63b6bf8
|
| |
|
|
|
| |
FixNamespaceComments in /util
bb9152570d7c258798644ead5a59f604de05ef3b
|
| | |
|
| |
|
|
|
| |
Remove Y_UNIT_TEST from config.clang-format
853b6da2c4464342d4cfe7756c18ed599004fdd8
|
| |
|
|
| |
b2b7d42af6f055ef24e22f69cac6c0f5560f6120
|
| |
|
|
| |
ce37597283b1508bdba021056c149fe16feb1c69
|
| |
|
|
|
| |
Set SpacesInLineCommentPrefix to 1 in /util
3853f9ec5143722c1bebd8dc0ffc9b61a6c17657
|
| |
|
|
| |
e4f1f262610072e05f42e372851b8d192a060351
|
| |
|
|
|
|
|
|
| |
Remove unused header /util/generic/enum_range.h.
This reverts commit 74cd8c66052608f1b6fec69c39cb0f868376fe0a, reversing
changes made to b504f5d1165d419a2d9b9fb2769286c3f27ae7a8.
5891c2c720b47fe8cb6bd1e41cc161d68b2f5ce9
|