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

Class TestCacheKey

cpp/src/gandiva/lru_cache_test.cc:28–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26namespace gandiva {
27
28class TestCacheKey {
29 public:
30 explicit TestCacheKey(int tmp) : tmp_(tmp) {}
31 std::size_t Hash() const { return tmp_; }
32 bool operator==(const TestCacheKey& other) const { return tmp_ == other.tmp_; }
33
34 private:
35 int tmp_;
36};
37
38class TestLruCache : public ::testing::Test {
39 public:

Callers 1

TEST_FFunction · 0.70

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.56