Searched refs:hayStart (Results 1 – 1 of 1) sorted by relevance
72 inline static bool isInRange(const T &hayStart, const U &haySize, const T &needle) { in isInRange() argument74 …return (T)(hayStart + haySize) >= hayStart && needle >= hayStart && (U)(needle - hayStart) < haySi… in isInRange()81 const T &hayStart, const U &haySize, const T &needleStart, const U &needleSize) { in isInRange() argument83 return isInRange(hayStart, haySize, needleStart) in isInRange()85 && (U)(needleStart + needleSize - hayStart) <= haySize; in isInRange()