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); 519return _data.SizeInBytes() + sizeof(int) + base.SizeInBytes(); 532_data.ToByteArray(buffer, ref position); 542byte v = _data[dataIndex]; 561_data[dataIndex] &= 0x0f; 562_data[dataIndex] |= (byte)(v << 4); 566_data[dataIndex] &= 0xf0; 567_data[dataIndex] |= v; 576fixed (byte* pData = _data)