Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 80 for ByteArrayInputStream (0.15 sec)

  1. android/guava-tests/test/com/google/common/io/TestReader.java

    import java.io.ByteArrayInputStream;
    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    
    /** @author Colin Decker */
    public class TestReader extends FilterReader {
    
      private final TestInputStream in;
    
      public TestReader(TestOption... options) throws IOException {
        this(new TestInputStream(new ByteArrayInputStream(new byte[10]), options));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/TestReader.java

    import java.io.ByteArrayInputStream;
    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    
    /** @author Colin Decker */
    public class TestReader extends FilterReader {
    
      private final TestInputStream in;
    
      public TestReader(TestOption... options) throws IOException {
        this(new TestInputStream(new ByteArrayInputStream(new byte[10]), options));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import com.google.common.collect.Lists;
    import java.io.ByteArrayInputStream;
    import java.io.FilterInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Collections;
    import java.util.List;
    
    /**
     * Test class for {@link MultiInputStream}.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/kerberos/KerberosRelevantAuthData.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.kerberos;
    
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.Enumeration;
    import java.util.List;
    import java.util.Map;
    
    import javax.security.auth.kerberos.KerberosKey;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/SerializeUtil.java

         * @return 復元したオブジェクト
         */
        public static Object fromBinaryToObject(final byte[] bytes) {
            assertArgumentNotEmpty("bytes", bytes);
    
            try {
                final ByteArrayInputStream bais = new ByteArrayInputStream(bytes);
                final ObjectInputStream ois = new ObjectInputStream(bais);
                try {
                    return ois.readObject();
                } finally {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import com.google.common.collect.Lists;
    import java.io.ByteArrayInputStream;
    import java.io.FilterInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Collections;
    import java.util.List;
    
    /**
     * Test class for {@link MultiInputStream}.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.6K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

            final Map<String, String> params = new HashMap<String, String>();
            //final ExtractData text = extractor.getText(new ByteArrayInputStream(FileUtils.readFileToByteArray(new File(filePath))), params);
            final ExtractData text = extractor.getText(new ByteArrayInputStream(testStr.getBytes()), params);
            assertEquals(content, text.getContent());
        }
    
        // TODO other tests
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/TestByteSource.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.collect.ImmutableSet;
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    
    /**
     * A byte source for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/TestByteSource.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.collect.ImmutableSet;
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    
    /**
     * A byte source for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 15 13:47:32 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.legacy;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.nio.charset.StandardCharsets;
    import java.util.HashMap;
    import java.util.Map;
    
    import org.apache.maven.wagon.ConnectionException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top