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

Function FromStdString

be/src/runtime/string-value-test.cc:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26namespace impala {
27
28StringValue FromStdString(const string& str) {
29 char* ptr = const_cast<char*>(str.c_str());
30 int len = str.size();
31 return StringValue(ptr, len);
32}
33
34void TestCompareImpl(StringValue* svs, int NUM_STRINGS) {
35 for (int i = 0; i < NUM_STRINGS; ++i) {

Callers 1

TEST_FFunction · 0.85

Calls 2

StringValueClass · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected