Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,268 for deflated (0.21 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. okhttp/src/main/kotlin/okhttp3/internal/ws/MessageDeflater.kt

      private val deflatedBytes = Buffer()
    
      private val deflater =
        Deflater(
          Deflater.DEFAULT_COMPRESSION,
          // nowrap (omits zlib header):
          true,
        )
    
      private val deflaterSink = DeflaterSink(deflatedBytes, deflater)
    
      /** Deflates [buffer] in place as described in RFC 7692 section 7.2.1. */
      @Throws(IOException::class)
      fun deflate(buffer: Buffer) {
        require(deflatedBytes.size == 0L)
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

     * Sec-WebSocket-Extensions: permessage-deflate; client_no_context_takeover
     * Sec-WebSocket-Extensions: permessage-deflate; server_max_window_bits="15"
     * Sec-WebSocket-Extensions: permessage-deflate; server_max_window_bits=15
     * Sec-WebSocket-Extensions: permessage-deflate; server_no_context_takeover
     * Sec-WebSocket-Extensions: permessage-deflate; server_no_context_takeover;
     *     client_no_context_takeover
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top