Tabnine Logo
FarmHashFingerprint64.hashLength0to16
Code IndexAdd Tabnine to your IDE (free)

How to use
hashLength0to16
method
in
com.google.common.hash.FarmHashFingerprint64

Best Java code snippets using com.google.common.hash.FarmHashFingerprint64.hashLength0to16 (Showing top 5 results out of 315)

origin: google/guava

@VisibleForTesting
static long fingerprint(byte[] bytes, int offset, int length) {
 if (length <= 32) {
  if (length <= 16) {
   return hashLength0to16(bytes, offset, length);
  } else {
   return hashLength17to32(bytes, offset, length);
  }
 } else if (length <= 64) {
  return hashLength33To64(bytes, offset, length);
 } else {
  return hashLength65Plus(bytes, offset, length);
 }
}
origin: google/j2objc

@VisibleForTesting
static long fingerprint(byte[] bytes, int offset, int length) {
 if (length <= 32) {
  if (length <= 16) {
   return hashLength0to16(bytes, offset, length);
  } else {
   return hashLength17to32(bytes, offset, length);
  }
 } else if (length <= 64) {
  return hashLength33To64(bytes, offset, length);
 } else {
  return hashLength65Plus(bytes, offset, length);
 }
}
origin: wildfly/wildfly

@VisibleForTesting
static long fingerprint(byte[] bytes, int offset, int length) {
 if (length <= 32) {
  if (length <= 16) {
   return hashLength0to16(bytes, offset, length);
  } else {
   return hashLength17to32(bytes, offset, length);
  }
 } else if (length <= 64) {
  return hashLength33To64(bytes, offset, length);
 } else {
  return hashLength65Plus(bytes, offset, length);
 }
}
origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger

@VisibleForTesting
static long fingerprint(byte[] bytes, int offset, int length) {
 if (length <= 32) {
  if (length <= 16) {
   return hashLength0to16(bytes, offset, length);
  } else {
   return hashLength17to32(bytes, offset, length);
  }
 } else if (length <= 64) {
  return hashLength33To64(bytes, offset, length);
 } else {
  return hashLength65Plus(bytes, offset, length);
 }
}
origin: org.jboss.eap/wildfly-client-all

@VisibleForTesting
static long fingerprint(byte[] bytes, int offset, int length) {
 if (length <= 32) {
  if (length <= 16) {
   return hashLength0to16(bytes, offset, length);
  } else {
   return hashLength17to32(bytes, offset, length);
  }
 } else if (length <= 64) {
  return hashLength33To64(bytes, offset, length);
 } else {
  return hashLength65Plus(bytes, offset, length);
 }
}
com.google.common.hashFarmHashFingerprint64hashLength0to16

Popular methods of FarmHashFingerprint64

  • fingerprint
  • hashLength16
  • hashLength17to32
  • hashLength33To64
  • hashLength65Plus
  • shiftMix
  • weakHashLength32WithSeeds
    Computes intermediate hash of 32 bytes of byte array from the given offset. Results are returned in

Popular in Java

  • Reading from database using SQL prepared statement
  • putExtra (Intent)
  • notifyDataSetChanged (ArrayAdapter)
  • setScale (BigDecimal)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now