3 writes to OneByteUtf8EncodingMaxId
Microsoft.ML.Tokenizers (3)
Model\SentencePieceBpeModel.cs (1)
41OneByteUtf8EncodingMaxId = ByteCodeToIdOffset + 0x7F; // 0x7F is the maximum value of the one byte UTF-8 character.
Model\SentencePieceUnigramModel.cs (2)
76OneByteUtf8EncodingMaxId = ByteCodeToIdOffset + 0x7F; // 0x7F is the maximum value of the one byte UTF-8 character. 244OneByteUtf8EncodingMaxId = ByteCodeToIdOffset + 0x7F;
4 references to OneByteUtf8EncodingMaxId
Microsoft.ML.Tokenizers (4)
Model\SentencePieceBaseModel.cs (4)
234EncodeByte(current, OneByteUtf8EncodingMaxId, ByteCodeToIdOffset, ref bytesCount, ref bytesPoolArray, ref sb); 279EncodeByte(current, OneByteUtf8EncodingMaxId, ByteCodeToIdOffset, ref bytesCount, ref bytesPoolArray, ref sb); 467if (!EncodeByte(enumerator.Current, OneByteUtf8EncodingMaxId, ByteCodeToIdOffset, ref bytesCount, buffer, ref charsWritten, ref idsConsumed, ref bytesPoolArray)) 556if (!EncodeByte(current, OneByteUtf8EncodingMaxId, ByteCodeToIdOffset, ref bytesCount, buffer, ref charsWritten, ref idsConsumed, ref bytesPoolArray))