2 writes to _idLim
Microsoft.ML.Data (2)
Utils\SequencePool.cs (2)
70
_idLim
= reader.ReadInt32();
271
_idLim
++;
40 references to _idLim
Microsoft.ML.Data (40)
Utils\SequencePool.cs (40)
48
public int Count { get { return
_idLim
; } }
71
Contracts.CheckDecode(0 <=
_idLim
&&
_idLim
< int.MaxValue);
72
_start = reader.ReadIntArray(
_idLim
+ 1);
74
Contracts.CheckDecode(_start[
_idLim
] >= 0);
75
_bytes = reader.ReadByteArray(_start[
_idLim
]);
76
if (
_idLim
< 10)
82
int ibit = Utils.IbitHigh((uint)Math.Max(
_idLim
, 31));
90
_hash = new uint[Math.Max(
_idLim
, 10)];
91
_next = new int[Math.Max(
_idLim
, 10)];
94
var cb = _start[
_idLim
];
95
for (int id = 0; id <
_idLim
; id++)
117
writer.Write(
_idLim
);
119
for (int id = 0; id <
_idLim
; id++)
122
writer.WriteIntsNoCount(_start.AsSpan(0,
_idLim
+ 1));
123
writer.WriteBytesNoCount(_bytes, _start[
_idLim
]);
134
Contracts.Assert(0 <=
_idLim
&& Math.Max(10,
_idLim
) <= Utils.Size(_start) - 1);
135
Contracts.Assert(Math.Max(10,
_idLim
) <= Utils.Size(_hash));
136
Contracts.Assert(Math.Max(10,
_idLim
) <= Utils.Size(_next));
138
Contracts.Assert(0 <= _start[
_idLim
] && Math.Max(40, _start[
_idLim
]) <= Utils.Size(_bytes));
161
Contracts.Assert(0 <= idCur && idCur <
_idLim
);
206
id =
_idLim
;
208
Contracts.Assert(id ==
_idLim
- 1);
235
if (
_idLim
+ 1 >= _start.Length)
238
Contracts.Assert(
_idLim
+ 1 == _start.Length);
245
if (
_idLim
>= _next.Length)
248
Contracts.Assert(
_idLim
== _next.Length);
256
var ibLim = _start[
_idLim
];
264
Contracts.Assert(
_idLim
< _next.Length);
268
_next[
_idLim
] = _buckets[i];
269
_hash[
_idLim
] = hash;
270
_buckets[i] =
_idLim
;
272
_start[
_idLim
] = _start[
_idLim
- 1];
273
UIntArrayToLeb128(sequence, min, lim, _bytes, ref _start[
_idLim
]);
275
if (
_idLim
>= _buckets.Length)
289
for (int id = 0; id <
_idLim
; id++)
302
Contracts.Check(0 <= id && id <
_idLim
);