Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for zipStream (0.2 sec)

  1. testing/soak/src/integTest/groovy/org/gradle/resolve/DependencyResolutionStressTest.groovy

                def zipStream = new ZipOutputStream(outputStream)
                zipStream.putNextEntry(new ZipEntry("a"))
                writeLongString(zipStream)
                zipStream.closeEntry()
                zipStream.putNextEntry(new ZipEntry("b"))
                writeLongString(zipStream)
                zipStream.closeEntry()
                zipStream.finish()
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

            def outStr = new FileOutputStream(compressedFile)
            try {
                outStr.write('BZ'.getBytes("us-ascii"))
                def zipStream = new CBZip2OutputStream(outStr)
                zipStream.bytes = file.bytes
                zipStream.close()
            } finally {
                outStr.close()
            }
        }
    
        void gzipTo(TestFile compressedFile) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest-generate_test.go

    	chartSource                 chartSourceType
    }
    
    func init() {
    	kubeClientFunc = func() (kube.CLIClient, error) {
    		return nil, nil
    	}
    }
    
    func extract(gzipStream io.Reader, destination string) error {
    	uncompressedStream, err := gzip.NewReader(gzipStream)
    	if err != nil {
    		return fmt.Errorf("create gzip reader: %v", err)
    	}
    
    	tarReader := tar.NewReader(uncompressedStream)
    
    	for {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 43.5K bytes
    - Viewed (0)
Back to top