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

Function StartsWith

library/cpp/testing/gtest/main.cpp:17–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16namespace {
17 bool StartsWith(const char* str, const char* pre) {
18 return strncmp(pre, str, strlen(pre)) == 0;
19 }
20
21 void Unsupported(const char* flag) {
22 std::cerr << "This GTest wrapper does not support flag " << flag << std::endl;

Callers 2

ParseFlagsMethod · 0.70
StartsWithMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected