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

Function Strip

util/system/error.cpp:69–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67
68#ifdef _win_
69static char* Strip(char* s) {
70 size_t len = strlen(s);
71 const char* ptr = s;
72 Strip(ptr, len);
73 if (ptr != s) {
74 memmove(s, ptr, len);
75 }
76 s[len] = 0;
77 return s;
78}
79#endif // _win_
80
81void LastSystemErrorText(char* str, size_t size, int code) {

Callers 1

LastSystemErrorTextFunction · 0.70

Calls 1

memmoveFunction · 0.85

Tested by

no test coverage detected