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

Method TestToYear

be/src/benchmarks/date-benchmark.cc:137–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135 }
136
137 void TestToYear(int batch_size) {
138 DCHECK(date_.size() == to_year_result_.size());
139 for (int i = 0; i < batch_size; ++i) {
140 int n = date_.size();
141 for (int j = 0; j < n; ++j) {
142 ignore_result(date_[j].ToYear(&to_year_result_[j]));
143 }
144 }
145 }
146
147 void TestToString(int batch_size) {
148 for (int i = 0; i < batch_size; ++i) {

Callers 1

TestToYearFunction · 0.80

Calls 3

ignore_resultFunction · 0.85
ToYearMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected