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

Method RandomIndex

cpp/src/arrow/filesystem/azurefs_test.cc:353–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351 }
352
353 static int RandomIndex(int end, RNG& rng) {
354 return std::uniform_int_distribution<int>(0, end - 1)(rng);
355 }
356
357 static std::string RandomLine(int lineno, int width, RNG& rng) {
358 auto line = std::to_string(lineno) + ": ";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected