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

Method AddAlias

library/cpp/dns/cache.cpp:83–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82
83 void AddAlias(const TString& host, const TString& alias) noexcept {
84 TWriteGuard guard(LA_);
85
86 A_[host] = alias;
87 }
88
89 static inline TGlobalCachedDns* Instance() {
90 return SingletonWithPriority<TGlobalCachedDns, 65530>();

Callers 1

AddHostAliasFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected