MCPcopy Create free account
hub / github.com/apache/arrow / AsciiToUpper

Function AsciiToUpper

cpp/src/arrow/util/string.cc:189–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189std::string AsciiToUpper(std::string_view value) {
190 // TODO: ASCII validation
191 std::string result = std::string(value);
192 std::transform(result.begin(), result.end(), result.begin(),
193 [](unsigned char c) { return std::toupper(c); });
194 return result;
195}
196
197std::optional<std::string> Replace(std::string_view s, std::string_view token,
198 std::string_view replacement) {

Callers 2

DebugPrintMethod · 0.85
JSONPrintMethod · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected