Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,226 for deflated (0.13 sec)

  1. subprojects/core/src/test/groovy/org/gradle/internal/classpath/InPlaceClasspathBuilderTest.groovy

                it.put("dir/deflated.txt", "bytes".bytes, ClasspathEntryVisitor.Entry.CompressionMethod.DEFLATED)
            }
    
            then:
            def zip = new ZipTestFixture(file)
            zip.hasCompression("store.txt", ZipEntry.STORED)
            zip.hasCompression("undefined.txt", ZipEntry.DEFLATED)
            zip.hasCompression("dir/deflated.txt", ZipEntry.DEFLATED)
        }
    
        def "can construct a directory"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:05:09 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/impl/AbstractZipEntry.java

            switch (entry.getMethod()) {
                case java.util.zip.ZipEntry.STORED:
                    return ZipCompressionMethod.STORED;
                case java.util.zip.ZipEntry.DEFLATED:
                    return ZipCompressionMethod.DEFLATED;
                default:
                    return ZipCompressionMethod.OTHER;
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:00 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/classpath/ClasspathWalker.java

                switch (entry.getCompressionMethod()) {
                    case STORED:
                        return CompressionMethod.STORED;
                    case DEFLATED:
                        return CompressionMethod.DEFLATED;
                    default:
                        // Zip entries can be in many formats but JARs are unlikely to have them as JVM doesn't
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/ZipEntry.java

    public interface ZipEntry {
        /**
         * The compression method used for an entry
         */
        enum ZipCompressionMethod {
            /**
             * The entry is compressed with DEFLATE algorithm.
             */
            DEFLATED,
    
            /**
             * The entry is stored uncompressed.
             */
            STORED,
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:00 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/classpath/InPlaceClasspathBuilder.java

            private void configureCompression(ZipArchiveEntry entry, CompressionMethod compressionMethod, byte[] contents) {
                if (shouldCompress(compressionMethod)) {
                    entry.setMethod(ZipArchiveEntry.DEFLATED);
                } else {
                    entry.setMethod(ZipArchiveEntry.STORED);
                    // A stored ZipEntry requires setting size and CRC32 upfront.
                    // See https://stackoverflow.com/q/1206970.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:05:09 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            then:
            cachedClasspath.asFiles == [cachedFile]
            def zip = new ZipTestFixture(cachedFile)
            zip.hasCompression("a.class", ZipEntry.DEFLATED)
            zip.hasCompression("res.txt", ZipEntry.STORED)
        }
    
        def "uses non-file URL from origin"() {
            given:
            def file = testDir.file("thing.jar")
            jar(file)
    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. docs/changelogs/changelog_4x.md

        If you want this update with the old behavior use [this interceptor][legacy_interceptor].
    
     *  Fix: Don't crash decompressing web sockets messages. We had a bug where we assumed deflated
        bytes in would always yield deflated bytes out and this isn't always the case!
    
     *  Fix: Reliably update and invalidate the disk cache on windows. As originally designed our
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  8. src/compress/flate/deflate.go

    	// certain bytes in the input stream occur more frequently than others.
    	//
    	// Note that HuffmanOnly produces a compressed output that is
    	// RFC 1951 compliant. That is, any valid DEFLATE decompressor will
    	// continue to be able to decompress this output.
    	HuffmanOnly = -2
    )
    
    const (
    	logWindowSize = 15
    	windowSize    = 1 << logWindowSize
    	windowMask    = windowSize - 1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/artifacts/dsl/DependencyCollectorDslIntegrationTest.groovy

                [bundles]
                ${MYDEPS_BUNDLE} = ["org-example-foo", "com-example-baz"]
            """)
            file(BAR_TXT).text = "bar"
        }
    
        def "dependency declared using #expression shows up in related configuration"() {
            given:
            file(dsl.fileNameFor("build")).text = """
            ${setupDependencies()}
    
            dependencies {
                testingCollector(${expression})
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 16:23:38 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  10. pkg/kubelet/pleg/evented.go

    func (e *EventedPLEG) Healthy() (bool, error) {
    	// GenericPLEG is declared unhealthy when relisting time is more
    	// than the relistThreshold. In case EventedPLEG is turned on,
    	// relistingPeriod and relistingThreshold are adjusted to higher
    	// values. So the health check of Generic PLEG should check
    	// the adjusted values of relistingPeriod and relistingThreshold.
    
    	// EventedPLEG is declared unhealthy only if eventChannel is out of capacity.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 10:46:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top