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

Function EncodeValue

cpp/src/parquet/statistics_test.cc:1352–1354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1350
1351template <typename T>
1352static std::string EncodeValue(const T& val) {
1353 return std::string(reinterpret_cast<const char*>(&val), sizeof(val));
1354}
1355static std::string EncodeValue(const FLBA& val, int length = sizeof(uint16_t)) {
1356 return std::string(reinterpret_cast<const char*>(val.ptr), length);
1357}

Callers 3

AssertMinMaxAreFunction · 0.85
SetUpMethod · 0.85
CheckMinMaxZeroesSignMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected