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

/external/clang/lib/Rewrite/Core/
H A DDeltaTree.cpp63 /// WidthFactor - This controls the number of K/V slots held in the BTree:
65 /// WidthFactor-1 K/V pairs (except the root) and may have at most
66 /// 2*WidthFactor-1 K/V pairs.
67 enum { WidthFactor = 8 }; enumerator in enum:__anon17962::DeltaTreeNode::__anon17963
71 SourceDelta Values[2*WidthFactor-1];
90 bool isFull() const { return NumValuesUsed == 2*WidthFactor-1; }
123 DeltaTreeNode *Children[2*WidthFactor];
290 /// DoSplit - Split the currently full node (which has 2*WidthFactor-1 values)
291 /// into two subtrees each with "WidthFactor-1" values and a pivot value.
296 // Since this node is full, it contains 2*WidthFactor
[all...]
H A DRewriteRope.cpp50 /// 'WidthFactor' children/values. For our use cases, this doesn't seem to
56 /// RopePieceBTreeLeaf - Directly manages up to '2*WidthFactor' RopePiece
60 /// up to '2*WidthFactor' other nodes in the tree.
76 /// WidthFactor - This controls the number of K/V slots held in the BTree:
78 /// 'WidthFactor' elements in it (either ropepieces or children), (except
79 /// the root, which may have less) and may have at most 2*WidthFactor
81 enum { WidthFactor = 8 }; enumerator in enum:__anon17964::RopePieceBTreeNode::__anon17965
128 /// RopePieceBTreeLeaf - Directly manages up to '2*WidthFactor' RopePiece
142 RopePiece Pieces[2*WidthFactor];
156 bool isFull() const { return NumPieces == 2*WidthFactor; }
[all...]

Completed in 219 milliseconds