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

Function gdv_fn_rand_integer

cpp/src/gandiva/gdv_function_stubs.cc:77–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77int32_t gdv_fn_rand_integer(int64_t ptr) {
78 gandiva::RandomIntegerGeneratorHolder* holder =
79 reinterpret_cast<gandiva::RandomIntegerGeneratorHolder*>(ptr);
80 return (*holder)();
81}
82
83int32_t gdv_fn_rand_integer_with_range(int64_t ptr, int32_t /*range*/,
84 bool /*range_validity*/) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected