C# Class MassTransit.Pipeline.Filters.Partitioner.Murmur3UnsafeHashGenerator

Inheritance: IHashGenerator
显示文件 Open project: phatboyg/MassTransit

Public Methods

Method Description
Hash ( byte data ) : uint
Hash ( byte data, int offset, uint count, uint seed ) : uint
Hash ( string s ) : uint

Private Methods

Method Description
Hash ( byte data, uint len, uint seed ) : uint
Rotl32 ( UInt32 x, int r ) : UInt32

Method Details

Hash() public method

public Hash ( byte data ) : uint
data byte
return uint

Hash() public method

public Hash ( byte data, int offset, uint count, uint seed ) : uint
data byte
offset int
count uint
seed uint
return uint

Hash() public method

public Hash ( string s ) : uint
s string
return uint