segments[0] = new SplitFileInserterSegmentStorage(this, 0, persistent, dataBlocks, checkBlocks, crossCheckBlocks, keyLength, splitfileCryptoAlgorithm, splitfileCryptoKey, random, maxRetries, consecutiveRNFsCountAsSuccess, keysFetching); segments[segNo] = new SplitFileInserterSegmentStorage(this, segNo, persistent, data, check, crossCheckBlocks, keyLength, splitfileCryptoAlgorithm, splitfileCryptoKey, random, maxRetries, consecutiveRNFsCountAsSuccess, keysFetching);
long blocks = 0; for(int i=0;i<segmentCount;i++) { segments[i] = new SplitFileInserterSegmentStorage(this, dis, i, keyLength, splitfileCryptoAlgorithm, splitfileCryptoKey, random, maxRetries, consecutiveRNFsCountAsSuccess, keysFetching); underlyingOffsetDataSegments[i] = blocks * CHKBlock.DATA_LENGTH;