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

Function TestBoostStringDate

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

Source from the content-addressed store, hash-verified

144}
145
146void TestBoostStringDate(int batch_size, void* d) {
147 TestData* data = reinterpret_cast<TestData*>(d);
148 for (int i = 0; i < batch_size; ++i) {
149 int n = data->data.size();
150 for (int j = 0; j < n; ++j) {
151 data->result[j].set_date(gregorian::from_string(data->memory[j]));
152 }
153 }
154}
155
156void TestBoostDate(int batch_size, void* d) {
157 TestData* data = reinterpret_cast<TestData*>(d);

Callers

nothing calls this directly

Calls 2

set_dateMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected