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