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

Method Offsets

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

Source from the content-addressed store, hash-verified

908} // namespace
909
910std::shared_ptr<Array> RandomArrayGenerator::Offsets(
911 int64_t size, int32_t first_offset, int32_t last_offset, double null_probability,
912 bool force_empty_nulls, int64_t alignment, MemoryPool* memory_pool) {
913 return GenerateOffsets<NumericArray<Int32Type>>(seed(), size, first_offset, last_offset,
914 null_probability, force_empty_nulls,
915 alignment, memory_pool);
916}
917
918std::shared_ptr<Array> RandomArrayGenerator::LargeOffsets(
919 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