Searched refs:GetOrDefault (Results 1 - 2 of 2) sorted by relevance
/macosx-10.10.1/WTF-7600.1.24/wtf/ |
H A D | 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. 162 V GetOrDefault(K key, V default_value) const { function in class:PackedCache
|
H A D | FastMalloc.cpp | 1861 return pagemap_cache_.GetOrDefault(p, 0);
|
Completed in 183 milliseconds