| 61 } |
61 } |
| 62 |
62 |
| 63 switch (len) { |
63 switch (len) { |
| 64 case 3: |
64 case 3: |
| 65 h ^= (data[i + 2] & 0xFF) << 16; |
65 h ^= (data[i + 2] & 0xFF) << 16; |
| 66 cx_attr_fallthrough; |
66 CX_FALLTHROUGH; |
| 67 case 2: |
67 case 2: |
| 68 h ^= (data[i + 1] & 0xFF) << 8; |
68 h ^= (data[i + 1] & 0xFF) << 8; |
| 69 cx_attr_fallthrough; |
69 CX_FALLTHROUGH; |
| 70 case 1: |
70 case 1: |
| 71 h ^= (data[i + 0] & 0xFF); |
71 h ^= (data[i + 0] & 0xFF); |
| 72 h *= m; |
72 h *= m; |
| 73 cx_attr_fallthrough; |
73 CX_FALLTHROUGH; |
| 74 default: // do nothing |
74 default: // do nothing |
| 75 ; |
75 ; |
| 76 } |
76 } |
| 77 |
77 |
| 78 h ^= h >> 13; |
78 h ^= h >> 13; |