Edytuj

Udostępnij za pośrednictwem


ArrayExtensions.GetDjb2HashCode Method

Definition

Overloads

GetDjb2HashCode<T>(T[,,])

Gets a content hash from the input 3D T array instance using the Djb2 algorithm. For more info, see the documentation for GetDjb2HashCode<T>(ReadOnlySpan<T>).

GetDjb2HashCode<T>(T[,])

Gets a content hash from the input 2D T array instance using the Djb2 algorithm. For more info, see the documentation for GetDjb2HashCode<T>(ReadOnlySpan<T>).

GetDjb2HashCode<T>(T[])

Gets a content hash from the input T array instance using the Djb2 algorithm. For more info, see the documentation for GetDjb2HashCode<T>(ReadOnlySpan<T>).

GetDjb2HashCode<T>(T[,,])

Gets a content hash from the input 3D T array instance using the Djb2 algorithm. For more info, see the documentation for GetDjb2HashCode<T>(ReadOnlySpan<T>).

public static int GetDjb2HashCode<T> (this T[,,] array);
static member GetDjb2HashCode : 'T[,,] -> int
<Extension()>
Public Function GetDjb2HashCode(Of T) (array As T(,,)) As Integer

Type Parameters

T

The type of items in the input 3D T array instance.

Parameters

array
T[,,]

The input 3D T array instance.

Returns

The Djb2 value for the input 3D T array instance.

Remarks

The Djb2 hash is fully deterministic and with no random components.

Applies to

GetDjb2HashCode<T>(T[,])

Gets a content hash from the input 2D T array instance using the Djb2 algorithm. For more info, see the documentation for GetDjb2HashCode<T>(ReadOnlySpan<T>).

public static int GetDjb2HashCode<T> (this T[,] array);
static member GetDjb2HashCode : 'T[,] -> int
<Extension()>
Public Function GetDjb2HashCode(Of T) (array As T(,)) As Integer

Type Parameters

T

The type of items in the input 2D T array instance.

Parameters

array
T[,]

The input 2D T array instance.

Returns

The Djb2 value for the input 2D T array instance.

Remarks

The Djb2 hash is fully deterministic and with no random components.

Applies to

GetDjb2HashCode<T>(T[])

Gets a content hash from the input T array instance using the Djb2 algorithm. For more info, see the documentation for GetDjb2HashCode<T>(ReadOnlySpan<T>).

public static int GetDjb2HashCode<T> (this T[] array);
static member GetDjb2HashCode : 'T[] -> int
<Extension()>
Public Function GetDjb2HashCode(Of T) (array As T()) As Integer

Type Parameters

T

The type of items in the input T array instance.

Parameters

array
T[]

The input T array instance.

Returns

The Djb2 value for the input T array instance.

Remarks

The Djb2 hash is fully deterministic and with no random components.

Applies to