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

Function random_seed

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

Source from the content-addressed store, hash-verified

53using random::pcg32_fast;
54
55uint64_t random_seed() {
56 return std::chrono::high_resolution_clock::now().time_since_epoch().count();
57}
58
59void random_null_bytes(int64_t n, double pct_null, uint8_t* null_bytes) {
60 const int random_seed = 0;

Callers 1

InitValues<bool>Function · 0.50

Calls 1

countMethod · 0.45

Tested by 1

InitValues<bool>Function · 0.40