MCPcopy Create free account
hub / github.com/apache/arrow / MakeFloats

Function MakeFloats

cpp/src/arrow/util/value_parsing_benchmark.cc:121–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119
120template <typename c_float>
121static std::vector<c_float> MakeFloats(int32_t num_items) {
122 std::vector<c_float> out;
123 random_real<double, c_float>(num_items, /*seed =*/42, -1e10, 1e10, &out);
124 return out;
125}
126
127template <typename ARROW_TYPE, typename C_TYPE = typename ARROW_TYPE::c_type>
128static void IntegerParsing(benchmark::State& state) { // NOLINT non-const reference

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected