| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
e1bd39ae9423633f01b5185703a754aa9e26e3a3
|
|
|
|
| |
feeb90a4704dca0309a6252ea872283ea9302a4b
|
|
|
|
| |
60a062b712a946277218f01266a01df505972b31
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added static analysis to format of YT_LOG_XXX macro's. We expect you to write format string as first or the second argument and follow the rules as if you are writing arguments for `NYT::Format`, which match those of printf: https://en.cppreference.com/w/cpp/io/c/fprintf plus few extra flags like 'v'. At the moment analyser checks if flags sequences is
1. Correctly terminated
2. Only contains specifiers valid for a given argument (if we are parsing nth argument of type T, then T must have all specifiers from its list of Conversion or Flag specifiers.
(2) Also means that the number of flag sequences must match the number of arguments supplied to format.
You can specialize `TFormatArg<T>` which is used to determine allowed Conversion and Flag specifiers to customise rules of static analysis. E.g. you can introduce new flags to the mix which you promise to parse in the related FormatValue function.
If you feel like this produces to much overhead in terms of compile time, you are free to use macro YT_DISABLE_FORMAT_STATIC_ANALYSIS to turn the entire thing into a no-op. We have measured compile time to be affected by roughly 3-5% in a log intensive files.
ae6def509474e8a42027bb4ed84ac040509b7c85
|
|
|
|
| |
1b80d64b6a03772edc52f2331a860ff0b5621898
|
|
|
|
| |
a4ae49ebd9051e7b2ac4206a8ca960db77510feb
|
|
|
|
| |
4e0c868c6cc3837cee417868521e8087900153fb
|
|
|
|
| |
39cfa31a7e313cc0a2b62e3c4836db4b6bf04dde
|
|
|
|
| |
85eb5ffdc79771c842f049e9392902ac6868cece
|
|
|
|
|
| |
YTORM-1057
0aa4ceb80d984a15c92a69f242ecf517b3c7a07c
|
| |
|
|
|
|
| |
e2d3a54377ea6268a39c35989c259720c10edefa
|
|
|
|
| |
3a95ba7ea18b67eb6bd8d04631814456f4881138
|
|
|
|
| |
00e7d577abb2a5bc75795293bf112baa41fcad78
|
|
|
|
|
|
|
|
|
|
| |
При использовании TThreadedLogBackend обнаружили, что в нем теряются метафлаги. Приняли решение поддержать метафлаги в этом типе логов, изменение выглядит безопасным.
Использовали лог здесь
https://a.yandex-team.ru/arcadia/quality/ab_testing/exp_daemon/usersplitserver.cpp?rev=rXXXXXX#L1807
Коммиты с добавлением метафлагов в другие типы логов:
https://a.yandex-team.ru/review/2572611/files/3#file-library/cpp/logger/log.cpp
https://a.yandex-team.ru/review/3737503/details
f3c5f96405ff1528ef73788d17d09fb4169cd9a2
|
|
|
|
|
|
| |
apply to global loggers in yt/yt/core
787f98549edf6e8d46ac63cdb8db0609ccde42da
|
|
|
|
| |
37bad2103b3a988020f96323c57461ed20b4d900
|
|
|
|
|
|
|
| |
Publish l1_distance & l2_distance to https://github.com/ydb-platform/ydb
It has already been published to github: https://github.com/catboost/catboost/tree/master/library/cpp/
a6fd3da173e50ff5a518af0fd5b354f56ca72fdf
|
|
|
|
| |
5da23499c430efcdae980093fd84c8391537660c
|
|
|
|
|
|
| |
TYsonStruct implementation (now with a fixed bug)
94a777c1510546c0a8a7ef3e3b327add7dfc3813
|
|
|
|
|
|
|
|
|
| |
TYsonStruct implementation
Revert "YT-21310: Introduce CYsonStructSource to remove code duplication in TYsonStruct implementation"
This reverts commit b5dbf4de1df8156e23176662e15b167361fddb19, reversing
changes made to 5ab2a4add3801f5d310e76bf9ba496342d2b765a.
1f84c055d6e4df384230688c946a45dd6351a386
|
|
|
|
| |
4ed1896722ba8cc8e3371fab7d75aa2df2c67d6f
|
| |
|
|
|
|
| |
4a6fd6fb52fcb4d43f76651d645dc2e1affe3dd0
|
|
|
|
|
|
|
| |
TYsonStruct implementation
done
b5dbf4de1df8156e23176662e15b167361fddb19
|
| |
|
|
|
|
|
|
|
|
| |
Раньше метод GetTotalSize() был только в TLRUList, хотя TSizeProvider присутствовал также в TLRUList
Добавил GetTotalSize() во все листы (в том числе TLWList), а также метод GetSize(), который возвращает текущее количество
Также добавил эти методы в сами TCache и TThreadSafeCache
c103617d7259841e1c273cadd8dbf0bb019e52dc
|
|
|
|
| |
c2cf2ec6852cbccda74fe6f6de74283db553a809
|
|
|
|
| |
efd2cb209904cc5d2d0e94bab8b5792f198916fd
|
|
|
|
| |
970c33b44a7bd166b2716d86d3d2053dcaf05d7d
|
| |
|
|
|
|
| |
7783a07e40a1942583eb0470e1a4b58b3369951e
|
|
|
|
| |
8b95cb159efca3d611ef0361a6f53a20b2fb5b37
|
|
|
|
|
| |
Fixup rXXXXXX
9d34af8101f3a279b792863b45b9b402c6bd21f1
|
|
|
|
| |
231a9b4db35ccee7e5a5b716b57d594973adc23b
|
|
|
|
|
| |
Done
b2c0a25fcacbb46fcf6294ce86b1a27ad2adac50
|
| |
|
|
|
|
| |
ba564ebebc1f8959e21428666934e394db040489
|
|
|
|
| |
ed3889fb0e8fb71a059686f7c4133e9058935718
|
| |
|
|
|
|
| |
05bf28fe4eb31cec383104614cfd06d51d5c6a72
|
|
|
|
| |
abc4f16f2a80b89a4bb0f4961df492ad2881a007
|
|
|
|
| |
351519c01d45a22beceb491029a8f516619673a0
|
|
|
|
| |
0f22987a2824410add2233f4434e26c9e1903da1
|
|
|
|
|
| |
В рамках
3547980204d51d6eba4c3b56989a916379526673
|
|
|
|
| |
2a8ad5153e705d400848986ee41961e9727ba64a
|
|
|
|
|
|
| |
`include/grpc++` was the original directory name for all C++ header files but it conflicted with the naming scheme required for some build systems.
It is superseded by `include/grpcpp`.
ede5ac168419131cfa95db8f7d3cb0bf11597992
|
|
|
|
|
|
|
| |
attributes
No tests for now
9e6aa6815b8d892d1e76281e95f5d044196801e1
|
|
|
|
| |
bdeed1cefc753fe53d18db1219ca5e6b9e030933
|
|
|
|
| |
3c9be2821637ff70380f40cad2d26b1db536740c
|