| 306 | } |
| 307 | |
| 308 | int md_timeslice_eq(const md_timeslice_t *ts1, const md_timeslice_t *ts2) |
| 309 | { |
| 310 | if (ts1 == ts2) return 1; |
| 311 | if (!ts1 || !ts2) return 0; |
| 312 | return (ts1->norm == ts2->norm) && (ts1->len == ts2->len); |
| 313 | } |
| 314 | |
| 315 | md_timeperiod_t md_timeperiod_common(const md_timeperiod_t *a, const md_timeperiod_t *b) |
| 316 | { |
no outgoing calls
no test coverage detected