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

Method GenerateData

cpp/src/gandiva/tests/generate_data.h:142–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140 Utf8FloatDataGenerator() {}
141
142 std::string GenerateData() {
143 return std::to_string(
144 static_cast<float>(random_.next()) /
145 static_cast<float>(RAND_MAX / 100)); // random float between 0.0 to 100.0
146 }
147
148 private:
149 Random random_;

Callers

nothing calls this directly

Calls 2

to_stringFunction · 0.85
nextMethod · 0.45

Tested by

no test coverage detected