<commit_before>package com.parc.ccn.library.io;

import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.sql.Timestamp;
import java.util.Arrays;

import javax.crypto.Cipher;
import javax.xml.stream.XMLStreamException;

import com.parc.ccn.Library;
import com.parc.ccn.data.ContentName;
import com.parc.ccn.data.ContentObject;
import com.parc.ccn.data.security.PublisherPublicKeyDigest;
import com.parc.ccn.data.security.SignedInfo.ContentType;
import com.parc.ccn.data.util.DataUtils;
import com.parc.ccn.library.CCNLibrary;
import com.parc.ccn.library.profiles.SegmentationProfile;
import com.parc.ccn.library.profiles.VersioningProfile;
import com.parc.ccn.security.crypto.ContentKeys;
import com.parc.ccn.security.crypto.UnbufferedCipherInputStream;

public abstract class CCNAbstractInputStream extends InputStream {

	protected static final int MAX_TIMEOUT = 2000;

	protected CCNLibrary _library;

	protected ContentObject _currentBlock = null;
	protected ContentObject _goneBlock = null;
	protected InputStream _blockReadStream = null; // includes filters, etc.
	<commit_msg>Cranking up timeout to see if it will help...<commit_after>package com.parc.ccn.library.io;

import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.sql.Timestamp;
import java.util.Arrays;

import javax.crypto.Cipher;
import javax.xml.stream.XMLStreamException;

import com.parc.ccn.Library;
import com.parc.ccn.data.ContentName;
import com.parc.ccn.data.ContentObject;
import com.parc.ccn.data.security.PublisherPublicKeyDigest;
import com.parc.ccn.data.security.SignedInfo.ContentType;
import com.parc.ccn.data.util.DataUtils;
import com.parc.ccn.library.CCNLibrary;
import com.parc.ccn.library.profiles.SegmentationProfile;
import com.parc.ccn.library.profiles.VersioningProfile;
import com.parc.ccn.security.crypto.ContentKeys;
import com.parc.ccn.security.crypto.UnbufferedCipherInputStream;

public abstract class CCNAbstractInputStream extends InputStream {

	protected static final int MAX_TIMEOUT = 3000;

	protected CCNLibrary _library;

	protected ContentObject _currentBlock = null;
	protected ContentObject _goneBlock = null;
	protected InputStream _blockReadStream = null; // includes filters, etc.
	
{'fraction_non_alphanumeric': 0.09109149277688604, 'fraction_numerical': 0.0032102728731942215, 'mean_word_length': 6.163793103448276, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1562337', 'n_tokens_mistral': 786, 'n_tokens_neox': 765, 'n_words': 152}