Home
last modified time | relevance | path

Searched refs:cached_offsets (Results 1 – 2 of 2) sorted by relevance

/dports/devel/brz/breezy-3.2.0/breezy/bzr/
H A Dbtree_index.py798 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:
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)
[all …]
/dports/devel/brz/breezy-3.2.0/breezy/bzr/tests/
H A Dtest_btree_index.py1386 def set_cached_offsets(self, index, cached_offsets): argument
1389 cached = set(cached_offsets)
1394 row_lengths, cached_offsets): argument
1402 self.set_cached_offsets(index, cached_offsets)
1409 cached_offsets=[0, 50])
1417 cached_offsets=[0, 5, 500])
1472 cached_offsets=[0, 1, 2, 5, 6])