Searched refs:maxCommentSize (Results 1 – 1 of 1) sorted by relevance
156 DataSource zip, int maxCommentSize) throws IOException { in findZipEndOfCentralDirectoryRecord() argument167 if ((maxCommentSize < 0) || (maxCommentSize > UINT16_MAX_VALUE)) { in findZipEndOfCentralDirectoryRecord()168 throw new IllegalArgumentException("maxCommentSize: " + maxCommentSize); in findZipEndOfCentralDirectoryRecord()177 maxCommentSize = (int) Math.min(maxCommentSize, fileSize - ZIP_EOCD_REC_MIN_SIZE); in findZipEndOfCentralDirectoryRecord()179 int maxEocdSize = ZIP_EOCD_REC_MIN_SIZE + maxCommentSize; in findZipEndOfCentralDirectoryRecord()