Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for outStream (0.14 sec)

  1. platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/GcsClientIntegrationTest.groovy

            object.getSize() == fileContents.length()
            object.getEtag() ==~ /\w{32}/
            ByteArrayOutputStream outStream = new ByteArrayOutputStream()
            IOUtils.copyLarge(gcsClient.getResourceStream(uri), outStream)
            outStream.toString() == fileContents
    
            when:
            server.stubListFile(temporaryFolder.testDirectory, bucketName)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/RepeatableInputStreamEntity.java

            return source.open();
        }
    
        @Override
        public void writeTo(OutputStream outstream) throws IOException {
            InputStream content = getContent();
            try {
                IOUtils.copyLarge(content, outstream);
            } finally {
                IoActions.closeQuietly(content);
            }
        }
    
        @Override
        public boolean isStreaming() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/S3ClientIntegrationTest.groovy

                object.metadata.getContentLength() == fileContents.length()
                object.metadata.getETag() ==~ /\w{32}/
                ByteArrayOutputStream outStream = new ByteArrayOutputStream()
                IOUtils.copyLarge(object.getObjectContent(), outStream);
                outStream.toString() == fileContents
            } as Action)
    
            when:
            server.stubListFile(temporaryFolder.testDirectory, bucketName)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  4. platforms/core-execution/build-cache-http/src/main/java/org/gradle/caching/http/internal/HttpBuildCacheService.java

                    throw new UnsupportedOperationException();
                }
    
                @Override
                public void writeTo(OutputStream outstream) throws IOException {
                    writer.writeTo(outstream);
                }
    
                @Override
                public boolean isStreaming() {
                    return false;
                }
            });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 14:13:12 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                }
            }
    
            try {
                final PrintStream originalOutStream = System.out;
                final ByteArrayOutputStream outStream = new ByteArrayOutputStream();
                System.setOut(new PrintStream(outStream, true));
                final PrintStream originalErrStream = System.err;
                final ByteArrayOutputStream errStream = new ByteArrayOutputStream();
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top