2 writes to _rgns
Microsoft.ML.Core (2)
Utilities\NormStr.cs (2)
221
_rgns
= new NormStr[10];
228
Array.Resize(ref
_rgns
, size);
11 references to _rgns
Microsoft.ML.Core (11)
Utilities\NormStr.cs (11)
76
Contracts.Assert(0 <= _cns && _cns <= Utils.Size(
_rgns
));
77
Contracts.Assert(Utils.Size(
_rgns
) == Utils.Size(_rgmeta));
217
if (
_rgns
== null)
223
else if (_cns >=
_rgns
.Length)
225
Contracts.Assert(_cns ==
_rgns
.Length);
226
int size = checked(
_rgns
.Length / 2 +
_rgns
.Length);
230
Contracts.Assert(_cns <
_rgns
.Length);
234
_rgns
[_cns] = ns;
254
Contracts.Assert(
_rgns
[ins].Id == ins);
255
return
_rgns
[ins];