get the length of a match at the given distance . concode_field_sep int MF_BT4 concode_elem_sep int keepSizeAfter concode_elem_sep int matchLenMax concode_elem_sep byte[] buf concode_elem_sep boolean finishing concode_elem_sep int niceLen concode_elem_sep int readLimit concode_elem_sep int writePos concode_elem_sep int readPos concode_elem_sep int keepSizeBefore concode_elem_sep int pendingSize concode_elem_sep int MF_HC4 concode_field_sep boolean verifyMatches concode_elem_sep void moveWindow concode_elem_sep int getByte concode_elem_sep int getByte concode_elem_sep int getBufSize concode_elem_sep boolean hasEnoughData concode_elem_sep void setPresetDict concode_elem_sep void skip concode_elem_sep boolean isStarted concode_elem_sep void setFinishing concode_elem_sep int getMemoryUsage concode_elem_sep void copyUncompressed concode_elem_sep int getAvail concode_elem_sep int fillWindow concode_elem_sep int getPos concode_elem_sep Matches getMatches concode_elem_sep void normalize concode_elem_sep void setFlushing concode_elem_sep LZEncoder getInstance concode_elem_sep int movePos
int function ( int arg0 , int arg1 ) { int loc0 = readPos - arg0 - 1 ; int loc1 = 0 ; while ( loc1 < arg1 && buf [ readPos + loc1 ] == buf [ loc0 + loc1 ] ) { ++ loc1 ; } return loc1 ; }