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

Function to_lower_copy

tools/server/server-models.cpp:1106–1110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1104};
1105
1106static std::string to_lower_copy(const std::string & value) {
1107 std::string lowered(value.size(), '\0');
1108 std::transform(value.begin(), value.end(), lowered.begin(), [](unsigned char c) { return std::tolower(c); });
1109 return lowered;
1110}
1111
1112static bool should_strip_proxy_header(const std::string & header_name) {
1113 // Headers that get duplicated when router forwards child responses

Callers 1

server_http_proxyMethod · 0.85

Calls 3

endMethod · 0.80
sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected