Example #1
0
 protected float Hash01(int id)
 {
     return(XXHash.GetHash(id, _seed) / (float)uint.MaxValue);
 }
Example #2
0
 protected int Hash(int id)
 {
     return((int)XXHash.GetHash(id, _seed));
 }