Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 68 for uncompressed (0.14 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/file/ArchiveOperations.java

        /**
         * Creates resource that points to a gzip compressed file at the given path.
         * The path is evaluated as per {@link Project#file(Object)}.
         *
         * @param path The path evaluated as per {@link Project#file(Object)}.
         * @since 7.0
         */
        ReadableResource gzip(Object path);
    
        /**
         * Creates resource that points to a bzip2 compressed file at the given path.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. platforms/software/resources/src/main/java/org/gradle/internal/resource/ResourceLocation.java

         * Note that the file returned by this method may not necessarily have the same contents as the resource. For example, the file may be compressed,
         * contain text encoded with a different encoding or represent a directory.
         *
         * @return A file location this resource. Returns null if this resource is not available as a file.
         */
        @Nullable
    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. src/compress/lzw/writer.go

    	// lower 12 bits of a valid entry must be a non-literal code.
    	invalidEntry = 0
    )
    
    // Writer is an LZW compressor. It writes the compressed form of the data
    // to an underlying writer (see [NewWriter]).
    type Writer struct {
    	// w is the writer that compressed bytes are written to.
    	w writer
    	// litWidth is the width in bits of literal codes.
    	litWidth uint
    	// order, write, bits, nBits and width are the state for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ArchivesContinuousIntegrationTest.groovy

            when:
            sourceDir.file("newdir").createDir()
    
            then:
            buildTriggeredAndSucceeded()
            executedAndNotSkipped(":zip")
        }
    
        def "using compressed files as inputs - #type #packType #source - readonly #readonly"() {
            given:
            def packDir = file("pack").createDir()
            def outputDir = file("unpack")
            def sourceFile = file(source)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. src/crypto/rand/rand_test.go

    	if n != len(b) || err != nil {
    		t.Fatalf("ReadFull(buf) = %d, %s", n, err)
    	}
    
    	var z bytes.Buffer
    	f, _ := flate.NewWriter(&z, 5)
    	f.Write(b)
    	f.Close()
    	if z.Len() < len(b)*99/100 {
    		t.Fatalf("Compressed %d -> %d", len(b), z.Len())
    	}
    }
    
    func TestReadEmpty(t *testing.T) {
    	n, err := Reader.Read(make([]byte, 0))
    	if n != 0 || err != nil {
    		t.Fatalf("Read(make([]byte, 0)) = %d, %v", n, err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:02:21 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/file/archive/DecompressionCoordinator.java

     * limitations under the License.
     */
    
    package org.gradle.api.internal.file.archive;
    
    import java.io.Closeable;
    import java.io.File;
    
    /**
     * A coordinator that can be used to manage access to decompressed data extracted from archive files like zip and tars.
     *
     * <p>
     * For a given build tree, only a single process is allowed write access to extract archives at a time.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. platforms/software/resources/src/main/java/org/gradle/internal/resource/LocalBinaryResource.java

        URI getURI();
    
        String getBaseName();
    
        /**
         * Returns the file containing this resource. Note that the content of this resource may not be the same as the file (for example, the file may be compressed, or this resource may represent an entry in an archive file, or both)
         */
        File getContainingFile();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

          contentType: MediaType?,
          file: File,
        ): RequestBody = file.asRequestBody(contentType)
    
        /**
         * Returns a gzip version of the RequestBody, with compressed payload.
         * This is not automatic as not all servers support gzip compressed requests.
         *
         * ```
         * val request = Request.Builder().url("...")
         *  .addHeader("Content-Encoding", "gzip")
         *  .post(uncompressedBody.gzip())
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/TarCopyActionSpec.groovy

            tarAndUntarAndCheckFileContents(tarFile)
        }
    
        def "creates gzip compressed tar file"() {
            expect:
            final TestFile tarFile = initializeTarFile(temporaryFolder.testDirectory.file("test.tgz"), GzipArchiver.getCompressor())
            tarAndUntarAndCheckFileContents(tarFile)
        }
    
        def "creates bzip compressed tar file"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 22 14:26:33 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  10. src/internal/zstd/huff.go

    	if off >= len(data) {
    		return 0, 0, r.makeEOFError(off)
    	}
    
    	hdr := data[off]
    	off++
    
    	var weights [256]uint8
    	var count int
    	if hdr < 128 {
    		// The table is compressed using an FSE. RFC 4.2.1.2.
    		if len(r.fseScratch) < 1<<6 {
    			r.fseScratch = make([]fseEntry, 1<<6)
    		}
    		fseBits, noff, err := r.readFSE(data, off, 255, 6, r.fseScratch)
    		if err != nil {
    			return 0, 0, err
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:13 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top