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

Method fold

chapter13/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}

Callers 1

hashMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected