(random_state: &RandomState, hashes_buffer: &'_ mut [u64], mul_col: bool)
| 142 | |
| 143 | #[cfg(not(feature = "force_hash_collisions"))] |
| 144 | fn hash_null(random_state: &RandomState, hashes_buffer: &'_ mut [u64], mul_col: bool) { |
| 145 | if mul_col { |
| 146 | hashes_buffer.iter_mut().for_each(|hash| { |
| 147 | // stable hash for null value |
| 148 | *hash = combine_hashes(random_state.hash_one(1), *hash); |
| 149 | }) |
| 150 | } else { |
| 151 | hashes_buffer.iter_mut().for_each(|hash| { |
| 152 | *hash = random_state.hash_one(1); |
| 153 | }) |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | pub trait HashValue { |
| 158 | fn hash_one(&self, state: &RandomState) -> u64; |
nothing calls this directly
no test coverage detected
searching dependent graphs…