5 references to ArrayPoolGrow
Microsoft.ML.Tokenizers.Tests (5)
src\Microsoft.ML.Tokenizers\Utils\Helpers.cs (1)
223Helpers.ArrayPoolGrow<byte>(ref bytes, bytes.Length * 2);
src\Microsoft.ML.Tokenizers\Utils\Helpers.netstandard.cs (4)
147Helpers.ArrayPoolGrow(ref destination, destination.Length * 2); 159Helpers.ArrayPoolGrow(ref destination, destination.Length * 2); 172Helpers.ArrayPoolGrow(ref destination, Math.Max(destination.Length, 4) * 2); 186Helpers.ArrayPoolGrow(ref destination, Math.Max(destination.Length, 3) * 2);