Searched refs:DISTANCE_MASK (Results 1 – 7 of 7) sorted by relevance
20 buf[i] += history[(distance + pos) & DISTANCE_MASK]; in decode()21 history[pos-- & DISTANCE_MASK] = buf[i]; in decode()
19 byte tmp = history[(distance + pos) & DISTANCE_MASK]; in encode()20 history[pos-- & DISTANCE_MASK] = in[in_off + i]; in encode()
15 static final int DISTANCE_MASK = DISTANCE_MAX - 1; field in DeltaCoder
34 return indexAndDistance & DISTANCE_MASK; in getShiftedDistance()43 return (indexAndDistance & DISTANCE_MASK) >> DISTANCE_SHIFT; in getDistanceFloor()82 static constexpr int32_t DISTANCE_MASK = 0x3ff; variable
45 private static final int DISTANCE_MASK = 0x3ff; field in LocaleDistance87 return indexAndDistance & DISTANCE_MASK; in getShiftedDistance()96 return (indexAndDistance & DISTANCE_MASK) >> DISTANCE_SHIFT; in getDistanceFloor()
47 private static final int DISTANCE_MASK = 0x3ff; field in LocaleDistance89 return indexAndDistance & DISTANCE_MASK; in getShiftedDistance()98 return (indexAndDistance & DISTANCE_MASK) >> DISTANCE_SHIFT; in getDistanceFloor()