- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for outStream (0.12 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DefaultZipCompressor.java
ZipArchiveOutputStream outStream = new ZipArchiveOutputStream(destination); try { outStream.setUseZip64(zip64Mode); outStream.setMethod(entryCompressionMethod); return outStream; } catch (Exception e) { IoActions.closeQuietly(outStream);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 19 09:01:56 UTC 2022 - 1.9K bytes - Viewed (0) -
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) -
pkg/kubelet/oom/oom_watcher_linux.go
func (ow *realWatcher) Start(ref *v1.ObjectReference) error { outStream := make(chan *oomparser.OomInstance, 10) go ow.oomStreamer.StreamOoms(outStream) go func() { defer runtime.HandleCrash() for event := range outStream { if event.VictimContainerName == recordEventContainerName { klog.V(1).InfoS("Got sys oom event", "event", event)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 23:17:05 UTC 2022 - 2.3K bytes - Viewed (0) -
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) -
pkg/kubelet/oom/oom_watcher_linux_test.go
"github.com/stretchr/testify/assert" ) type fakeStreamer struct { oomInstancesToStream []*oomparser.OomInstance } func (fs *fakeStreamer) StreamOoms(outStream chan<- *oomparser.OomInstance) { for _, oomInstance := range fs.oomInstancesToStream { outStream <- oomInstance } } // TestWatcherRecordsEventsForOomEvents ensures that our OomInstances coming // from `StreamOoms` are translated into events in our recorder.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 09 06:25:28 UTC 2020 - 5.1K bytes - Viewed (0) -
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) -
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) -
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)