1 write to _type2ops
Microsoft.ML.Data (1)
DataLoadSave\Binary\UnsafeTypeOps.cs (1)
32
_type2ops
= new Dictionary<Type, object>();
13 references to _type2ops
Microsoft.ML.Data (13)
DataLoadSave\Binary\UnsafeTypeOps.cs (13)
33
_type2ops
[typeof(sbyte)] = new SByteUnsafeTypeOps();
34
_type2ops
[typeof(Byte)] = new ByteUnsafeTypeOps();
35
_type2ops
[typeof(short)] = new Int16UnsafeTypeOps();
36
_type2ops
[typeof(UInt16)] = new UInt16UnsafeTypeOps();
37
_type2ops
[typeof(int)] = new Int32UnsafeTypeOps();
38
_type2ops
[typeof(UInt32)] = new UInt32UnsafeTypeOps();
39
_type2ops
[typeof(long)] = new Int64UnsafeTypeOps();
40
_type2ops
[typeof(UInt64)] = new UInt64UnsafeTypeOps();
41
_type2ops
[typeof(Single)] = new SingleUnsafeTypeOps();
42
_type2ops
[typeof(Double)] = new DoubleUnsafeTypeOps();
43
_type2ops
[typeof(TimeSpan)] = new TimeSpanUnsafeTypeOps();
44
_type2ops
[typeof(DataViewRowId)] = new UgUnsafeTypeOps();
49
return (UnsafeTypeOps<T>)
_type2ops
[typeof(T)];