Subversion Repositories mdb

Rev

Rev 22 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22 Rev 56
Line 307... Line 307...
307
	u.ptr = key;
307
	u.ptr = key;
308
 
308
 
309
	if (HASH_LITTLE_ENDIAN && ((u.i & 0x3) == 0))
309
	if (HASH_LITTLE_ENDIAN && ((u.i & 0x3) == 0))
310
	{
310
	{
311
		const uint32_t *k = (const uint32_t *)key;         /* read 32-bit chunks */
311
		const uint32_t *k = (const uint32_t *)key;         /* read 32-bit chunks */
312
		const uint8_t  *k8;
312
/*		const uint8_t  *k8; */
313
 
313
 
314
		/*------ all but last block: aligned reads and affect 32 bits of (a,b,c) */
314
		/*------ all but last block: aligned reads and affect 32 bits of (a,b,c) */
315
		while (length > 12)
315
		while (length > 12)
316
		{
316
		{
317
			a += k[0];
317
			a += k[0];
Line 631... Line 631...
631
	u.ptr = key;
631
	u.ptr = key;
632
 
632
 
633
	if (HASH_LITTLE_ENDIAN && ((u.i & 0x3) == 0))
633
	if (HASH_LITTLE_ENDIAN && ((u.i & 0x3) == 0))
634
	{
634
	{
635
		const uint32_t *k = (const uint32_t *)key;         /* read 32-bit chunks */
635
		const uint32_t *k = (const uint32_t *)key;         /* read 32-bit chunks */
636
		const uint8_t  *k8;
636
/*		const uint8_t  *k8; */
637
 
637
 
638
		/*------ all but last block: aligned reads and affect 32 bits of (a,b,c) */
638
		/*------ all but last block: aligned reads and affect 32 bits of (a,b,c) */
639
		while (length > 12)
639
		while (length > 12)
640
		{
640
		{
641
			a += k[0];
641
			a += k[0];
Line 955... Line 955...
955
	u.ptr = key;
955
	u.ptr = key;
956
 
956
 
957
	if (HASH_BIG_ENDIAN && ((u.i & 0x3) == 0))
957
	if (HASH_BIG_ENDIAN && ((u.i & 0x3) == 0))
958
	{
958
	{
959
		const uint32_t *k = (const uint32_t *)key;         /* read 32-bit chunks */
959
		const uint32_t *k = (const uint32_t *)key;         /* read 32-bit chunks */
960
		const uint8_t  *k8;
960
/*		const uint8_t  *k8; */
961
 
961
 
962
		/*------ all but last block: aligned reads and affect 32 bits of (a,b,c) */
962
		/*------ all but last block: aligned reads and affect 32 bits of (a,b,c) */
963
		while (length > 12)
963
		while (length > 12)
964
		{
964
		{
965
			a += k[0];
965
			a += k[0];