3 writes to Child
Microsoft.ML.Tokenizers.Tests (3)
src\Microsoft.ML.Tokenizers\Utils\DoubleArrayTrie.cs (3)
244
public 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)
244
public int Value { get => (int)
Child
; set => Child = (uint)value; }
252
return (
Child
<< 1) | (uint)(HasSibling ? 1 : 0);
254
return (
Child
<< 2) | (uint)(IsState ? 2 : 0) | (uint)(HasSibling ? 1 : 0);
354
uint childId = _nodes[(int)id].
Child
;
391
if (_nodes[(int)id].
Child
== 0)
396
_nodes[(int)childId].Sibling = _nodes[(int)id].
Child
;