MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / fold

Method fold

chapter11/src/main/java/com/seaofnodes/simple/Utils.java:57–57  ·  view source on GitHub ↗
( long x )

Source from the content-addressed store, hash-verified

55
56 // Fold a 64bit hash into 32 bits
57 public static int fold( long x ) { return (int)((x>>32) ^ x); }
58
59 public static boolean eq(String s0, String s1) {
60 if( s0==s1 ) return true;

Callers 1

hashMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected