30 references to _nodes
Microsoft.ML.Tokenizers.Tests (30)
src\Microsoft.ML.Tokenizers\Utils\DoubleArrayTrie.cs (30)
333_units[0] = _nodes[0].Unit; 334_labels[0] = _nodes[0].Label; 354uint childId = _nodes[(int)id].Child; 366byte unitLabel = _nodes[(int)childId].Label; 373_nodes[(int)childId].HasSibling = true; 391if (_nodes[(int)id].Child == 0) 393_nodes[(int)childId].IsState = true; 396_nodes[(int)childId].Sibling = _nodes[(int)id].Child; 397_nodes[(int)childId].Label = keyLabel; 398_nodes[(int)id].Child = childId; 402_nodes[(int)id].Value = value; 410id = (uint)_nodes.Size; 411_nodes.Append(); 416_nodes[(int)id] = new DawgNode(); 438_nodes[0].Label = 0xFF; 462for (; id != 0; id = _nodes[(int)id].Sibling) 464uint unit = _nodes[(int)id].Unit; 465byte label = _nodes[(int)id].Label; 474for (uint i = _nodes[(int)nodeId].Sibling; i != 0; i = _nodes[(int)i].Sibling) 489for (uint i = nodeId; i != 0; i = _nodes[(int)i].Sibling, --unitId) 491if (_nodes[(int)i].Unit != _units[(int)unitId].Unit || _nodes[(int)i].Label != _labels[(int)unitId]) 564for (uint i = nodeId; i != 0; i = _nodes[(int)i].Sibling) 582for (uint i = nodeId; i != 0; i = _nodes[(int)i].Sibling) 584_units[(int)unitId] = _nodes[(int)i].Unit; 585_labels[(int)unitId] = _nodes[(int)i].Label; 596next = _nodes[(int)i].Sibling; 600_nodes[(int)_nodeStack!.Peek()].Child = matchId;