5 writes to Length
Microsoft.ML.FastTree (5)
Utils\CompressUtils.cs (5)
25
block.
Length
= 0;
41
block.
Length
-= block.Size;
64
block.
Length
+= receiveSize;
75
block.
Length
= buffer.Length - offset;
91
block.
Length
-= block.Size;
9 references to Length
Microsoft.ML.FastTree (9)
Utils\CompressUtils.cs (9)
30
if (block.Size < 0 && block.
Length
> sizeof(int))
37
if (block.Size > 0 && block.Size <= block.
Length
)
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)
56
Array.Resize(ref block.Buffer, (block.Offset + block.
Length
+ loadSize) * 2);
59
int receiveSize = loader(block.Buffer, block.Offset + block.
Length
, loadSize);
80
if (block.Size < 0 && block.
Length
> sizeof(int))
87
if (block.Size > 0 && block.Size <= block.
Length
)