MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / string_endswith

Function string_endswith

common/jinja/value.cpp:588–591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

586}
587
588static bool string_endswith(const std::string & str, const std::string & suffix) {
589 if (str.length() < suffix.length()) return false;
590 return str.compare(str.length() - suffix.length(), suffix.length(), suffix) == 0;
591}
592
593[[noreturn]] static value string_join_not_implemented(const func_args &) {
594 throw not_implemented_exception("String join builtin not implemented");

Callers 1

value.cppFile · 0.85

Calls 1

lengthMethod · 0.80

Tested by

no test coverage detected