Searched refs:PositiveRemainder (Results 1 – 1 of 1) sorted by relevance
273 inline int32_t PositiveRemainder(int32_t dividend, int32_t divisor) { in PositiveRemainder() function281 : PositiveRemainder(std::min(std::max(index, -dim), dim), dim)) in ClampedIndex()284 : PositiveRemainder(std::min(std::max(index, -dim), dim - 1), dim)); in ClampedIndex()