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

Function AsciiStartsWithCaseInsensitive

cpp/src/arrow/flight/sql/test_app_cli.cc:79–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77namespace {
78
79bool AsciiStartsWithCaseInsensitive(std::string_view value, std::string_view prefix) {
80 return value.size() >= prefix.size() && arrow::internal::AsciiEqualsCaseInsensitive(
81 value.substr(0, prefix.size()), prefix);
82}
83
84} // namespace
85

Callers 1

RunMainFunction · 0.70

Calls 3

substrMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected