3 writes to Buffer
Microsoft.ML.FastTree (3)
Utils\CompressUtils.cs (3)
22block.Buffer = new byte[loadSize * 2]; 56Array.Resize(ref block.Buffer, (block.Offset + block.Length + loadSize) * 2); 72block.Buffer = buffer;
7 references to Buffer
Microsoft.ML.FastTree (7)
Utils\CompressUtils.cs (7)
33block.Size = block.Buffer.ToInt(ref p); 47if (block.Offset > 0 && block.Offset + block.Length + loadSize > block.Buffer.Length) 49Array.Copy(block.Buffer, block.Offset, block.Buffer, 0, block.Length); 54if (block.Offset + block.Length + loadSize > block.Buffer.Length) 59int receiveSize = loader(block.Buffer, block.Offset + block.Length, loadSize); 83block.Size = block.Buffer.ToInt(ref p);