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

Function TestImpalaSimpleDateFormat

be/src/benchmarks/parse-timestamp-benchmark.cc:135–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void TestImpalaSimpleDateFormat(int batch_size, void* d) {
136 TestData* data = reinterpret_cast<TestData*>(d);
137 for (int i = 0; i < batch_size; ++i) {
138 int n = data->data.size();
139 for (int j = 0; j < n; ++j) {
140 data->result[j] = TimestampValue::ParseSimpleDateFormat(data->data[j].Ptr(),
141 data->data[j].Len());
142 }
143 }
144}
145
146void TestBoostStringDate(int batch_size, void* d) {
147 TestData* data = reinterpret_cast<TestData*>(d);

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
PtrMethod · 0.45
LenMethod · 0.45

Tested by

no test coverage detected