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

Method Date64

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

Source from the content-addressed store, hash-verified

268PRIMITIVE_RAND_INTEGER_IMPL(Int64, int64_t, Int64Type)
269
270std::shared_ptr<Array> RandomArrayGenerator::Date64(int64_t size, int64_t min,
271 int64_t max, double null_probability,
272 int64_t alignment,
273 MemoryPool* memory_pool) {
274 using OptionType = GenerateOptions<int64_t, std::uniform_int_distribution<int64_t>>;
275 OptionType options(seed(), min, max, null_probability);
276 return GenerateNumericArray<Date64Type, OptionType>(size, options, alignment,
277 memory_pool);
278}
279
280std::shared_ptr<Array> RandomArrayGenerator::Float16(int64_t size, uint16_t min,
281 uint16_t max,

Callers 1

ARROW_ASSIGN_OR_RAISEFunction · 0.45

Calls 1

seedFunction · 0.85

Tested by

no test coverage detected