MCPcopy Index your code
hub / github.com/angular/angular / initTreeUtils

Function initTreeUtils

modules/benchmarks/src/tree/util.ts:42–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42export function initTreeUtils() {
43 maxDepth = getIntParameter('depth');
44 treeCreateCount = 0;
45 numberData = _buildTree(0, numberValues);
46 charData = _buildTree(0, charValues);
47}
48
49function _buildTree(currDepth: number, valueFn: (depth: number) => string): TreeNode {
50 const children = currDepth < maxDepth ? _buildTree(currDepth + 1, valueFn) : null;

Callers 4

initFunction · 0.90
initFunction · 0.90
initFunction · 0.90
initFunction · 0.90

Calls 2

getIntParameterFunction · 0.85
_buildTreeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…