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

Method GeneratorFactory

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

Source from the content-addressed store, hash-verified

64template <typename ValueType, typename DistributionType>
65struct GeneratorFactory {
66 GeneratorFactory(ValueType min, ValueType max) : min_(min), max_(max) {}
67
68 auto operator()(pcg32* rng) const {
69 return [dist = DistributionType(min_, max_), rng]() mutable {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected