(aStart, aEnd, bStart, bEnd int64)
| 417 | } |
| 418 | |
| 419 | func IntersectGridIndexes(aStart, aEnd, bStart, bEnd int64) (int64, int64, bool) { |
| 420 | start := max(aStart, bStart) |
| 421 | end := aEnd |
| 422 | |
| 423 | if bEnd > 0 && (end == 0 || bEnd < end) { |
| 424 | end = bEnd |
| 425 | } |
| 426 | |
| 427 | return start, end, end > start |
| 428 | } |
| 429 | |
| 430 | func conditionArity(conditionType string) (int, int, bool) { |
| 431 | switch conditionType { |
no outgoing calls
no test coverage detected