Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for push_front (0.19 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

        }
      }
    
      // Insert a new empty block, setting the bookkeeping to sentinel values
      // in order to update them as appropriate.
      auto new_entry = std::make_shared<Block>();
      lru_list_.push_front(key);
      lra_list_.push_front(key);
      new_entry->lru_iterator = lru_list_.begin();
      new_entry->lra_iterator = lra_list_.begin();
      new_entry->timestamp = timer_seconds_();
      block_map_.emplace(std::make_pair(key, new_entry));
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

          cache_.erase(it);
          return false;
        }
        *value = it->second.value;
        lru_list_.push_front(it->first);
        it->second.lru_iterator = lru_list_.begin();
        return true;
      }
    
      void InsertLocked(const std::string& key, const T& value)
          ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_) {
        lru_list_.push_front(key);
        Entry entry{timer_seconds_(), value, lru_list_.begin()};
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg container/list, method (*List) MoveToFront(*Element)
    pkg container/list, method (*List) PushBack(interface{}) *Element
    pkg container/list, method (*List) PushBackList(*List)
    pkg container/list, method (*List) PushFront(interface{}) *Element
    pkg container/list, method (*List) PushFrontList(*List)
    pkg container/list, method (*List) Remove(*Element) interface{}
    pkg container/list, type Element struct
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top