|
|
|
@ -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]; |
|
|
|
|