Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 92 for ByteArrayInputStream (0.34 seconds)

  1. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(Ticker.class, Ticker.systemTicker())
              .put(Stopwatch.class, Stopwatch.createUnstarted())
              // io types
              .put(InputStream.class, new ByteArrayInputStream(new byte[0]))
              .put(ByteArrayInputStream.class, new ByteArrayInputStream(new byte[0]))
              .put(Readable.class, new StringReader(""))
              .put(Reader.class, new StringReader(""))
              .put(StringReader.class, new StringReader(""))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link CountingInputStream}.
     *
     * @author Chris Nokleberg
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/pac/PacSignature.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.pac;
    
    import java.io.ByteArrayInputStream;
    import java.io.DataInputStream;
    import java.io.IOException;
    
    /**
     * Represents a PAC signature structure containing checksum type and data.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

        /**
         * Decompresses LZ77+Huffman data.
         */
        private byte[] decompressLZ77Huffman(byte[] compressedData, int offset, int length) throws CIFSException {
            try {
                ByteArrayInputStream bais = new ByteArrayInputStream(compressedData, offset, length);
                InflaterInputStream inflaterStream = new InflaterInputStream(bais);
    
                ByteArrayOutputStream baos = new ByteArrayOutputStream();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/JobProcessTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import static org.junit.jupiter.api.Assertions.assertNotSame;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.function.Consumer;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/io/CopyUtilTest.java

     */
    package org.codelibs.core.io;
    
    import static org.codelibs.core.io.CopyUtil.copy;
    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertThat;
    
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.InputStream;
    import java.io.Reader;
    import java.io.StringReader;
    import java.io.StringWriter;
    import java.net.URL;
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/pac/PacDataInputStreamTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.math.BigInteger;
    import java.util.Date;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.SmbConstants;
    import jcifs.smb.SID;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/curl/CurlRequest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.curl;
    
    import java.io.BufferedInputStream;
    import java.io.BufferedWriter;
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.OutputStreamWriter;
    import java.io.UnsupportedEncodingException;
    import java.net.HttpURLConnection;
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cli.props;
    
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.io.StringReader;
    import java.io.StringWriter;
    import java.util.List;
    import java.util.Map;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 09 14:29:03 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.serializer;
    
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.math.BigDecimal;
    import java.math.BigInteger;
    import java.sql.Timestamp;
    import java.util.ArrayList;
    import java.util.Arrays;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:54:09 GMT 2026
    - 10.5K bytes
    - Click Count (3)
Back to Top