3 writes to Child
Microsoft.ML.Tokenizers.Tests (3)
src\Microsoft.ML.Tokenizers\Utils\DoubleArrayTrie.cs (3)
244public int Value { get => (int)Child; set => Child = (uint)value; } 398_nodes[(int)id].Child = childId; 600_nodes[(int)_nodeStack!.Peek()].Child = matchId;
6 references to Child
Microsoft.ML.Tokenizers.Tests (6)
src\Microsoft.ML.Tokenizers\Utils\DoubleArrayTrie.cs (6)
244public int Value { get => (int)Child; set => Child = (uint)value; } 252return (Child << 1) | (uint)(HasSibling ? 1 : 0); 254return (Child << 2) | (uint)(IsState ? 2 : 0) | (uint)(HasSibling ? 1 : 0); 354uint childId = _nodes[(int)id].Child; 391if (_nodes[(int)id].Child == 0) 396_nodes[(int)childId].Sibling = _nodes[(int)id].Child;