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

Method BinaryWithRepeats

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

Source from the content-addressed store, hash-verified

536}
537
538std::shared_ptr<Array> RandomArrayGenerator::BinaryWithRepeats(
539 int64_t size, int64_t unique, int32_t min_length, int32_t max_length,
540 double null_probability, int64_t alignment, MemoryPool* memory_pool) {
541 auto strings = StringWithRepeats(size, unique, min_length, max_length, null_probability,
542 alignment, memory_pool);
543 std::shared_ptr<Array> out;
544 return *strings->View(binary());
545}
546
547std::shared_ptr<Array> RandomArrayGenerator::StringView(
548 int64_t size, int32_t min_length, int32_t max_length, double null_probability,

Callers 4

GenerateInputDataMethod · 0.80
TESTFunction · 0.80
CheckRoundtripMethod · 0.80
SampleDataFunction · 0.80

Calls 1

ViewMethod · 0.45

Tested by 3

GenerateInputDataMethod · 0.64
TESTFunction · 0.64
CheckRoundtripMethod · 0.64