| 105 | } |
| 106 | |
| 107 | static inline void |
| 108 | MMH_update(MMH_CTX *ctx, unsigned char *ab) |
| 109 | { |
| 110 | uint32_t *b = reinterpret_cast<uint32_t *>(ab); |
| 111 | ctx->state[0] += b[0] * MMH_x[(ctx->blocks + 0) % MMH_X_SIZE]; |
| 112 | ctx->state[1] += b[1] * MMH_x[(ctx->blocks + 1) % MMH_X_SIZE]; |
| 113 | ctx->state[2] += b[2] * MMH_x[(ctx->blocks + 2) % MMH_X_SIZE]; |
| 114 | ctx->state[3] += b[3] * MMH_x[(ctx->blocks + 3) % MMH_X_SIZE]; |
| 115 | ctx->blocks += 4; |
| 116 | } |
| 117 | |
| 118 | static inline void |
| 119 | MMH_updateb1(MMH_CTX *ctx, unsigned char *ab) |
no outgoing calls
no test coverage detected