- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 85 for ByteArrayInputStream (0.24 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/file/archive/TarFileTree.java
import org.gradle.internal.file.Chmod; import org.gradle.internal.hash.FileHasher; import org.gradle.internal.hash.HashCode; import org.gradle.util.internal.GFileUtils; import java.io.BufferedInputStream; import java.io.ByteArrayInputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.Objects; import java.util.concurrent.atomic.AtomicBoolean; import static java.lang.String.format;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:15:04 UTC 2024 - 9.8K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/testFixtures/groovy/org/gradle/internal/serialize/SerializerSpec.groovy
return fromBytes(bytes, serializer) } <T> T fromBytes(byte[] bytes, Serializer<T> serializer) { return serializer.read(getDecoder().newInstance(new ByteArrayInputStream(bytes))) } <T> byte[] toBytes(T value, Serializer<T> serializer) { def bytes = new ByteArrayOutputStream() def encoder = getEncoder().newInstance(bytes)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/HierarchicalNameSerializerTest.groovy
names.each { serializer.write(encoder, it) } } def bytes = out.toByteArray() def decoder = new KryoBackedDecoder(new ByteArrayInputStream(bytes)) def result = [] names.each { result << deserializer.read(decoder) } then: result == names
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.helper; import static org.codelibs.core.stream.StreamUtil.split; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.net.Proxy; import java.nio.file.Files; import java.nio.file.Path;
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 16.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/DomUtil.java
assertArgumentNotNull("contents", contents); if (encoding == null) { return new ByteArrayInputStream(contents.getBytes()); } try { return new ByteArrayInputStream(contents.getBytes(encoding)); } catch (final UnsupportedEncodingException ex) { throw new IORuntimeException(ex); } } /**
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.5K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/incremental/deps/ClassSetAnalysisDataSerializerTest.groovy
def e = new OutputStreamBackedEncoder(os) when: serializer.write(e, data) ClassSetAnalysisData read = serializer.read(new InputStreamBackedDecoder(new ByteArrayInputStream(os.toByteArray()))) then: read.dependents.keySet() == data.dependents.keySet() ["A", "B", "C"].each {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Feb 24 12:57:52 UTC 2024 - 2.9K bytes - Viewed (0) -
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(""))
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 21K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheUnsupportedTypesIntegrationTest.groovy
executorServiceTypeOnCurrentJvm() | Executor | "java.util.concurrent.Executors.newSingleThreadExecutor().tap { shutdown() }" ByteArrayInputStream | InputStream | "new java.io.ByteArrayInputStream([] as byte[])" ByteArrayOutputStream | OutputStream | "new java.io.ByteArrayOutputStream()"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 28.3K bytes - Viewed (0) -
guava/src/com/google/common/io/FileBackedOutputStream.java
import com.google.common.annotations.VisibleForTesting; import com.google.errorprone.annotations.concurrent.GuardedBy; import com.google.j2objc.annotations.J2ObjCIncompatible; 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; import java.io.OutputStream;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 8.2K bytes - Viewed (0) -
platforms/core-runtime/daemon-server/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonMain.java
import org.gradle.launcher.daemon.server.MasterExpirationStrategy; import org.gradle.launcher.daemon.server.expiry.DaemonExpirationStrategy; import org.gradle.process.internal.shutdown.ShutdownHooks; import java.io.ByteArrayInputStream; import java.io.EOFException; import java.io.File; import java.io.FileOutputStream; import java.io.PrintStream; import java.util.ArrayList; import java.util.List; /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 9.8K bytes - Viewed (0)