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

Method RandomIndex

cpp/src/arrow/filesystem/gcsfs_test.cc:205–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203 }
204
205 std::size_t RandomIndex(std::size_t end) {
206 return std::uniform_int_distribution<std::size_t>(0, end - 1)(generator_);
207 }
208
209 std::string RandomBucketName() { return RandomChars(32); }
210

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected