3 writes to _data
Microsoft.ML.FastTree (3)
Dataset\DenseIntArray.cs (3)
606
_data
= new byte[(len + 1) / 2]; // Even length = half the bytes. Odd length = half the bytes+0.5.
613
_data
= new byte[(len + 1) / 2];
638
_data
= buffer.ToByteArray(ref position);
11 references to _data
Microsoft.ML.FastTree (11)
Dataset\DenseIntArray.cs (11)
623
_data
[currentIndex] = (byte)(b << 4);
628
_data
[currentIndex] |= (byte)(b & 0x0f);
647
return
_data
.SizeInBytes() + sizeof(int) + base.SizeInBytes();
660
_data
.ToByteArray(buffer, ref position);
670
byte v =
_data
[dataIndex];
689
_data
[dataIndex] &= 0x0f;
690
_data
[dataIndex] |= (byte)(v << 4);
694
_data
[dataIndex] &= 0xf0;
695
_data
[dataIndex] |= v;
704
fixed (byte* pData =
_data
)
715
fixed (byte* pData =
_data
)