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

Function IntegerSparseTensorDataEquals

cpp/src/arrow/compare.cc:1339–1345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1337};
1338
1339bool IntegerSparseTensorDataEquals(const uint8_t* left_data, const uint8_t* right_data,
1340 const int byte_width, const int64_t length) {
1341 if (left_data == right_data) {
1342 return true;
1343 }
1344 return memcmp(left_data, right_data, static_cast<size_t>(byte_width * length)) == 0;
1345}
1346
1347template <typename DataType>
1348bool FloatSparseTensorDataEquals(const typename DataType::c_type* left_data,

Callers 1

CompareMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected