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

Method Offsets

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

Source from the content-addressed store, hash-verified

917} // namespace
918
919std::shared_ptr<Array> RandomArrayGenerator::Offsets(
920 int64_t size, int32_t first_offset, int32_t last_offset, double null_probability,
921 bool force_empty_nulls, int64_t alignment, MemoryPool* memory_pool) {
922 return GenerateOffsets<NumericArray<Int32Type>>(seed(), size, first_offset, last_offset,
923 null_probability, force_empty_nulls,
924 alignment, memory_pool);
925}
926
927std::shared_ptr<Array> RandomArrayGenerator::LargeOffsets(
928 int64_t size, int64_t first_offset, int64_t last_offset, double null_probability,

Callers 1

Calls 1

seedFunction · 0.85

Tested by

no test coverage detected