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

/external/clang/lib/Rewrite/
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:__anon2916::RopePieceBTreeNode::__anon2917
130 /// RopePieceBTreeLeaf - Directly manages up to '2*WidthFactor' RopePiece
144 RopePiece Pieces[2*WidthFactor];
158 bool isFull() const { return NumPieces == 2*WidthFactor; }
[all...]
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:__anon2909::DeltaTreeNode::__anon2910
71 SourceDelta Values[2*WidthFactor-1];
90 bool isFull() const { return NumValuesUsed == 2*WidthFactor-1; }
125 DeltaTreeNode *Children[2*WidthFactor];
293 /// DoSplit - Split the currently full node (which has 2*WidthFactor-1 values)
294 /// into two subtrees each with "WidthFactor-1" values and a pivot value.
299 // Since this node is full, it contains 2*WidthFactor
[all...]

Completed in 3996 milliseconds