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