- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 203 for ByteArrayInputStream (0.27 sec)
-
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
import com.google.common.collect.TreeMultiset; import com.google.common.primitives.UnsignedInteger; import com.google.common.primitives.UnsignedLong; import com.google.common.reflect.TypeToken; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.InputStream; import java.io.OutputStream; import java.io.Reader; import java.io.StringReader; import java.io.StringWriter;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 17.2K bytes - Viewed (0) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/ClasspathTest.groovy
return projectDependency } private InputStream getToXmlReader() { ByteArrayOutputStream toXmlText = new ByteArrayOutputStream() classpath.store(toXmlText) return new ByteArrayInputStream(toXmlText.toByteArray()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Mar 24 15:55:52 UTC 2024 - 7.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/ModelBuilder.java
* * try { * ModelBuilder<GradleProject> builder = connection.model(GradleProject.class); * * //configure the standard input in case your build is interactive: * builder.setStandardInput(new ByteArrayInputStream("consume this!".getBytes())); * * //if you want to listen to the progress events: * ProgressListener listener = null; // use your implementation * builder.addProgressListener(listener); *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/BuildLauncher.java
* * //include some build arguments: * build.withArguments("-i", "--project-dir", "some-project-dir"); * * //configure the standard input: * build.setStandardInput(new ByteArrayInputStream("consume this!".getBytes())); * * //in case you want the build to use java different than default: * build.setJavaHome(new File("/path/to/java")); * * //if your build needs crazy amounts of memory:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 6.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
} // io types @Generates File generateFile() { return new File(generateString()); } @Generates static ByteArrayInputStream generateByteArrayInputStream() { return new ByteArrayInputStream(new byte[0]); } @Generates static InputStream generateInputStream() { return generateByteArrayInputStream(); } @Generates
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 28K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
import com.google.common.collect.TreeMultiset; import com.google.common.primitives.UnsignedInteger; import com.google.common.primitives.UnsignedLong; import com.google.common.reflect.TypeToken; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.InputStream; import java.io.OutputStream; import java.io.Reader; import java.io.StringReader; import java.io.StringWriter;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 18.4K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingResourceHasherTest.groovy
return file.bytes } @Override <T> T withInputStream(IoFunction<InputStream, T> action) throws IOException { action.apply(new ByteArrayInputStream(file.bytes)) } @Override int size() { return file.bytes.length } @Override boolean canReopen() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
*/ package org.codelibs.fess.app.web.admin.backup; import static org.codelibs.core.stream.StreamUtil.stream; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream;
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 25.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
} // io types @Generates File generateFile() { return new File(generateString()); } @Generates static ByteArrayInputStream generateByteArrayInputStream() { return new ByteArrayInputStream(new byte[0]); } @Generates static InputStream generateInputStream() { return generateByteArrayInputStream(); } @Generates
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 28.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/util/internal/DisconnectableInputStreamTest.groovy
assertTrue(nread > 0) remaining -= nread } assertThat(new String(buffer), equalTo(expected)) } def stream(String text) { return new ByteArrayInputStream(text.bytes) } def stream() { return new ActionInputStream() } } class ActionInputStream extends InputStream {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 07 08:18:46 UTC 2021 - 8.5K bytes - Viewed (0)