Browse Source

hash

research/11.0
Yee 6 years ago
parent
commit
a57fec2eaf
  1. 8
      fine-lz4/src/com/fr/third/net/jpountz/xxhash/XXHashFactory.java

8
fine-lz4/src/com/fr/third/net/jpountz/xxhash/XXHashFactory.java

@ -174,10 +174,10 @@ public final class XXHashFactory {
private XXHashFactory(String impl) throws ClassNotFoundException, NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException {
this.impl = impl;
hash32 = classInstance("XXHash32" + impl);
streamingHash32Factory = classInstance("StreamingXXHash32" + impl + "$Factory");
hash64 = classInstance("XXHash64" + impl);
streamingHash64Factory = classInstance("StreamingXXHash64" + impl + "$Factory");
hash32 = classInstance("com.fr.third.net.jpountz.xxhash.XXHash32" + impl);
streamingHash32Factory = classInstance("com.fr.third.net.jpountz.xxhash.StreamingXXHash32" + impl + "$Factory");
hash64 = classInstance("com.fr.third.net.jpountz.xxhash.XXHash64" + impl);
streamingHash64Factory = classInstance("com.fr.third.net.jpountz.xxhash.StreamingXXHash64" + impl + "$Factory");
// make sure it can run
final byte[] bytes = new byte[100];

Loading…
Cancel
Save