| 133 | } |
| 134 | |
| 135 | type hashPartitioner struct { |
| 136 | random Partitioner |
| 137 | hasher hash.Hash32 |
| 138 | referenceAbs bool |
| 139 | hashUnsigned bool |
| 140 | } |
| 141 | |
| 142 | // NewCustomHashPartitioner is a wrapper around NewHashPartitioner, allowing the use of custom hasher. |
| 143 | // The argument is a function providing the instance, implementing the hash.Hash32 interface. This is to ensure that |
nothing calls this directly
no outgoing calls
no test coverage detected