Searched refs:cis (Results 1 – 2 of 2) sorted by relevance
114 CountingInputStream cis = null; in get() local116 cis = new CountingInputStream(new FileInputStream(file)); in get()117 CacheHeader.readHeader(cis); // eat header in get()118 byte[] data = streamToBytes(cis, (int) (file.length() - cis.bytesRead)); in get()125 if (cis != null) { in get()127 cis.close(); in get()
313 CheckedInputStream cis = null; in checksumCrc32() local316 cis = new CheckedInputStream( new FileInputStream(file), checkSummer); in checksumCrc32()318 while(cis.read(buf) >= 0) { in checksumCrc32()323 if (cis != null) { in checksumCrc32()325 cis.close(); in checksumCrc32()