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

Method Float64

cpp/src/arrow/testing/random.cc:302–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302std::shared_ptr<Array> RandomArrayGenerator::Float64(int64_t size, double min, double max,
303 double null_probability,
304 double nan_probability,
305 int64_t alignment,
306 MemoryPool* memory_pool) {
307 using OptionType =
308 GenerateOptions<double, ::arrow::random::uniform_real_distribution<double>>;
309 OptionType options(seed(), min, max, null_probability, nan_probability);
310 return GenerateNumericArray<DoubleType, OptionType>(size, options, alignment,
311 memory_pool);
312}
313
314#undef PRIMITIVE_RAND_INTEGER_IMPL
315#undef PRIMITIVE_RAND_IMPL

Callers 11

BatchesFunction · 0.45
GetFloat64ArrayMethod · 0.45
GenerateTestDataMethod · 0.45
BenchRecordBatchMethod · 0.45
GenerateMethod · 0.45
TESTFunction · 0.45
SampleDataFunction · 0.45
AllColumnsWithEncodingsFunction · 0.45

Calls 1

seedFunction · 0.85

Tested by 5

GetFloat64ArrayMethod · 0.36
GenerateTestDataMethod · 0.36
GenerateMethod · 0.36
TESTFunction · 0.36