3 writes to _data
Microsoft.ML.FastTree (3)
Dataset\DenseIntArray.cs (3)
478
_data
= new byte[(len + 1) / 2]; // Even length = half the bytes. Odd length = half the bytes+0.5.
485
_data
= new byte[(len + 1) / 2];
510
_data
= buffer.ToByteArray(ref position);
10 references to _data
Microsoft.ML.FastTree (10)
Dataset\DenseIntArray.cs (10)
495
_data
[currentIndex] = (byte)(b << 4);
500
_data
[currentIndex] |= (byte)(b & 0x0f);
519
return
_data
.SizeInBytes() + sizeof(int) + base.SizeInBytes();
532
_data
.ToByteArray(buffer, ref position);
542
byte v =
_data
[dataIndex];
561
_data
[dataIndex] &= 0x0f;
562
_data
[dataIndex] |= (byte)(v << 4);
566
_data
[dataIndex] &= 0xf0;
567
_data
[dataIndex] |= v;
576
fixed (byte* pData =
_data
)