- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 177 for ByteArrayInputStream (0.46 sec)
-
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) -
android/guava-tests/test/com/google/common/io/ByteSourceTester.java
import com.google.common.base.Charsets; import com.google.common.base.Optional; import com.google.common.collect.ImmutableList; import com.google.common.hash.HashCode; import com.google.common.hash.Hashing; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.lang.reflect.Method; import java.util.Map.Entry; import java.util.Random;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 8.6K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/install/internal/SecureFileDownloaderTest.groovy
withContent(_ as Action<? super InputStream>) >> { Action<? super InputStream> readAction -> readAction.execute(new ByteArrayInputStream("foo".bytes)) doAfterRead() } } } } } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 28 16:17:59 UTC 2023 - 3.6K 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) -
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(""))
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 20.5K bytes - Viewed (0) -
android/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/software/resources/src/test/groovy/org/gradle/internal/resource/transfer/AccessorBackedExternalResourceTest.groovy
action.execute(new ByteArrayInputStream(content.bytes)) } } def expectResourceRead(ExternalResourceName name, ExternalResourceMetaData metaData, String content) { 1 * resourceAccessor.withContent(name, true, _) >> { uri, revalidate, action -> action.execute(new ByteArrayInputStream(content.bytes), metaData) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 11.2K bytes - Viewed (0)