Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Vector64DebugView.cs
Go to the documentation of this file.
1
using
Internal.Runtime.CompilerServices
;
2
3
namespace
System.Runtime.Intrinsics
;
4
5
internal
readonly
struct
Vector64DebugView
<T> where T : struct
6
{
7
private
readonly
Vector64<T>
_value
;
8
9
public
byte
[]
ByteView
10
{
11
get
12
{
13
byte
[]
array
=
new
byte
[8];
14
Unsafe
.WriteUnaligned(ref
array
[0],
_value
);
15
return
array
;
16
}
17
}
18
19
public
double
[]
DoubleView
20
{
21
get
22
{
23
double
[]
array
=
new
double
[1];
24
Unsafe
.WriteUnaligned(ref
Unsafe
.As<
double
,
byte
>(ref
array
[0]),
_value
);
25
return
array
;
26
}
27
}
28
29
public
short
[]
Int16View
30
{
31
get
32
{
33
short
[]
array
=
new
short
[4];
34
Unsafe
.WriteUnaligned(ref
Unsafe
.As<
short
,
byte
>(ref
array
[0]),
_value
);
35
return
array
;
36
}
37
}
38
39
public
int
[]
Int32View
40
{
41
get
42
{
43
int
[]
array
=
new
int
[2];
44
Unsafe
.WriteUnaligned(ref
Unsafe
.As<
int
,
byte
>(ref
array
[0]),
_value
);
45
return
array
;
46
}
47
}
48
49
public
long
[]
Int64View
50
{
51
get
52
{
53
long
[]
array
=
new
long
[1];
54
Unsafe
.WriteUnaligned(ref
Unsafe
.As<
long
,
byte
>(ref
array
[0]),
_value
);
55
return
array
;
56
}
57
}
58
59
public
sbyte[]
SByteView
60
{
61
get
62
{
63
sbyte[]
array
=
new
sbyte[8];
64
Unsafe
.WriteUnaligned(ref
Unsafe
.As<sbyte,
byte
>(ref
array
[0]),
_value
);
65
return
array
;
66
}
67
}
68
69
public
float
[]
SingleView
70
{
71
get
72
{
73
float
[]
array
=
new
float
[2];
74
Unsafe
.WriteUnaligned(ref
Unsafe
.As<
float
,
byte
>(ref
array
[0]),
_value
);
75
return
array
;
76
}
77
}
78
79
public
ushort[]
UInt16View
80
{
81
get
82
{
83
ushort[]
array
=
new
ushort[4];
84
Unsafe
.WriteUnaligned(ref
Unsafe
.As<ushort,
byte
>(ref
array
[0]),
_value
);
85
return
array
;
86
}
87
}
88
89
public
uint[]
UInt32View
90
{
91
get
92
{
93
uint[]
array
=
new
uint[2];
94
Unsafe
.WriteUnaligned(ref
Unsafe
.As<uint,
byte
>(ref
array
[0]),
_value
);
95
return
array
;
96
}
97
}
98
99
public
ulong[]
UInt64View
100
{
101
get
102
{
103
ulong[]
array
=
new
ulong[1];
104
Unsafe
.WriteUnaligned(ref
Unsafe
.As<ulong,
byte
>(ref
array
[0]),
_value
);
105
return
array
;
106
}
107
}
108
109
public
Vector64DebugView
(
Vector64<T>
value
)
110
{
111
_value
=
value
;
112
}
113
}
Internal.Runtime.CompilerServices.Unsafe
Definition
Unsafe.cs:10
System.Runtime.Intrinsics.Vector64
Definition
Vector64.cs:580
Internal.Runtime.CompilerServices
Definition
Unsafe.cs:6
System.Runtime.Intrinsics
Definition
AdvSimd.cs:3
System.ExceptionArgument.value
@ value
System.ExceptionArgument.array
@ array
System.Runtime.Intrinsics.Vector64DebugView.DoubleView
double[] DoubleView
Definition
Vector64DebugView.cs:20
System.Runtime.Intrinsics.Vector64DebugView.SByteView
sbyte[] SByteView
Definition
Vector64DebugView.cs:60
System.Runtime.Intrinsics.Vector64DebugView.UInt64View
ulong[] UInt64View
Definition
Vector64DebugView.cs:100
System.Runtime.Intrinsics.Vector64DebugView._value
readonly Vector64< T > _value
Definition
Vector64DebugView.cs:7
System.Runtime.Intrinsics.Vector64DebugView.UInt32View
uint[] UInt32View
Definition
Vector64DebugView.cs:90
System.Runtime.Intrinsics.Vector64DebugView.SingleView
float[] SingleView
Definition
Vector64DebugView.cs:70
System.Runtime.Intrinsics.Vector64DebugView.Vector64DebugView
Vector64DebugView(Vector64< T > value)
Definition
Vector64DebugView.cs:109
System.Runtime.Intrinsics.Vector64DebugView.Int16View
short[] Int16View
Definition
Vector64DebugView.cs:30
System.Runtime.Intrinsics.Vector64DebugView.ByteView
byte[] ByteView
Definition
Vector64DebugView.cs:10
System.Runtime.Intrinsics.Vector64DebugView.Int32View
int[] Int32View
Definition
Vector64DebugView.cs:40
System.Runtime.Intrinsics.Vector64DebugView.UInt16View
ushort[] UInt16View
Definition
Vector64DebugView.cs:80
System.Runtime.Intrinsics.Vector64DebugView.Int64View
long[] Int64View
Definition
Vector64DebugView.cs:50
System.Runtime.Intrinsics.Vector64DebugView
Definition
Vector64DebugView.cs:6
source
System.Private.CoreLib
System.Runtime.Intrinsics
Vector64DebugView.cs
Generated by
1.10.0