MCPcopy Create free account
hub / github.com/apache/orc / generateData

Function generateData

c++/test/TestByteRLEEncoder.cc:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 }
43
44 void generateData(uint64_t numValues, char* data, uint64_t numNulls = 0,
45 char* notNull = nullptr) {
46 generateNotNull(numValues, numNulls, notNull);
47 for (uint64_t i = 0; i < numValues; ++i) {
48 data[i] = static_cast<char>(std::rand() % 256);
49 }
50 }
51
52 void generateBoolData(uint64_t numValues, char* data, uint64_t numNulls = 0,
53 char* notNull = nullptr) {

Callers 1

TESTFunction · 0.70

Calls 1

generateNotNullFunction · 0.85

Tested by

no test coverage detected