MCPcopy Create free account
hub / github.com/ARM-software/armnn / Initialize

Function Initialize

profiling/common/src/NetworkSockets.cpp:24–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22{
23
24bool Initialize()
25{
26#if defined(__unix__) || defined(__APPLE__)
27 return true;
28#elif defined(_MSC_VER) || defined(__MINGW32__)
29 WSADATA wsaData;
30 return WSAStartup(MAKEWORD(2, 2), &wsaData) == 0;
31#endif
32}
33
34int Close(Socket s)
35{

Callers 6

UpdateMethod · 0.85
BufferManagerMethod · 0.85
ResetMethod · 0.85
ConnectionHandlerMethod · 0.85
BackendSettingsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected