10 references to Length
Microsoft.ML.Tokenizers (10)
Model\SentencePieceBpeTokenizer.cs (3)
1655if (AddDummyPrefix && TreatWhitespaceAsSuffix && suffixIndex >= 0 && sb.Length > 0) 1658Debug.Assert(sb.Length > suffixIndex); 1727suffixIndex = 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> 77EnsureCapacity(Length + 1); 78_chars[Length] = '\0'; 115/// <param name="terminate">Ensures that the builder has a null char after <see cref="Length"/></param> 120EnsureCapacity(Length + 1); 121_chars[Length] = '\0';