MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / string_starts_with

Function string_starts_with

subprojects/llama.cpp/common/common.h:689–692  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

687}
688
689static bool string_starts_with(const std::string & str,
690 const std::string & prefix) { // While we wait for C++20's std::string::starts_with...
691 return str.rfind(prefix, 0) == 0;
692}
693
694// While we wait for C++20's std::string::ends_with...
695bool string_ends_with(const std::string_view & str, const std::string_view & suffix);

Callers 10

parse_xml_tool_callsFunction · 0.70
string_diffFunction · 0.70
applyFunction · 0.70
merge_tensorMethod · 0.50
mainFunction · 0.50
get_backendMethod · 0.50
handle_mediaFunction · 0.50
test_json_healingFunction · 0.50

Calls

no outgoing calls

Tested by 1

test_json_healingFunction · 0.40