Searched refs:cis (Results 1 – 2 of 2) sorted by relevance
267 CheckedInputStream cis = null; in checksumCrc32() local270 cis = new CheckedInputStream( new FileInputStream(file), checkSummer); in checksumCrc32()272 while(cis.read(buf) >= 0) { in checksumCrc32()277 if (cis != null) { in checksumCrc32()279 cis.close(); in checksumCrc32()
112 CountingInputStream cis = null; in get() local114 cis = new CountingInputStream(new FileInputStream(file)); in get()115 CacheHeader.readHeader(cis); // eat header in get()116 byte[] data = streamToBytes(cis, (int) (file.length() - cis.bytesRead)); in get()123 if (cis != null) { in get()125 cis.close(); in get()