Searched refs:chunkCount (Results 1 – 2 of 2) sorted by relevance
197 long chunkCount = divideRoundup(dataSize, CHUNK_SIZE); in calculateLevelOffset() local198 long size = CHUNK_SIZE * divideRoundup(chunkCount * digestSize, CHUNK_SIZE); in calculateLevelOffset()200 if (chunkCount * digestSize <= CHUNK_SIZE) { in calculateLevelOffset()203 dataSize = chunkCount * digestSize; in calculateLevelOffset()
482 int chunkCount = (int) chunkCountLong; in computeOneMbChunkContentDigests() local494 new byte[5 + chunkCount * digestOutputSizeBytes]; in computeOneMbChunkContentDigests()497 chunkCount, concatenationOfChunkCountAndChunkDigests, 1); in computeOneMbChunkContentDigests()576 int chunkCount = (int) chunkCountLong; in computeOneMbChunkContentDigests() local580 chunkDigestsList.add(new ChunkDigests(algorithms, chunkCount)); in computeOneMbChunkContentDigests()600 private ChunkDigests(ContentDigestAlgorithm algorithm, int chunkCount) { in ChunkDigests() argument603 concatOfDigestsOfChunks = new byte[1 + 4 + chunkCount * digestOutputSize]; in ChunkDigests()608 setUnsignedInt32LittleEndian(chunkCount, concatOfDigestsOfChunks, 1); in ChunkDigests()701 long chunkCount = getChunkCount(dataSources[i].size(), in ChunkSupplier() local703 if (chunkCount > Integer.MAX_VALUE) { in ChunkSupplier()[all …]