| 56 | } |
| 57 | |
| 58 | size_t row_bytes(int type, int64_t n) noexcept { |
| 59 | const TypeInfo* t = type_info(type); |
| 60 | if (t == nullptr || n < 0 || n % t->blck != 0) return 0; |
| 61 | return (size_t) (n / t->blck) * t->bytes; |
| 62 | } |
| 63 | |
| 64 | } // namespace strata::quant |
no test coverage detected