Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ ByName
Method
ByName
library/cpp/testing/unittest/gtest.cpp:57–67 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
55
}
56
57
IGTestFactory* NUnitTest::NPrivate::ByName(const char* name) {
58
static TMap<TStringBuf, TAutoPtr<TGTestFactory>> tests;
59
60
auto& ret = tests[name];
61
62
if (!ret) {
63
ret = new TGTestFactory(name);
64
}
65
66
return ret.Get();
67
}
Callers
nothing calls this directly
Calls
1
Get
Method · 0.45
Tested by
no test coverage detected