/dports/devel/pecl-swoole/swoole-4.8.5/include/ |
H A D | swoole_lru_cache.h | 34 std::unordered_map<std::string, cache_list_t::iterator> cache_map; variable 44 auto iter = cache_map.find(key); in get() 45 if (iter == cache_map.end()) { in get() 66 auto iter = cache_map.find(key); 67 if (iter != cache_map.end()) { 77 cache_map.erase(del.first); 82 cache_map[key] = cache_list.begin(); 86 auto iter = cache_map.find(key); in del() 87 if (iter == cache_map.end()) { in del() 92 cache_map.erase(iter); in del() [all …]
|
/dports/devel/redasm/REDasm-2.1.1/LibREDasm/redasm/support/containers/ |
H A D | cache_map.hpp | 13 template<typename Key, typename Value> std::unordered_set<std::string> cache_map<Key, Value>::m_act… 15 template<typename Key, typename Value> cache_map<Key, Value>::cache_map(): m_filepath(generateFileP… in cache_map() function in REDasm::cache_map 24 template<typename Key, typename Value> cache_map<Key, Value>::~cache_map() in ~cache_map() 35 template<typename Key, typename Value> u64 cache_map<Key, Value>::size() const { return m_offsets.s… in size() 37 template<typename Key, typename Value> void cache_map<Key, Value>::commit(const Key& key, const Val… in commit() 45 template<typename Key, typename Value> void cache_map<Key, Value>::erase(const cache_map<Key, Value… in erase() 55 template<typename Key, typename Value> Value cache_map<Key, Value>::value(const Key &key) in value() 72 template<typename Key, typename Value> Value cache_map<Key, Value>::operator[](const Key& key) { re… in operator []() 74 template<typename Key, typename Value> std::string cache_map<Key, Value>::generateFilePath() in generateFilePath()
|
H A D | cache_map.h | 11 template<typename Key, typename Value> class cache_map // Use STL's coding style for this type 14 typedef cache_map<Key, Value> type; 43 cache_map(); 44 virtual ~cache_map();
|
/dports/devel/py-graphql-core2/graphql-core-2.2.1/graphql/backend/ |
H A D | cache.py | 49 cache_map=None, # type: Optional[Dict[Hashable, GraphQLDocument]] argument 56 if cache_map is None: 57 cache_map = {} 59 self.cache_map = cache_map 75 if key not in self.cache_map: 76 self.cache_map[key] = self.backend.document_from_string( 80 return self.cache_map[key]
|
H A D | decider.py | 166 cache_map=None, # type: Optional[Dict[Hashable, GraphQLDocument]] argument 186 backend, cache_map=cache_map, use_consistent_hash=use_consistent_hash 191 self.cache_map[key] = self.backend.document_from_string(schema, request_string) 203 if key not in self.cache_map: 205 self.cache_map[key] = self.fallback_backend.document_from_string( 211 return self.cache_map[key]
|
/dports/net/nsscache/nsscache-version-0.44/nss_cache/caches/ |
H A D | caches_test.py | 83 cache_map = caches.Cache({}, config.MAP_PASSWORD, None) 84 self.mox.StubOutWithMock(cache_map, '_Commit') 85 self.mox.StubOutWithMock(cache_map, 'Write') 86 self.mox.StubOutWithMock(cache_map, 'Verify') 87 cache_map._Commit() 88 cache_map.Write('writable_map').AndReturn('entries_written') 89 cache_map.Verify('entries_written').AndReturn(True) 92 self.assertEqual(0, cache_map.WriteMap('writable_map'))
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/ |
H A D | image_decoding_store.cc | 241 U* cache_map, in InsertCacheInternal() argument 255 cache_map->insert(key, std::move(cache_entry)); in InsertCacheInternal() 267 U* cache_map, in RemoveFromCacheInternal() argument 285 deletion_list->push_back(cache_map->Take(cache_entry->CacheKey())); in RemoveFromCacheInternal() 308 U* cache_map, in RemoveCacheIndexedByGeneratorInternal() argument 323 DCHECK(cache_map->Contains(cache_identifier_list[i])); in RemoveCacheIndexedByGeneratorInternal() 324 const auto& cache_entry = cache_map->at(cache_identifier_list[i]); in RemoveCacheIndexedByGeneratorInternal() 326 RemoveFromCacheInternal(cache_entry, cache_map, identifier_map, in RemoveCacheIndexedByGeneratorInternal()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/graphics/ |
H A D | image_decoding_store.cc | 242 U* cache_map, in InsertCacheInternal() argument 256 cache_map->insert(key, std::move(cache_entry)); in InsertCacheInternal() 268 U* cache_map, in RemoveFromCacheInternal() argument 286 deletion_list->push_back(cache_map->Take(cache_entry->CacheKey())); in RemoveFromCacheInternal() 309 U* cache_map, in RemoveCacheIndexedByGeneratorInternal() argument 324 DCHECK(cache_map->Contains(cache_identifier_list[i])); in RemoveCacheIndexedByGeneratorInternal() 325 const auto& cache_entry = cache_map->at(cache_identifier_list[i]); in RemoveCacheIndexedByGeneratorInternal() 327 RemoveFromCacheInternal(cache_entry, cache_map, identifier_map, in RemoveCacheIndexedByGeneratorInternal()
|
/dports/security/tor-devel/tor-0.4.7.2-alpha/src/feature/relay/ |
H A D | dns.c | 123 static HT_HEAD(cache_map, cached_resolve_t) cache_root; 158 HT_INIT(cache_map, &cache_root); in init_cache_map() 389 next = HT_NEXT_RMV(cache_map, &cache_root, ptr); in dns_free_all() 392 HT_CLEAR(cache_map, &cache_root); in dns_free_all() 818 HT_INSERT(cache_map, &cache_root, resolve); 958 HT_FOREACH(resolve, cache_map, &cache_root) { in assert_connection_edge_not_dns_pending() 1082 tmp = HT_REMOVE(cache_map, &cache_root, resolve); 1281 HT_INSERT(cache_map, &cache_root, new_resolve); in make_pending_resolve_cached() 2195 HT_FOREACH(resolve, cache_map, &cache_root) { in assert_cache_ok_() 2223 return HT_FIND(cache_map, &cache_root, query); in dns_get_cache_entry() [all …]
|
/dports/security/tor/tor-0.4.6.8/src/feature/relay/ |
H A D | dns.c | 123 static HT_HEAD(cache_map, cached_resolve_t) cache_root; 158 HT_INIT(cache_map, &cache_root); in init_cache_map() 389 next = HT_NEXT_RMV(cache_map, &cache_root, ptr); in dns_free_all() 392 HT_CLEAR(cache_map, &cache_root); in dns_free_all() 818 HT_INSERT(cache_map, &cache_root, resolve); 958 HT_FOREACH(resolve, cache_map, &cache_root) { in assert_connection_edge_not_dns_pending() 1082 tmp = HT_REMOVE(cache_map, &cache_root, resolve); 1281 HT_INSERT(cache_map, &cache_root, new_resolve); in make_pending_resolve_cached() 2182 HT_FOREACH(resolve, cache_map, &cache_root) { in assert_cache_ok_() 2210 return HT_FIND(cache_map, &cache_root, query); in dns_get_cache_entry() [all …]
|
/dports/x11/plank/plank-0.11.89/lib/Drawing/ |
H A D | SurfaceCache.vala | 122 Gee.HashMap<SurfaceInfo, Surface> cache_map; 136 …cache_map = new Gee.HashMap<SurfaceInfo, Surface> ((Gee.HashDataFunc<SurfaceInfo>) SurfaceInfo.has… 153 cache_map.clear (); 177 surface = cache_map.get (current_info); 204 cache_map.set (current_info, surface); 293 cache_map.clear (); 303 if (cache_map.size <= 1) { 309 var size_before = cache_map.size; 312 var cache_it = cache_map.map_iterator (); 332 Logger.verbose ("SurfaceCache.clean_up (%i -> %i) ", size_before, cache_map.size);
|
/dports/games/wesnoth/wesnoth-1.14.17/src/ |
H A D | minimap.cpp | 71 typedef mini_terrain_cache_map cache_map; in getMinimap() typedef 72 cache_map *normal_cache = &mini_terrain_cache; in getMinimap() 73 cache_map *fog_cache = &mini_fogged_terrain_cache; in getMinimap() 74 cache_map *highlight_cache = &mini_highlighted_terrain_cache; in getMinimap() 113 cache_map* cache = fogged ? fog_cache : normal_cache; in getMinimap() 116 cache_map::iterator i = cache->find(terrain); in getMinimap()
|
/dports/net/nsscache/nsscache-version-0.44/nss_cache/update/ |
H A D | map_updater.py | 104 cache_map = cache.GetMap() 106 if len(cache_map) == 0: 109 if cache_map.Merge(new_map): 110 return_val += cache.WriteMap(map_data=cache_map)
|
/dports/games/frogatto/frogatto-1.3.1/src/ |
H A D | gui_section.cpp | 11 typedef std::map<std::string, const_gui_section_ptr> cache_map; typedef 12 cache_map cache; 36 cache_map::const_iterator itor = cache.find(key); in get()
|
H A D | framed_gui_element.cpp | 10 typedef std::map<std::string, const_framed_gui_element_ptr> cache_map; typedef 11 cache_map cache; 24 cache_map::const_iterator itor = cache.find(key); in get()
|
/dports/devel/hyperscan/boost_1_75_0/boost/compute/detail/ |
H A D | parameter_cache.hpp | 87 typedef std::map<std::string, boost::shared_ptr<parameter_cache> > cache_map; in get_global_cache() typedef 89 BOOST_COMPUTE_DETAIL_GLOBAL_STATIC(cache_map, caches, ((std::less<std::string>()))); in get_global_cache() 91 cache_map::iterator iter = caches.find(device.name()); in get_global_cache()
|
/dports/science/py-scipy/scipy-1.7.1/scipy/_lib/boost/boost/compute/detail/ |
H A D | parameter_cache.hpp | 87 typedef std::map<std::string, boost::shared_ptr<parameter_cache> > cache_map; in get_global_cache() typedef 89 BOOST_COMPUTE_DETAIL_GLOBAL_STATIC(cache_map, caches, ((std::less<std::string>()))); in get_global_cache() 91 cache_map::iterator iter = caches.find(device.name()); in get_global_cache()
|
/dports/devel/R-cran-BH/BH/inst/include/boost/compute/detail/ |
H A D | parameter_cache.hpp | 87 typedef std::map<std::string, boost::shared_ptr<parameter_cache> > cache_map; in get_global_cache() typedef 89 BOOST_COMPUTE_DETAIL_GLOBAL_STATIC(cache_map, caches, ((std::less<std::string>()))); in get_global_cache() 91 cache_map::iterator iter = caches.find(device.name()); in get_global_cache()
|
/dports/math/stanmath/math-4.2.0/lib/boost_1.75.0/boost/compute/detail/ |
H A D | parameter_cache.hpp | 87 typedef std::map<std::string, boost::shared_ptr<parameter_cache> > cache_map; in get_global_cache() typedef 89 BOOST_COMPUTE_DETAIL_GLOBAL_STATIC(cache_map, caches, ((std::less<std::string>()))); in get_global_cache() 91 cache_map::iterator iter = caches.find(device.name()); in get_global_cache()
|
/dports/security/keybase/client-v5.7.1/shared/ios/Pods/boost-for-react-native/boost/compute/detail/ |
H A D | parameter_cache.hpp | 86 typedef std::map<std::string, boost::shared_ptr<parameter_cache> > cache_map; in get_global_cache() typedef 88 BOOST_COMPUTE_DETAIL_GLOBAL_STATIC(cache_map, caches, ((std::less<std::string>()))); in get_global_cache() 90 cache_map::iterator iter = caches.find(device.name()); in get_global_cache()
|
/dports/devel/boost-libs/boost_1_72_0/boost/compute/detail/ |
H A D | parameter_cache.hpp | 87 typedef std::map<std::string, boost::shared_ptr<parameter_cache> > cache_map; in get_global_cache() typedef 89 BOOST_COMPUTE_DETAIL_GLOBAL_STATIC(cache_map, caches, ((std::less<std::string>()))); in get_global_cache() 91 cache_map::iterator iter = caches.find(device.name()); in get_global_cache()
|
/dports/devel/boost-python-libs/boost_1_72_0/boost/compute/detail/ |
H A D | parameter_cache.hpp | 87 typedef std::map<std::string, boost::shared_ptr<parameter_cache> > cache_map; in get_global_cache() typedef 89 BOOST_COMPUTE_DETAIL_GLOBAL_STATIC(cache_map, caches, ((std::less<std::string>()))); in get_global_cache() 91 cache_map::iterator iter = caches.find(device.name()); in get_global_cache()
|
/dports/math/py-pystan/pystan-2.19.0.0/pystan/stan/lib/stan_math/lib/boost_1.69.0/boost/compute/detail/ |
H A D | parameter_cache.hpp | 87 typedef std::map<std::string, boost::shared_ptr<parameter_cache> > cache_map; in get_global_cache() typedef 89 BOOST_COMPUTE_DETAIL_GLOBAL_STATIC(cache_map, caches, ((std::less<std::string>()))); in get_global_cache() 91 cache_map::iterator iter = caches.find(device.name()); in get_global_cache()
|
/dports/devel/boost-docs/boost_1_72_0/boost/compute/detail/ |
H A D | parameter_cache.hpp | 87 typedef std::map<std::string, boost::shared_ptr<parameter_cache> > cache_map; in get_global_cache() typedef 89 BOOST_COMPUTE_DETAIL_GLOBAL_STATIC(cache_map, caches, ((std::less<std::string>()))); in get_global_cache() 91 cache_map::iterator iter = caches.find(device.name()); in get_global_cache()
|
/dports/devel/hyperscan/boost_1_75_0/boost/compute/utility/ |
H A D | program_cache.hpp | 151 typedef detail::lru_cache<cl_context, boost::shared_ptr<program_cache> > cache_map; in get_global_cache() typedef 153 BOOST_COMPUTE_DETAIL_GLOBAL_STATIC(cache_map, caches, (8)); in get_global_cache()
|