MCPcopy Create free account
hub / github.com/apache/impala / StrValFromCString

Function StrValFromCString

be/src/runtime/string-search-test.cc:24–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22namespace impala {
23
24StringValue StrValFromCString(const char* str, int len) {
25 if (len == -1) len = strlen(str);
26 return StringValue(const_cast<char*>(str), len);
27}
28
29// Test string search for haystack/needle, up to len for each.
30// If the length is -1, use the full string length.

Callers 2

TestSearchFunction · 0.85
TestRSearchFunction · 0.85

Calls 1

StringValueClass · 0.70

Tested by

no test coverage detected