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