()
| 119 | } |
| 120 | |
| 121 | digest(): number { |
| 122 | if (this.carryBytes > 0) { |
| 123 | let k1 = this.carry >>> 0 |
| 124 | k1 = Math.imul(k1, 0xcc9e2d51) |
| 125 | k1 = (k1 << 15) | (k1 >>> 17) |
| 126 | k1 = Math.imul(k1, 0x1b873593) |
| 127 | this.hash ^= k1 |
| 128 | } |
| 129 | |
| 130 | this.hash ^= this.length |
| 131 | this.hash ^= this.hash >>> 16 |
| 132 | this.hash = Math.imul(this.hash, 0x85ebca6b) |
| 133 | this.hash ^= this.hash >>> 13 |
| 134 | this.hash = Math.imul(this.hash, 0xc2b2ae35) |
| 135 | this.hash ^= this.hash >>> 16 |
| 136 | |
| 137 | return this.hash >>> 0 |
| 138 | } |
| 139 | } |
no outgoing calls
no test coverage detected