Searched defs:HashmapEntry (Results 1 – 1 of 1) sorted by relevance
30 struct HashmapEntry { struct31 T key_;32 T value_;33 T step_;34 T tag_;36 bool IsEmpty() const { return tag_ == kNullTag; } in IsEmpty()38 bool IsUsing(const T train_step) const { return step_ >= (train_step - 1); } in IsUsing()40 bool IsKey(const T emb_idx) const { return key_ == emb_idx; } in IsKey()42 void SetEmpty() { tag_ = kNullTag; } in SetEmpty()