| 164 | } |
| 165 | |
| 166 | size_t OprAttr::hash() const { |
| 167 | return hash_pair_combine( |
| 168 | hash_pair_combine( |
| 169 | hash_pair_combine( |
| 170 | mgb::hash(type), |
| 171 | mgb::hash(static_cast<std::vector<char>>(param))), |
| 172 | hash_pair_combine( |
| 173 | static_cast<size_t>(policy.strategy), |
| 174 | policy.workspace_limit)), |
| 175 | config.hash()); |
| 176 | } |
| 177 | |
| 178 | std::shared_ptr<json::Value> OprAttr::mgb_param(OprFootprint* footprint) { |
| 179 | OprParamsLoadContext ctx{param, nullptr}; |
no test coverage detected