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

Method fold

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

Source from the content-addressed store, hash-verified

50
51 // Fold a 64bit hash into 32 bits
52 public static int fold( long x ) { return (int)((x>>32) ^ x); }
53}

Callers 3

hashMethod · 0.95
hashMethod · 0.95
hashMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected