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

Method Equals

cpp/src/arrow/buffer_test.cc:67–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 }
66
67 bool Equals(const Device& other) const override {
68 if (other.type_name() != kMyDeviceTypeName) {
69 return false;
70 }
71 return checked_cast<const MyDevice&>(other).value_ == value_;
72 }
73
74 DeviceAllocationType device_type() const override { return kMyDeviceType; }
75

Callers 1

TESTFunction · 0.45

Calls 1

type_nameMethod · 0.45

Tested by

no test coverage detected