- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 80 for ByteArrayInputStream (0.22 sec)
-
guava-tests/test/com/google/common/io/ByteSinkTest.java
ByteArrayInputStream in = new ByteArrayInputStream(bytes); sink.writeFrom(in); assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed()); assertArrayEquals(bytes, sink.getBytes()); } public void testWriteFromStream_doesNotCloseThatStream() throws IOException { TestInputStream in = new TestInputStream(new ByteArrayInputStream(new byte[10])); assertFalse(in.closed());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java
.stream(new ByteArrayInputStream("file1".getBytes()), 5, -1).contentType("application/octet-stream").build()); minioClient.putObject(PutObjectArgs.builder().bucket(bucketName).object("dir1/file2.txt") .stream(new ByteArrayInputStream("file2".getBytes()), 5, -1).contentType("application/octet-stream").build());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSinkTester.java
try { ByteStreams.copy(new ByteArrayInputStream(data), out); } finally { out.close(); } assertContainsExpectedBytes(); } public void testOpenBufferedStream() throws IOException { OutputStream out = sink.openBufferedStream(); try { ByteStreams.copy(new ByteArrayInputStream(data), out); } finally { out.close(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTester.java
try { ByteStreams.copy(new ByteArrayInputStream(data), out); } finally { out.close(); } assertContainsExpectedBytes(); } public void testOpenBufferedStream() throws IOException { OutputStream out = sink.openBufferedStream(); try { ByteStreams.copy(new ByteArrayInputStream(data), out); } finally { out.close(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.crawler.transformer.impl; import java.io.BufferedInputStream; import java.io.ByteArrayInputStream; import java.io.IOException; import org.apache.commons.io.IOUtils; import org.codelibs.fess.crawler.entity.AccessResultData; import org.codelibs.fess.crawler.entity.ResponseData;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.8K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/SerializationTest.java
try (ObjectOutputStream oos = new ObjectOutputStream(baos)) { oos.writeObject(build); } Build build2; ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); try (ObjectInputStream ois = new ObjectInputStream(bais)) { build2 = (Build) ois.readObject(); } assertNotNull(build2); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentCache.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.curl.io; import java.io.ByteArrayInputStream; import java.io.Closeable; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.util.logging.Logger;
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 1.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/Platform.java
package com.google.common.testing; import static com.google.common.base.Preconditions.checkNotNull; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtCompatible; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 23 12:13:11 UTC 2023 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.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.math.BigInteger; import java.util.Enumeration; import javax.security.auth.kerberos.KerberosKey; import org.bouncycastle.asn1.*; import jcifs.pac.ASN1Util;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 3.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java
} public void test_builder() { assertEquals("test", extractorFactory.builder(new ByteArrayInputStream("test".getBytes()), null).extract().getContent()); assertEquals("test", extractorFactory.builder(new ByteArrayInputStream("test".getBytes()), null).filename("test.txt").extract().getContent()); } public void test_addExtractor_weight() {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Tue Jun 18 05:49:13 UTC 2024 - 6.5K bytes - Viewed (0)