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

Function EncodeValue

cpp/src/parquet/statistics_test.cc:1285–1287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1283
1284template <typename T>
1285static std::string EncodeValue(const T& val) {
1286 return std::string(reinterpret_cast<const char*>(&val), sizeof(val));
1287}
1288static std::string EncodeValue(const FLBA& val, int length = sizeof(uint16_t)) {
1289 return std::string(reinterpret_cast<const char*>(val.ptr), length);
1290}

Callers 3

AssertMinMaxAreFunction · 0.85
SetUpMethod · 0.85
CheckMinMaxZeroesSignMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected