222 static const jbyte TWO_BYTE[] = { (jbyte) 0x80, (jbyte) 0x81}; |
222 static const jbyte TWO_BYTE[] = { (jbyte) 0x80, (jbyte) 0x81}; |
223 static const jchar ONE_CHAR[] = { (jchar) 0x8180}; |
223 static const jchar ONE_CHAR[] = { (jchar) 0x8180}; |
224 static const jbyte THREE_BYTE[] = { (jbyte) 0x80, (jbyte) 0x81, (jbyte) 0x82}; |
224 static const jbyte THREE_BYTE[] = { (jbyte) 0x80, (jbyte) 0x81, (jbyte) 0x82}; |
225 static const jbyte FOUR_BYTE[] = { (jbyte) 0x80, (jbyte) 0x81, (jbyte) 0x82, (jbyte) 0x83}; |
225 static const jbyte FOUR_BYTE[] = { (jbyte) 0x80, (jbyte) 0x81, (jbyte) 0x82, (jbyte) 0x83}; |
226 static const jchar TWO_CHAR[] = { (jchar) 0x8180, (jchar) 0x8382}; |
226 static const jchar TWO_CHAR[] = { (jchar) 0x8180, (jchar) 0x8382}; |
227 static const jint ONE_INT[] = { 0x83828180}; |
227 static const jint ONE_INT[] = { (jint)0x83828180}; |
228 static const jbyte SIX_BYTE[] = { (jbyte) 0x80, (jbyte) 0x81, (jbyte) 0x82, (jbyte) 0x83, (jbyte) 0x84, (jbyte) 0x85}; |
228 static const jbyte SIX_BYTE[] = { (jbyte) 0x80, (jbyte) 0x81, (jbyte) 0x82, (jbyte) 0x83, (jbyte) 0x84, (jbyte) 0x85}; |
229 static const jchar THREE_CHAR[] = { (jchar) 0x8180, (jchar) 0x8382, (jchar) 0x8584}; |
229 static const jchar THREE_CHAR[] = { (jchar) 0x8180, (jchar) 0x8382, (jchar) 0x8584}; |
230 static const jbyte EIGHT_BYTE[] = { |
230 static const jbyte EIGHT_BYTE[] = { |
231 (jbyte) 0x80, (jbyte) 0x81, (jbyte) 0x82, |
231 (jbyte) 0x80, (jbyte) 0x81, (jbyte) 0x82, |
232 (jbyte) 0x83, (jbyte) 0x84, (jbyte) 0x85, |
232 (jbyte) 0x83, (jbyte) 0x84, (jbyte) 0x85, |
233 (jbyte) 0x86, (jbyte) 0x87}; |
233 (jbyte) 0x86, (jbyte) 0x87}; |
234 static const jchar FOUR_CHAR[] = { |
234 static const jchar FOUR_CHAR[] = { |
235 (jchar) 0x8180, (jchar) 0x8382, |
235 (jchar) 0x8180, (jchar) 0x8382, |
236 (jchar) 0x8584, (jchar) 0x8786}; |
236 (jchar) 0x8584, (jchar) 0x8786}; |
237 |
237 |
238 static const jint TWO_INT[] = { 0x83828180, 0x87868584}; |
238 static const jint TWO_INT[] = { (jint)0x83828180, (jint)0x87868584}; |
239 |
239 |
240 static const juint MURMUR3_32_X86_CHECK_VALUE = 0xB0F57EE3; |
240 static const juint MURMUR3_32_X86_CHECK_VALUE = 0xB0F57EE3; |
241 |
241 |
242 void AltHashing::testMurmur3_32_ByteArray() { |
242 void AltHashing::testMurmur3_32_ByteArray() { |
243 // printf("testMurmur3_32_ByteArray\n"); |
243 // printf("testMurmur3_32_ByteArray\n"); |