Vector128.LoadUnsafe 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
LoadUnsafe<T>(T) |
从给定源加载向量。 |
LoadUnsafe<T>(T, UIntPtr) |
从给定的源和元素偏移量加载向量。 |
LoadUnsafe<T>(T)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
从给定源加载向量。
public:
generic <typename T>
where T : value class static System::Runtime::Intrinsics::Vector128<T> LoadUnsafe(T % source);
public:
generic <typename T>
static System::Runtime::Intrinsics::Vector128<T> LoadUnsafe(T % source);
public static System.Runtime.Intrinsics.Vector128<T> LoadUnsafe<T> (ref T source) where T : struct;
public static System.Runtime.Intrinsics.Vector128<T> LoadUnsafe<T> (ref T source);
static member LoadUnsafe : 'T -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
static member LoadUnsafe : 'T -> System.Runtime.Intrinsics.Vector128<'T>
Public Function LoadUnsafe(Of T As Structure) (ByRef source As T) As Vector128(Of T)
Public Function LoadUnsafe(Of T) (ByRef source As T) As Vector128(Of T)
类型参数
- T
向量中元素的类型。
参数
- source
- T
要从中加载矢量的源。
返回
从 source
加载的向量。
例外
不支持 source
类型 (T
)。
适用于
LoadUnsafe<T>(T, UIntPtr)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
重要
此 API 不符合 CLS。
从给定的源和元素偏移量加载向量。
public:
generic <typename T>
where T : value class static System::Runtime::Intrinsics::Vector128<T> LoadUnsafe(T % source, UIntPtr elementOffset);
public:
generic <typename T>
static System::Runtime::Intrinsics::Vector128<T> LoadUnsafe(T % source, UIntPtr elementOffset);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<T> LoadUnsafe<T> (ref T source, UIntPtr elementOffset) where T : struct;
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<T> LoadUnsafe<T> (ref T source, UIntPtr elementOffset);
[<System.CLSCompliant(false)>]
static member LoadUnsafe : 'T * unativeint -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
[<System.CLSCompliant(false)>]
static member LoadUnsafe : 'T * unativeint -> System.Runtime.Intrinsics.Vector128<'T>
Public Function LoadUnsafe(Of T As Structure) (ByRef source As T, elementOffset As UIntPtr) As Vector128(Of T)
Public Function LoadUnsafe(Of T) (ByRef source As T, elementOffset As UIntPtr) As Vector128(Of T)
类型参数
- T
向量中元素的类型。
参数
- source
- T
加载向量之前将添加到的源 elementOffset
。
- elementOffset
-
UIntPtr
unativeint
将从中加载矢量的元素偏移量 source
。
返回
从 source
加 elementOffset
加载的向量。
- 属性
例外
不支持 source
类型 (T
)。