10 references to Length
Microsoft.ML.Tokenizers (10)
Model\SentencePieceBaseModel.cs (3)
316
if (AddDummyPrefix && TreatWhitespaceAsSuffix && suffixIndex >= 0 && sb.
Length
> 0)
319
Debug.Assert(sb.
Length
> suffixIndex);
388
suffixIndex = sb.
Length
- 1;
Utils\ValueStringBuilder.cs (7)
60
/// Does not ensure there is a null char after <see cref="
Length
"/>
72
/// <param name="terminate">Ensures that the builder has a null char after <see cref="
Length
"/></param>
77
EnsureCapacity(
Length
+ 1);
78
_chars[
Length
] = '\0';
115
/// <param name="terminate">Ensures that the builder has a null char after <see cref="
Length
"/></param>
120
EnsureCapacity(
Length
+ 1);
121
_chars[
Length
] = '\0';