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