Lines Matching refs:cached_offsets
798 cached_offsets = self._get_offsets_to_cached_pages()
801 if total_pages - len(cached_offsets) <= self._recommended_pages:
803 if cached_offsets:
805 if x not in cached_offsets]
822 if len(cached_offsets) < tree_depth and len(offsets) == 1:
831 final_offsets = self._expand_to_neighbors(offsets, cached_offsets,
839 def _expand_to_neighbors(self, offsets, cached_offsets, total_pages): argument
863 previous not in cached_offsets and
869 after not in cached_offsets and
926 cached_offsets = set(self._internal_node_cache)
928 cached_offsets.update(self._leaf_node_cache.keys())
930 cached_offsets.add(0)
931 return cached_offsets