C# Класс Methods.ExpressionHash.DynamicHasher

Runtime description of a simple hashing algorithm.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
InitialState int[]
Steps Step[]

Открытые методы

Метод Описание
Interpret ( IntStream data ) : int

The result of applying this hash function to the given data, by interpreting the operations in the inner loop.

Specialize ( ) : int>>.Expression

A compilable expression containing specialized code for applying this hash function.

Описание методов

Interpret() публичный Метод

The result of applying this hash function to the given data, by interpreting the operations in the inner loop.
public Interpret ( IntStream data ) : int
data IntStream
Результат int

Specialize() публичный Метод

A compilable expression containing specialized code for applying this hash function.
public Specialize ( ) : int>>.Expression
Результат int>>.Expression

Описание свойств

InitialState публичное свойство

The initial state of the hash function, before any data is processed. Also implicitly determines the size of the state (which input/output indexes are valid). Index 0 is always overwritten with the current input. The output of the hash function is last state value once all data has been processed.
public int[] InitialState
Результат int[]

Steps публичное свойство

The steps to apply to the current state for each value in a data stream.
public Step[] Steps
Результат Step[]