コード例 #1
0
ファイル: StructureObject.java プロジェクト: symeonn/test
 @Override
 public final int psxhash(int depth) {
   int result = mix(structureClass.sxhash(), 7814971);
   if (depth > 0) {
     int limit = slots.length;
     if (limit > 4) limit = 4;
     for (int i = 0; i < limit; i++) result = mix(slots[i].psxhash(depth - 1), result);
   }
   return result & 0x7fffffff;
 }