Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 79 of 79 for ByteArrayInputStream (2.9 sec)

  1. platforms/core-runtime/io/src/main/java/org/gradle/internal/io/StreamByteBuffer.java

    import java.util.LinkedList;
    import java.util.List;
    
    
    /**
     * An in-memory buffer that provides OutputStream and InputStream interfaces.
     *
     * This is more efficient than using ByteArrayOutputStream/ByteArrayInputStream
     *
     * Reading the buffer will clear the buffer.
     * This is not thread-safe, it is intended to be used by a single Thread.
     */
    public class StreamByteBuffer {
        private static final int DEFAULT_CHUNK_SIZE = 4096;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/MessageTest.groovy

        }
    
        private Object transport(Object arg) {
            def outputStream = new ByteArrayOutputStream()
            Message.send(new TestPayloadMessage(payload: arg), outputStream)
    
            def inputStream = new ByteArrayInputStream(outputStream.toByteArray())
            def message = Message.receive(inputStream, dest)
            return message.payload
        }
    
        static class TestPayloadMessage implements Serializable {
            def payload
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client.http;
    
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.ConnectException;
    import java.net.MalformedURLException;
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 41K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     * uncompilable code).)
     */
    
    package com.google.common.util.concurrent;
    
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.security.CodeSource;
    import java.security.Permission;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     * uncompilable code).)
     */
    
    package com.google.common.util.concurrent;
    
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.security.CodeSource;
    import java.security.Permission;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            new ObjectOutputStream(outputStream).with {
                writeObject(value)
                flush()
            }
            return new ClassLoaderObjectInputStream(new ByteArrayInputStream(outputStream.toByteArray()), value.class.classLoader).readObject()
        }
    
        Class transformAndLoad(Class cl, Class... additional) {
            def jar = testDir.file("${cl.name}.jar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

     * under the License.
     */
    package org.apache.maven.project;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.charset.StandardCharsets;
    import java.nio.file.Path;
    import java.util.*;
    import java.util.concurrent.*;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 16:34:29 UTC 2024
    - 57.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/SetsTest.java

    import com.google.common.collect.testing.features.SetFeature;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.nio.ByteBuffer;
    import java.util.ArrayList;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 47.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SetsTest.java

    import com.google.common.collect.testing.features.SetFeature;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.nio.ByteBuffer;
    import java.util.ArrayList;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
Back to top