MCPcopy 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
898inline 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
908template <typename T>
909static int Sign(T x) {

Callers 1

LoadModelFromStringMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected