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

Method Float64

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

Source from the content-addressed store, hash-verified

309}
310
311std::shared_ptr<Array> RandomArrayGenerator::Float64(int64_t size, double min, double max,
312 double null_probability,
313 double nan_probability,
314 int64_t alignment,
315 MemoryPool* memory_pool) {
316 using OptionType =
317 GenerateOptions<double, ::arrow::random::uniform_real_distribution<double>>;
318 OptionType options(seed(), min, max, null_probability, nan_probability);
319 return GenerateNumericArray<DoubleType, OptionType>(size, options, alignment,
320 memory_pool);
321}
322
323#undef PRIMITIVE_RAND_INTEGER_IMPL
324#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