Beispiel #1
0
 public uint Hash(uint generator, int index)
 {
     return(XxHash.GetHash(index, generator));
 }
Beispiel #2
0
 public uint Hash(uint generator, int index)
 {
     return(XxHash.GetHash(new[] { index }, generator));
 }
Beispiel #3
0
 public Random Create(int seed)
 {
     return(new Random((int)XxHash.GetHash(seed, 0u)));
 }