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