12 overrides of Size
Microsoft.ML.Data (12)
DataLoadSave\Binary\UnsafeTypeOps.cs (12)
54public override int Size { get { return sizeof(sbyte); } } 66public override int Size { get { return sizeof(Byte); } } 78public override int Size { get { return sizeof(short); } } 90public override int Size { get { return sizeof(UInt16); } } 102public override int Size { get { return sizeof(int); } } 114public override int Size { get { return sizeof(UInt32); } } 126public override int Size { get { return sizeof(long); } } 138public override int Size { get { return sizeof(UInt64); } } 150public override int Size { get { return sizeof(Single); } } 162public override int Size { get { return sizeof(Double); } } 174public override int Size { get { return sizeof(long); } } 191public override int Size { get { return 2 * sizeof(ulong); } }
4 references to Size
Microsoft.ML.Data (4)
DataLoadSave\Binary\Codecs.cs (4)
209int byteLength = count * _ops.Size; 229return _ops.Size * _numWritten; 267int offset = index * _ops.Size; 268int byteLength = count * _ops.Size;