MCPcopy Create free account
hub / github.com/catboost/catboost / CachedThrResolve

Function CachedThrResolve

library/cpp/dns/cache.cpp:189–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187 }
188
189 const TResolvedHost* CachedThrResolve(const TResolveInfo& ri) {
190 TResolveTask rt(ri, TResolveTask::Threaded);
191
192 return ThrDns()->Resolve(rt);
193 }
194
195 void AddHostAlias(const TString& host, const TString& alias) {
196 TGlobalCachedDns::Instance()->AddAlias(host, alias);

Callers 4

Y_UNIT_TESTFunction · 0.85
ScheduleMethod · 0.85
TRequestMethod · 0.85
THttpsRequestMethod · 0.85

Calls 2

ThrDnsFunction · 0.85
ResolveMethod · 0.45

Tested by

no test coverage detected