Lines Matching refs:Key

34 template <class Key, class Value, class Hasher = base::hash<Key>>
37 using key_type = Key;
39 using value_type = std::pair<Key, Value>;
50 struct KeyValue : std::pair<Key, Value> {
51 const Key& key() const { return this->first; }
53 using std::pair<Key, Value>::pair;
69 const Value& Get(const Key& key) const {
76 void Set(Key key, Value value);
81 for (std::tuple<Key, Value, Value> triple : Zip(other)) {
134 const Value& GetFocusedValue(const FocusedTree* tree, const Key& key) const;
172 template <class Key, class Value, class Hasher>
173 struct PersistentMap<Key, Value, Hasher>::FocusedTree {
180 const ZoneMap<Key, Value>* more;
181 using more_iterator = typename ZoneMap<Key, Value>::const_iterator;
200 template <class Key, class Value, class Hasher>
201 class PersistentMap<Key, Value, Hasher>::HashValue {
224 template <class Key, class Value, class Hasher>
225 class PersistentMap<Key, Value, Hasher>::iterator {
318 template <class Key, class Value, class Hasher>
319 class PersistentMap<Key, Value, Hasher>::double_iterator {
321 std::tuple<Key, Value, Value> operator*() {
377 template <class Key, class Value, class Hasher>
378 void PersistentMap<Key, Value, Hasher>::Set(Key key, Value value) {
383 ZoneMap<Key, Value>* more = nullptr;
386 more = zone_->New<ZoneMap<Key, Value>>(zone_);
410 template <class Key, class Value, class Hasher>
411 const typename PersistentMap<Key, Value, Hasher>::FocusedTree*
412 PersistentMap<Key, Value, Hasher>::FindHash(HashValue hash) const {
425 template <class Key, class Value, class Hasher>
426 const typename PersistentMap<Key, Value, Hasher>::FocusedTree*
427 PersistentMap<Key, Value, Hasher>::FindHash(
452 template <class Key, class Value, class Hasher>
453 const Value& PersistentMap<Key, Value, Hasher>::GetFocusedValue(
454 const FocusedTree* tree, const Key& key) const {
473 template <class Key, class Value, class Hasher>
474 const typename PersistentMap<Key, Value, Hasher>::FocusedTree*
475 PersistentMap<Key, Value, Hasher>::GetChild(const FocusedTree* tree, int level,
486 template <class Key, class Value, class Hasher>
487 const typename PersistentMap<Key, Value, Hasher>::FocusedTree*
488 PersistentMap<Key, Value, Hasher>::FindLeftmost(
509 template <class Key, class Value, class Hasher>
511 const PersistentMap<Key, Value, Hasher>& map) {