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

Function random_ascii

cpp/src/arrow/testing/util.cc:89–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89void random_ascii(int64_t n, uint32_t seed, uint8_t* out) {
90 rand_uniform_int(n, seed, static_cast<int32_t>('A'), static_cast<int32_t>('z'), out);
91}
92
93void random_alnum(int64_t n, uint32_t seed, uint8_t* out) {
94 static const char charset[] =

Callers 1

MakeBatchArraysFunction · 0.50

Calls 1

rand_uniform_intFunction · 0.85

Tested by 1

MakeBatchArraysFunction · 0.40