Searched refs:TreeSlice (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/bintrees/bintrees/
H A Dtreeslice.py4 # Purpose: TreeSlice
10 class TreeSlice(object): class in inherits:object
60 return TreeSlice(self._tree, newstart(), newstop())
H A Dtreemixin.py12 from .treeslice import TreeSlice namespace
77 * T[s:e] -> TreeSlice object, with keys in range s <= key < e, O(n)
80 if 's' is None or T[:e] TreeSlice/iterator starts with value of min_key()
81 if 'e' is None or T[s:] TreeSlice/iterator ends with value of max_key()
82 T[:] is a TreeSlice which represents the whole tree.
84 TreeSlice is a tree wrapper with range check, and contains no references
86 in the TreeSlice.
88 * TreeSlice[k] -> get value for key k, raises KeyError if k not exists in range s:e
89 * TreeSlice[s1:e1] -> TreeSlice objec
[all...]

Completed in 49 milliseconds