Searched refs:py_class_cache_ (Results 1 – 2 of 2) sorted by relevance
220 for (const auto& pair : py_class_cache_) { in ~PyInstanceChecker()228 auto it = py_class_cache_.find(type); in Check()229 if (it != py_class_cache_.end()) { in Check()249 if (py_class_cache_.size() < kMaxItemsInCache) { in Check()251 auto insert_result = py_class_cache_.insert({type, result}); in Check()
216 size_t cache_size() const { return py_class_cache_.size(); } in cache_size()225 absl::flat_hash_map<PyTypeObject*, MatchType> py_class_cache_; variable