/[Apache-SVN]/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/util/JenkinsHash.java
ViewVC logotype

Diff of /hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/util/JenkinsHash.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 698265, Tue Sep 23 18:10:06 2008 UTC revision 736569, Thu Jan 22 05:44:21 2009 UTC
# Line 78  public class JenkinsHash extends Hash { Line 78  public class JenkinsHash extends Hash {
78     * <p>Use for hash table lookup, or anything where one collision in 2^^32 is     * <p>Use for hash table lookup, or anything where one collision in 2^^32 is
79     * acceptable.  Do NOT use for cryptographic purposes.     * acceptable.  Do NOT use for cryptographic purposes.
80    */    */
81      @Override
82    @SuppressWarnings("fallthrough")    @SuppressWarnings("fallthrough")
83    public int hash(byte[] key, int nbytes, int initval) {    public int hash(byte[] key, int nbytes, int initval) {
84      int length = nbytes;      int length = nbytes;

Legend:
Removed from v.698265  
changed lines
  Added in v.736569

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2