20 references to Size
Microsoft.ML.Tokenizers.Tests (20)
src\Microsoft.ML.Tokenizers\Utils\DoubleArrayTrie.cs (20)
314public int Size => _units.Size; 410id = (uint)_nodes.Size; 444int tableSize = _table.Size << 1; 448for (int i = 1; i < _units.Size; ++i) 502hashId = (uint)(HashNode(nodeId) % _table.Size); 503for (; ; hashId = (uint)((hashId + 1) % _table.Size)) 538hashId = (uint)(HashUnit(id) % _table.Size); 539for (; ; hashId = (uint)((hashId + 1) % _table.Size)) 558if (_numStates >= _table.Size - (_table.Size >> 2)) 727private int NumBlocks() => _units.Size / BlockSize; 730public int UnitsSize => _units.Size; 798uint srcNumUnits = (uint)_units.Size; 836if (id >= _units.Size) 846_extrasHead = (uint)_units.Size; 868for (int i = 1; i < _labels.Size; ++i) 881if (_extrasHead >= _units.Size) 883return (uint)_units.Size | (id & LowerMask); 898return (uint)_units.Size | (id & LowerMask); 916for (int i = 0; i < _labels.Size; ++i)