Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 176 for ByteArrayInputStream (1.95 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/idea/model/ProjectTest.groovy

            project.jdk == other.jdk
        }
    
        private InputStream getToXmlReader() {
            ByteArrayOutputStream toXmlText = new ByteArrayOutputStream()
            project.store(toXmlText)
            return new ByteArrayInputStream(toXmlText.toByteArray())
        }
    
        private InputStream getCustomProjectReader() {
            return getClass().getResourceAsStream('customProject.xml')
        }
    
        private Path path(String url) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedImplementationIntegrationTest.groovy

                                }
                                try {
                                    byte[] bytes = Base64.decodeBase64(value);
                                    reader.readFrom(new ByteArrayInputStream(bytes));
                                    return true;
                                } catch (IOException ex) {
                                    throw new RuntimeException(ex);
                                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 20 12:09:58 UTC 2022
    - 6.6K bytes
    - Viewed (0)
Back to top