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

Method BinaryWithRepeats

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

Source from the content-addressed store, hash-verified

527}
528
529std::shared_ptr<Array> RandomArrayGenerator::BinaryWithRepeats(
530 int64_t size, int64_t unique, int32_t min_length, int32_t max_length,
531 double null_probability, int64_t alignment, MemoryPool* memory_pool) {
532 auto strings = StringWithRepeats(size, unique, min_length, max_length, null_probability,
533 alignment, memory_pool);
534 std::shared_ptr<Array> out;
535 return *strings->View(binary());
536}
537
538std::shared_ptr<Array> RandomArrayGenerator::StringView(
539 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