MCPcopy Create free account
hub / github.com/acl-dev/acl / end_with

Method end_with

lib_acl_cpp/src/stdlib/string.cpp:1096–1099  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1094}
1095
1096bool string::end_with(const char* s, bool case_sensitive /* = true */) const
1097{
1098 return rncompare(s, strlen(s), case_sensitive) == 0;
1099}
1100
1101bool string::end_with(const char* s, size_t len, bool case_sensitive /* = true */) const
1102{

Callers 6

mainFunction · 0.80
mainFunction · 0.80
on_acceptMethod · 0.80
TransformPathMethod · 0.80
ScanAddMethod · 0.80
ScanDelMethod · 0.80

Calls 3

memcpyFunction · 0.85
c_strMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected