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

Function AsciiToLower

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

Source from the content-addressed store, hash-verified

179}
180
181std::string AsciiToLower(std::string_view value) {
182 // TODO: ASCII validation
183 std::string result = std::string(value);
184 std::transform(result.begin(), result.end(), result.begin(),
185 [](unsigned char c) { return std::tolower(c); });
186 return result;
187}
188
189std::string AsciiToUpper(std::string_view value) {
190 // TODO: ASCII validation

Callers 5

TESTFunction · 0.85
HashMethod · 0.85
RegisterMethod · 0.85
MakeMethod · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by 1

TESTFunction · 0.68