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

Function GetAddressOf

library/cpp/netliba/socket/socket.cpp:36–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35template <class T>
36static T GetAddressOf(const char* name) {
37#ifdef _linux_
38 if (!GetEnv("DISABLE_MMSG")) {
39 return (T)dlsym(RTLD_DEFAULT, name);
40 }
41#endif
42 Y_UNUSED(name);
43 return nullptr;
44}
45
46///////////////////////////////////////////////////////////////////////////////
47

Callers

nothing calls this directly

Calls 2

Y_UNUSEDFunction · 0.85
GetEnvFunction · 0.50

Tested by

no test coverage detected