truncate the file . concode_field_sep FreeSpaceBitSet freeSpace concode_elem_sep String fileName concode_elem_sep FileLock fileLock concode_elem_sep long writeBytes concode_elem_sep FileChannel file concode_elem_sep long fileSize concode_elem_sep FileChannel encryptedFile concode_elem_sep long readBytes concode_elem_sep long writeCount concode_elem_sep boolean readOnly concode_elem_sep long readCount concode_field_sep long getReadCount concode_elem_sep long getWriteBytes concode_elem_sep long getReadBytes concode_elem_sep void clear concode_elem_sep void sync concode_elem_sep FileChannel getFile concode_elem_sep long getWriteCount concode_elem_sep long getFirstFree concode_elem_sep boolean isReadOnly concode_elem_sep long size concode_elem_sep long allocate concode_elem_sep ByteBuffer readFully concode_elem_sep String toString concode_elem_sep int getDefaultRetentionTime concode_elem_sep void markUsed concode_elem_sep FileChannel getEncryptedFile concode_elem_sep void free concode_elem_sep void close concode_elem_sep int getFillRate concode_elem_sep void writeFully concode_elem_sep void open
void function ( long arg0 ) { try { writeCount ++ ; file . truncate ( arg0 ) ; fileSize = Math . min ( fileSize , arg0 ) ; } catch ( IOException loc0 ) { throw DataUtils . newIllegalStateException ( DataUtils . ERROR_WRITING_FAILED , "srini_string" , fileName , arg0 , loc0 ) ; } }