swarmer cd219f040b reduce number of hash table lookups in the resource library | 1 month ago | |
---|---|---|
.. | ||
ut | bf0f13dd39 add ymake export to ydb | 1 year ago |
README.md | 1d2e8a8e99 Restoring authorship annotation for <cobat@yandex-team.ru>. Commit 2 of 2. | 2 years ago |
registry.cpp | cd219f040b reduce number of hash table lookups in the resource library | 1 month ago |
registry.h | dfe7a3135e discourage inlining of the NResource::TRegHelper's constructor | 9 months ago |
resource.cpp | 387c914d75 Filter searcher props by black list. Add NResource::Has() | 1 year ago |
resource.h | 387c914d75 Filter searcher props by black list. Add NResource::Has() | 1 year ago |
ya.make | 9527a00c74 Untitled commit | 1 month ago |
See ya make documentation, resources section for more details.
LIBRARY()
OWNER(user1)
RESOURCE(
path/to/file1 /key/in/program/1
path/to/file2 /key2
)
END()
#include <library/cpp/resource/resource.h>
int main() {
Cout << NResource::Find("/key/in/program/1") << Endl;
Cout << NResource::Find("/key2") << Endl;
}