* @brief Single source of truth for the (source, group, dataset) -> uniqueId mapping. */
| 1007 | * @brief Single source of truth for the (source, group, dataset) -> uniqueId mapping. |
| 1008 | */ |
| 1009 | [[nodiscard]] inline constexpr int dataset_unique_id(int sourceId, |
| 1010 | int groupId, |
| 1011 | int datasetId) noexcept |
| 1012 | { |
| 1013 | return sourceId * kSourceIdStride + groupId * kGroupIdStride + datasetId; |
| 1014 | } |
| 1015 | |
| 1016 | /** |
| 1017 | * @brief Convenience overload taking a Group + Dataset directly. |
no outgoing calls
no test coverage detected