MCPcopy Create free account
hub / github.com/apache/fory / to_lower_ascii

Function to_lower_ascii

cpp/fory/util/string_util.h:204–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202constexpr bool is_digit_ascii(char c) { return c >= '0' && c <= '9'; }
203
204constexpr char to_lower_ascii(char c) {
205 return is_upper_ascii(c) ? static_cast<char>(c - 'A' + 'a') : c;
206}
207
208constexpr bool needs_snake_separator(std::string_view name, size_t index) {
209 if (index == 0)

Callers 1

to_snake_caseFunction · 0.85

Calls 1

is_upper_asciiFunction · 0.85

Tested by

no test coverage detected