Lines Matching refs:val
27 explicit Node(const uint64_t key, const std::string& val = std::string()) in Node()
28 : key_(key), val_(val) {} in Node()
58 explicit Node(const uint64_t key, const std::string& val = std::string()) in Node()
59 : key_(key), val_(val) {} in Node()
93 Node val; in TEST_F() local
95 assert(map_.Find(Node(k), &val, &rlock)); in TEST_F()
97 assert(val.val_ == std::string(1000, k % 255)); in TEST_F()
122 Node val; in TEST_F() local
124 bool status = map_.Find(Node(k), &val, &rlock); in TEST_F()
128 assert(val.val_ == std::string(1000, k % 255)); in TEST_F()
145 Node* val = map_.Evict(); in TEST_F() local
148 assert(val); in TEST_F()
149 assert(val->val_ == std::string(1000, val->key_ % 255)); in TEST_F()
150 delete val; in TEST_F()