Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antmachineintelligence/mtgbmcode
/ SkipNewLine
Function
SkipNewLine
include/LightGBM/utils/common.h:898–906 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
896
}
897
898
inline static const char* SkipNewLine(const char* str) {
899
if (*str ==
'\r'
) {
900
++str;
901
}
902
if (*str ==
'\n'
) {
903
++str;
904
}
905
return str;
906
}
907
908
template <typename T>
909
static int Sign(T x) {
Callers
1
LoadModelFromString
Method · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected