6 references to LengthMask
Microsoft.ML.Data (6)
DataLoadSave\Binary\Codecs.cs (6)
369
Contracts.CheckDecode(b >= (bPrev &
LengthMask
) || (b &
LengthMask
) == (bPrev &
LengthMask
));
373
Contracts.CheckDecode(_text.Length == (_boundaries[_entries] &
LengthMask
));
385
int start = _boundaries[_index] &
LengthMask
;
387
value = _text.AsMemory().Slice(start, (b &
LengthMask
) - start);