HomeSort by relevance Sort by last modified time
    Searched refs:GetOrDefault (Results 1 - 8 of 8) sorted by null

  /external/chromium_org/third_party/tcmalloc/chromium/src/tests/
packed-cache_test.cc 42 CHECK_EQ(cache.GetOrDefault(0, 1), 0);
45 CHECK_EQ(cache.GetOrDefault(0, 1), 17);
48 CHECK_EQ(cache.GetOrDefault(0, 1), 17);
49 CHECK_EQ(cache.GetOrDefault(19, 1), 99);
53 CHECK_EQ(cache.GetOrDefault(0, 1), 1);
54 CHECK_EQ(cache.GetOrDefault(1 << kHashbits, 1), 22);
  /external/chromium_org/third_party/tcmalloc/vendor/src/tests/
packed-cache_test.cc 42 CHECK_EQ(cache.GetOrDefault(0, 1), 0);
45 CHECK_EQ(cache.GetOrDefault(0, 1), 17);
48 CHECK_EQ(cache.GetOrDefault(0, 1), 17);
49 CHECK_EQ(cache.GetOrDefault(19, 1), 99);
53 CHECK_EQ(cache.GetOrDefault(0, 1), 1);
54 CHECK_EQ(cache.GetOrDefault(1 << kHashbits, 1), 22);
  /external/chromium_org/third_party/WebKit/Source/wtf/
TCPackedCache.h 74 // V GetOrDefault(K key, V default) { const pair<K, V> &p = a_[H(key)]; ... }
82 // (c.Put(key, value), c.GetOrDefault(key, 0)) == value
84 // (c.Put(key, value), <...>, c.GetOrDefault(key, 0)) == value
98 // doesn't change GetOrDefault(key', ...) either.
157 V GetOrDefault(K key, V default_value) const {
FastMalloc.cpp     [all...]
  /external/chromium_org/third_party/tcmalloc/chromium/src/
packed-cache-inl.h 74 // V GetOrDefault(K key, V default) { const pair<K, V> &p = a_[H(key)]; ... }
82 // (c.Put(key, value), c.GetOrDefault(key, 0)) == value
84 // (c.Put(key, value), <...>, c.GetOrDefault(key, 0)) == value
98 // doesn't change GetOrDefault(key', ...) either.
169 V GetOrDefault(K key, V default_value) const {
page_heap.h 198 return pagemap_cache_.GetOrDefault(p, 0);
  /external/chromium_org/third_party/tcmalloc/vendor/src/
packed-cache-inl.h 74 // V GetOrDefault(K key, V default) { const pair<K, V> &p = a_[H(key)]; ... }
82 // (c.Put(key, value), c.GetOrDefault(key, 0)) == value
84 // (c.Put(key, value), <...>, c.GetOrDefault(key, 0)) == value
98 // doesn't change GetOrDefault(key', ...) either.
167 V GetOrDefault(K key, V default_value) const {
page_heap.h 188 return pagemap_cache_.GetOrDefault(p, 0);

Completed in 1492 milliseconds