Browse Source

hash

final/10.0.3
Yee 6 years ago
parent
commit
1a0d313b7a
  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