Home
last modified time | relevance | path

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

/third_party/typescript/src/server/
DscriptVersionCache.ts3 const lineCollectionCapacity = 4; constant
527 if (nodes.length < lineCollectionCapacity) {
531 … const interiorNodes = new Array<LineNode>(Math.ceil(nodes.length / lineCollectionCapacity));
534 const end = Math.min(nodeIndex + lineCollectionCapacity, nodes.length);
751 … if ((clen < lineCollectionCapacity) && (childIndex === (clen - 1)) && (nodeCount === 1)) {
760 while ((childIndex < lineCollectionCapacity) && (nodeIndex < nodeCount)) {
768 splitNodeCount = Math.ceil((nodeCount - nodeIndex) / lineCollectionCapacity);
778 if (splitNode.children.length === lineCollectionCapacity) {
803 Debug.assert(this.children.length <= lineCollectionCapacity);